WorldWideTelescope / toasty

Break large images into "tile pyramids", with a focus on the all-sky TOAST format.
https://toasty.readthedocs.io/
MIT License
0 stars 4 forks source link

Generate proper tiled FITS datasets #52

Closed pkgw closed 3 years ago

pkgw commented 3 years ago

Combined with the fixes in wwt_data_formats, I think this gets us generating tiled FITS datasets that render properly if you're using WorldWideTelescope/wwt-webgl-engine#115! Here we have both a "multi-TAN" implementation, for datasets where you have many files on a shared TAN projection, and "multi-WCS" where you have images that are on arbitrary projections — we solve for an optimal TAN projection that combines them all, and reproject the individual files.

codecov[bot] commented 3 years ago

Codecov Report

Merging #52 (b391922) into master (c857105) will decrease coverage by 0.67%. The diff coverage is 65.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
- Coverage   74.17%   73.49%   -0.68%     
==========================================
  Files          20       21       +1     
  Lines        2470     2630     +160     
==========================================
+ Hits         1832     1933     +101     
- Misses        638      697      +59     
Impacted Files Coverage Δ
toasty/multi_wcs.py 0.00% <0.00%> (ø)
toasty/pipeline/djangoplicity.py 0.00% <0.00%> (ø)
toasty/collection.py 53.65% <53.65%> (ø)
toasty/image.py 73.83% <66.66%> (+0.17%) :arrow_up:
toasty/multi_tan.py 78.52% <78.10%> (-14.19%) :arrow_down:
toasty/merge.py 94.40% <80.00%> (-1.40%) :arrow_down:
toasty/pyramid.py 92.25% <82.35%> (+7.21%) :arrow_up:
toasty/builder.py 88.80% <94.44%> (+1.62%) :arrow_up:
toasty/cli.py 89.52% <100.00%> (+0.20%) :arrow_up:
toasty/pipeline/astropix.py 81.66% <100.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c857105...b391922. Read the comment docs.

pkgw commented 3 years ago

The coverage hit here is basically due to the Rubin Observatory data-loader, which requires ccdproc, which has a ton of dependencies, as well as requiring some very specific data files to test properly. So I'm going to ignore that issue and get the code in!