Skip to content

Customized Interval Tree for both float and arbitrary precision usage #113

Closed

Description

@hongyuchen1030

The IntervalTree should be closed for both ends

  1. For float, we can directly use the intervaltree implemented by pandas, we can create an IntervalIndex from a list of intervals with associated face IDs by creating a DataFrame with two columns (one for the intervals and one for the face IDs) and then calling the set_index method with an IntervalIndex created from the intervals.

  2. For arbitrary precision, we need to implement our own tree using the gmpy2 library

Activity

  1. added
    new feature
    on Sep 1, 2022
  2. changed the title [-]Use Interval tree to store latlon bound[/-] [+]Customized Interval Tree for both `float` and arbitrary precision usage[/+] on May 27, 2023
  3. moved this to 🏗 In progress in UXarray Developmenton May 27, 2023
  4. linked a pull request that will close this issueMultiprecision latlonbox #330on May 29, 2023
  5. moved this from 🏗 In progress to ✅ Done in UXarray Developmenton Jun 24, 2023
  6. added this to the Core milestone on Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

new feature

Type

No type

Fields

Priority

None yet

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions