invalid day number using ERA5 #3135
-
Hi, I am using ERA5 as a reference dataset for the ClimWIP recipe. psl_STD: where Note that I have produced ERA5 daily from hourly data and modified the time:units accordingly (from hours to day) and shift the time by 30 min (but I do not think it was necessary..). So,in the preproc, psl_STD is cumputed form CMIP6 model, but then got stuck with ERA5 with something like this File "src/cftime/_cftime.pyx", line 1321, in cftime._cftime.datetime.replace So, I guess... I am not sure what is goinf, there is no February 29 in 1981 (and the of course in ERA5). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Dear @remi-kazeroni , @valeriupredoi, I am not sure if you have seen this, should I tag you whenI open a discussion? Something like this, but then the mip is day for the model and the 1hr for ERA5, can I specify it here? |
Beta Was this translation helpful? Give feedback.
-
Hi @DoMatte, thanks for your question. The subtlety here is that the on-the-fly CMORization of ERA5 variables is only supported for raw data, which are given with hourly and monthly frequencies. In these case, you can use the For daily ERA5 data, a CMORization needs to be done before running the recipe. Daily means can be generated from raw hourly data (stored in your Once the daily data are obtained, you need to move them to the directory containing your CMORized obs data ( |
Beta Was this translation helpful? Give feedback.
Hi @DoMatte, thanks for your question. The subtlety here is that the on-the-fly CMORization of ERA5 variables is only supported for raw data, which are given with hourly and monthly frequencies. In these case, you can use the
native6
project for the ERA5 entries in your recipe. See our doc here.For daily ERA5 data, a CMORization needs to be done before running the recipe. Daily means can be generated from raw hourly data (stored in your
RAWOBS
directory) by using the recipe cmorizers/recipe_daily_era5.yml in which you can select the variables that need to be CMORized. See documentation about the cmorization recipe and the handling of different input frequencies for ERA5 data. You will ob…