Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort _metadata by sky-ordering #168

Merged
merged 7 commits into from
Nov 21, 2023
Merged

Sort _metadata by sky-ordering #168

merged 7 commits into from
Nov 21, 2023

Conversation

delucchi-cmu
Copy link
Contributor

Change Description

Closes #163 .

Note that this uses a lot of silly extra helper methods. For some upcoming changes, I want a general argsort for a list of healpix pixels, so adding it through this PR and I'll use it in the future.

Copy link

github-actions bot commented Nov 20, 2023

Before [72dd5ba] After [7c62e98] Ratio Benchmark (Parameter)
642±9ms 648±7ms 1.01 benchmarks.Suite.time_pixel_tree_creation
116±0.6ms 117±0.7ms 1.01 benchmarks.time_test_alignment_even_sky
96.5±1ms 96.0±1ms 1 benchmarks.time_test_cone_filter_multiple_order

Click here to view all benchmarks.

@delucchi-cmu delucchi-cmu mentioned this pull request Nov 20, 2023
9 tasks
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (72dd5ba) 100.00% compared to head (5ab75c8) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #168   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           48        49    +1     
  Lines         1583      1631   +48     
=========================================
+ Hits          1583      1631   +48     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/hipscat/io/parquet_metadata.py Outdated Show resolved Hide resolved
src/hipscat/io/parquet_metadata.py Outdated Show resolved Hide resolved
src/hipscat/io/parquet_metadata.py Show resolved Hide resolved
src/hipscat/pixel_math/healpix_pixel_function.py Outdated Show resolved Hide resolved
src/hipscat/io/parquet_metadata.py Show resolved Hide resolved
@delucchi-cmu delucchi-cmu merged commit 5edcb74 into main Nov 21, 2023
10 checks passed
@delucchi-cmu delucchi-cmu deleted the issue/163/sorting branch November 21, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort _metadata by _hipscat_index
2 participants