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
Update SCMI writer and VIIRS EDR Flood reader to work for pre-tiled data #1027
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1027 +/- ##
=========================================
- Coverage 87.37% 87.27% -0.1%
=========================================
Files 183 188 +5
Lines 28181 28739 +558
=========================================
+ Hits 24622 25081 +459
- Misses 3559 3658 +99
Continue to review full report at Codecov.
|
Useful for multi-day composites
I talked with @mraspaud on slack. Ok with this being merged given the important CI bug fixes and that the SCMI and VIIRS EDR Flood changes shouldn't effect other parts of Satpy. |
This is functionality needed by some folks at the SSEC as a proof of concept to get VIIRS EDR Flood data in to AWIPS. The files generated by their software is a composite of ABI and VIIRS data in to individual latlong tiles (15 degrees by 15 degrees each). These files and their naming scheme was not previously supported by the
viirs_edr_flood
reader. That is one of the features this PR adds.For the SCMI writer, while working with this new data I noticed that the SCMI writer was needlessly creating "extra" tiles. This was mostly floating point error where the writer was determining that we needed to "shift" the current grid of tiles over by ~1e-15 pixels. This ends up resulting in a 1 pixel shift that isn't needed. This was fixed in this PR.
The remaining TODO for this PR (at the time of writing) is to make it so generated tile files can be "updated" by additional executions. This is needed for the way the ABI/VIIRS composites are generated with 15x15 degree tiles. We need to process one tile, generate the AWIPS tiles, process the next input tile, and update any of the "missing" space in the previous generated tiles.
flake8 satpy