-
Notifications
You must be signed in to change notification settings - Fork 128
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
Diagnostic and cmorization for CMUG WP5.4 LST #2291
base: main
Are you sure you want to change the base?
Conversation
… to do to tidy time coord, and filenames
…ST. The 4 uncertanty components have day/night values with 00 or 12Z in the time stamp to distinguish. 18Z in time stamp means an all day average. This allows easy extraction and easier use of python in the cmorizer script.
… though, appears not to be able to find cmor tables
I thought it might be worth to copy some of my comments on #1945 here, so we can hopefully revive working on this pull request. I checked out ESMValCore branch https://github.com/ESMValGroup/ESMValCore/tree/ESACCI_LST_uncerts and There are, however, lots of "debug" messages such as "BOOO", "HELLOE!" or warning messages such as "Multiple coordinates for axis Y.". This might require another look. I also ran recipe_esacci_lst_uncerts.yml : esmvaltool run ./ESMValTool/esmvaltool/recipes/recipe_esacci_lst_uncerts.yml --config_file ./config-user.yml The ESMValTool preprocessor finishes successfully, but then the script lst_uncert/lst_uncert.py crashes with division by zero. |
cheers @axel-lauer 🍺 @morobking please don't include scary messages in your code 😆 Let me know if you need any help with this 👍 |
They spook me into fixing things :) Has something changed in how v1 to v2 uses the user config yml? |
@valeriupredoi Have you seen my question on the error? |
@morobking, this is due to ESMValGroup/ESMValCore#1300 where these settings were removed. A little bit more explanation can be found in ESMValGroup/ESMValCore#93. Basically, you have two options: Either you relocate those options to the recipe, or you remove them from the diagnostic. Most diagnostic developers remove them from the diagnostic, opting to always store both netcdf and image files. |
…MOR rank question answered to get CCI LST into plot
@axel-lauer Thanks for the email Axel. Finally for now, I'm getting this error in a seperate piece of work This is coming from trying to get ERA5-Land data to load in a diagnostic. I see only the pr variable has a cmor fix, so have written something to quickly cmorizse ts and ts. That all runs fine, including util.fix_coord on time latitude and longitude. But when the recipe runs I get that Value Error when it tries to extract a region in the preprocessor. |
After updating https://github.com/ESMValGroup/ESMValCore/tree/ESACCI_LST_uncerts with the latest
and
Both versions run successfully and produce the same plot: If I am not mistaken, I would think from the log file [log.txt] (https://github.com/ESMValGroup/ESMValTool/files/8511364/log.txt) that both ensemble members are read by the diagnostic. So maybe simply updating ESMValCore with the latest
@morobking Could you guide me to a recipe I could use for testing? I will have a look then. |
Thank you @axel-lauer On the multiple ensemble question:
When I do a print(loaded_data) I get Here there is only one entry for UKESM data but in the recipe The same output occurs for print(loaded_data) when I use the r(1:2)i1p1f2 syntax or other CMIP models in the recipe when defining the ts variable. My question is how to get the different ensemble members available in the python code of the diagnostic? I'll keep the other 2 questions seperate. |
Thanks for the additional explanation, I think now I get it. I believe the problem is in function |
@axel-lauer Thank you, that solves the first problem 👍 My second question is around the new tsDay and tsNight vatiables I have had to make from the CCI LST data. I do not get this for the other new CCI LST uncertainty variables, like tsLSErrDay etc... The third question concerns a different branch, so I'll start a conversation there about that soon. |
I think there are some possible reasons for this problem. Here is what I would do: ESMValTool:
ESMValCore:
I think the most important thing to check is 2), item 1) is probably rather a cosmetic problem. |
@axel-lauer Thank you - your point 2 is the answer! Not sure I would have found that, nor sure how I missed that when originally setting up the cmor tables. My third question is about a something on a different branch, I'll set up a draft PR there. |
…probably wont be exploited now. start at new total uncert calcualtion following chat with Lizzie
…n number of points as CMIP5 finishes earlier
… there is missing/masked data in the obs
Hello @axel-lauer I contact you because I found another dataset with the same error
The dataset for my case is Ghrsstostia-v2.0, launched with the recipe: Thank you very much in advance. Kind regards, Marga |
@MargaridaS I am sorry, but I cannot remember the details. I believe it was @valeriupredoi and @zklaus helping. Can one of you remember the problem with the coordinates? |
Hi @axel-lauer Thank you for your prompt answer. I changed longitudes to 0 to 360 but the same error appears. I see a bug was reported to iris some time ago: SciTools/iris#3907 . Could this be a type of variables error? Best regards, Marga |
Hi @axel-lauer Setting manually the first bound to zero and the last bound to 360 solved the issue. Best, |
… about remaining few. Still works as expected.
…ng messages. Code still runs fine
…ST_uncerts branch of ESMValCore. lst.py fails after loading data: print statements used to confirm what cubes are available. This failure is currently expected.
Description
This is a PR opened to streamline the process of integration of the CMUG WP5.4-LST data; work is done by @morobking and I have a mere technical support role here.
Also, @hb326 I knows you involved in the CMUG project, maybe you could have a bit of time help out/take a look/review this when ready? 🍺
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
New or updated recipe/diagnostic
New or updated data reformatting script
To help with the number of pull requests: