-
Notifications
You must be signed in to change notification settings - Fork 303
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 omps edr reader and hdf5_utils to handle OMPS SO2 data from FMI #1126
Update omps edr reader and hdf5_utils to handle OMPS SO2 data from FMI #1126
Conversation
👉 View analysis in DeepCode’s Dashboard |
This is related to #883 and #630 I think. @TAlonglong thanks for working on this. Any idea if this fixes things for these issues? |
Yes @djhoese both of them. One of them is mine. Forgot I issued that :-) |
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.
Thanks again for this. I had a small suggestion on the name of the lon/lat datasets. Could you also add a test to the tests for the HDF5 utils module?
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.
LGTM, just some consistency casing remarks
resolution: 50000 | ||
coordinates: [Longitude, Latitude] | ||
file_type: omps_sampo | ||
file_key: SCIENCE_DATA/CloudFraction |
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.
Also about consistency, should the dataset have same case and wording as the ones from the other files ?
Codecov Report
@@ Coverage Diff @@
## master #1126 +/- ##
==========================================
+ Coverage 89.52% 89.60% +0.08%
==========================================
Files 200 200
Lines 29379 29484 +105
==========================================
+ Hits 26301 26420 +119
+ Misses 3078 3064 -14
Continue to review full report at Codecov.
|
I have renamed the datsets to match with the other dataset and marked them with sampo to reflect the data source. for the test on the hdf5_utils it looks to me this is already covered. |
I'm good with the changes, looks good to me. One last thing: the reader seems to be missing from the index.rst documentation table, can you update it @TAlonglong ? |
OK. Updated. But I see that the data |
If you want to test the dimension list, it should ideally be a list of references. Actually in the files it looks like this: variable.attrs['DIMENSION_LIST'] = np.array([np.array([ref1]), np.array([ref2])]) |
OK, I tried with this: https://github.com/pytroll/satpy/pull/1126/files#diff-c736dc353b90f5ae010c5b8b42896df5R114 but the attribute I set here is not handled. So it never get into the |
I can try to have a look later |
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.
LGTM
Update OMPS edr reader and hdf5_utils to handle OMPS SO2 DATA from FMI SAMPO.
The OMPS SO2 data from FMI SAMPO in hdf5 format contains references that need special handling. This update does this.
Also added dataset names special to the data from FMI SAMPO
flake8 satpy