-
Notifications
You must be signed in to change notification settings - Fork 31
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
revise tropomi modules for monetio updates #282
Conversation
as reviewed and suggested by Zach
replace calculation of model layer thickness, to use dzh directly
From what I can tell, the changes are fine for ensuring the TROPOMI NO2 capability works before the tutorial. I would suggest adding a scaling to the paired observations and model data like was done for MOPITT CO (eg. linked codeblock). An argument to specify ylabel_plot (ylabel_plot: '$10^{18} molec/cm^{2}$' ) then should go in the yaml file with the variable name under the obs label (see control_mopitt.yaml). The axes on the Taylor plot will actually be readable this way. MELODIES-MONET/melodies_monet/util/satellite_utilities.py Lines 107 to 112 in c9a1ec1
|
@mlirenzhenmayi , I would still go for keys(). This is already the solution in #284 , and .variables fails if it is DataFrame. |
@blychs for membership it's the same without |
If var in ds_or_df would work and is probably the best solution, I agree. Satellite is always ds, but that check is run for every case, including surface and aircraft, if I'm not wrong |
change if 'altitude' in pairdf Co-authored-by: Zachary Moon <[email protected]>
Thanks Maggie! Current tropomi modules can plot Taylor, although with messed units. But with the scaling applied, other plots like the map plot, box plot are messed up and need to be re-configured with units in the yaml file. I prefer to revise the Taylor plot module to make it more flexible to handle large units. |
Hi Meng and Maggie, I tried to do that in the plotting class and was not able to (for the TEMPO tool). I think that the problem is with the AxisArtist class from Matplotlib that the MONET uses, but I was not able to find an easy solution for that. Having the option for an offset as suggested by Maggie is a better solution than mine, we could add that to the plt_grp in the yaml (and not the observations) for Taylor (even better, we could have both an offset and the option for normalizing it). However, I'd say that we can merge TROPOMI for now and deal with that after the deadline. |
I hadn't noticed an issue with maps, but generally am not using the box plot tool and haven't been checking it in my tests. I agree with @blychs that we can deal with solutions for this later. |
Sounds good to me. - Meng |
Is this ready now? Should we merge it in? |
@mbruckner-work , I believe we still need you to approve the review? |
update drivers, tropomi no2 - wrfchem paring