-
Notifications
You must be signed in to change notification settings - Fork 296
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
Fix DNB enhancement compositors #254
Conversation
1 similar comment
(-20037508.34, -10018754.17, 20037508.34, 10018754.17)) | ||
|
||
comp = ERFDNB('dynamic_dnb', prerequisites=('dnb',), | ||
standard_name='toa_outgoing_radiance_per_' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E127 continuation line over-indented for visual indent
Codecov Report
@@ Coverage Diff @@
## develop #254 +/- ##
===========================================
+ Coverage 61.24% 63.89% +2.65%
===========================================
Files 111 112 +1
Lines 13711 13858 +147
===========================================
+ Hits 8397 8855 +458
+ Misses 5314 5003 -311
Continue to review full report at Codecov.
|
Convert VIIRS DNB compositors to work with xarray and dask. This PR takes the easy road for some of them by running
delayed(func)
thenda.from_delayed
. These algorithms/enhancements aren't vectorized so they aren't simple to completely dask-ify. They also involve histogram calculations which make dask-ifying not super useful unless done really really well.Note the VIIRS true color (or anything using the ratio sharpening from the viirs_sdr reader) fails currently due to a bug in XArray or what I consider a bug (pydata/xarray#2060). My
viirs_sdr
reader assigns a "coordinates" attribute to the datasets with either[m_longitude, m_latitude]
or[i_longitude, i_latitude]
. Due to the bug this raises an exception when datasets are concatenated together.git diff origin/develop **/*py | flake8 --diff