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

Add map_partitions function to catalog #290

Merged
merged 4 commits into from
Apr 25, 2024
Merged

Conversation

smcguire-cmu
Copy link
Contributor

@smcguire-cmu smcguire-cmu commented Apr 24, 2024

Adds the map_partitions function to the catalog, wrapping the dask map_partitions call. Also includes the option to call the ufunc with the partition's HealpixPixel, and to work out the output meta by calling with an empty partition. Closes #283

Copy link

github-actions bot commented Apr 24, 2024

Before [5653387] After [04aa1ad] Ratio Benchmark (Parameter)
33.6±0.5ms 34.5±1ms 1.03 benchmarks.time_kdtree_crossmatch
11.5±0.8ms 11.8±0.7ms 1.03 benchmarks.time_polygon_search
5.76±0.2ms 5.70±0.2ms 0.99 benchmarks.time_box_filter_on_partition
3.15±0.04s 3.12±0.01s 0.99 benchmarks.time_create_large_catalog
473±10ms 468±2ms 0.99 benchmarks.time_create_midsize_catalog

Click here to view all benchmarks.

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.97%. Comparing base (a6214f7) to head (f5a8624).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #290   +/-   ##
=======================================
  Coverage   98.97%   98.97%           
=======================================
  Files          41       41           
  Lines        1264     1274   +10     
=======================================
+ Hits         1251     1261   +10     
  Misses         13       13           

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

@smcguire-cmu smcguire-cmu merged commit 417a1f6 into main Apr 25, 2024
11 checks passed
@smcguire-cmu smcguire-cmu deleted the sean/map-partitions branch April 25, 2024 18:59
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.

Map_partitions functionality
2 participants