-
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
Add tm5_constant_a and tm5_constant_b for tropomi_l2 #1128
Conversation
CC @tommyjasmin for opinions. |
Codecov Report
@@ Coverage Diff @@
## master #1128 +/- ##
=======================================
Coverage 89.53% 89.53%
=======================================
Files 200 200
Lines 29356 29356
=======================================
Hits 26284 26284
Misses 3072 3072 Continue to review full report at Codecov.
|
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
👉 View analysis in DeepCode’s Dashboard |
Hi all - @zxdawn Xin - can you explain the use of these constants and which products they are expected to be present in? In the current YAML, we reference them directly under the PRODUCT group:
This appears to be correct for NO2 data, which I presume you are working with. But with a very brief look, I do not see these constants in the CO sample data I have. I do see these constants in my SO sample data. However, for those files they are present in a support data subgroup:
So we can't assume these constants are always present in the top level PRODUCT group. |
@tommyjasmin Hi Tommy, Yes, I tested it for NO2 files. The constants are used to calculate the TM5 model pressure levels which are used in the NO2 retrieval, like this:
I will fix this and test all kinds of tropomi products soon. Thanks. |
@tommyjasmin I've tested the newest YAML and it works well for NO2, SO2, O3 and CO data. Because the satpy/satpy/readers/tropomi_l2.py Line 98 in 2ce07c0
So, is it OK to just keep these two variables in the YAML? @mraspaud @djhoese |
Because of different shape,
tm5_constant_a
andtm5_constant_b
are ignored by thetropomi_l2.py
reader.I added them in
tropomi_l2.yaml
now.