-
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
Add in MM Reader Scripts for WRF-Chem, CMAQ, RRFS-CMAQ, and CESM-FV #52
Conversation
Oh I just realized I point to monetio in these scripts and I should update how this is done now that these scripts are in the monetio package. Let me fix this. This may be why these checks are failing. |
@rschwant the failure I saw was because you are trying to use something from monet. Is it possible to avoid that? I'm not sure but it looks like it is unused? |
Also would you be able to run the pre-commit hooks on your branch? (https://pre-commit.com/#quick-start) and fix the few things flake8 would like? I can do it if you are too busy. |
I don't think it will cause problems to leave them as absolute imports instead of relative |
I'm still working on this. I need to make some updates to the CESM reader. The plots don't look correct. Probably just some relabeling and converting the longitude from 0 to 360 to -180 to 180. I'll try to get this done tonight. |
I updated the CESM reader to be more similar in structure to the other readers, but it did not correct the contour plot problem. I realized that we need to set roll_dateline=True in the quick_contourf plot in plotting routines in MELODIES MONET to fix this. I can add this to the list of things to update, but it can be next week. |
@rschwant test failing because of and I can do if you are too busy |
I ran the pre-commit @zmoon , which is a very cool tool by the way. Does this exist in MELODIES MONET too? The other checks look like they are failing because I added a function from pyresample Can we not use pyresample in monetio? Can I call MONET in these scripts? This seemed to not be allowed either. I can also comment this line out for now, but eventually I want these reader scripts to put the model output in a consistent format including longitude on -180 to 180 instead of 0 to 360. |
Oh sorry just realized you emailed me the exact same thing. Yes I will update this. |
not yet, I have been meaning to ask you if you were interested! I can set it up for sure. |
Yes, definitely interested, but let's do it after we get a stable version working, so maybe later March early April. |
yeah, maybe we can address this later. Ideally |
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.
We're passing now and you have tested that these work, so let's merge this. I'll try to add some tests for these readers when we make them "official"
This updates adds the Melodies Monet Reader Scripts for WRF-Chem, CMAQ, and RRFS-CMAQ into monetio