Thank you very much!
Your code was very useful for me too.
However, did you notice any change in the magnitude of the SSR values when comparing ERA-Interim and ERA5 for the same month? I am using ERA5 for an interannual simulation and my simulation is cooling down too much because of the smaller values of SSR in ERA5. I am wondering if this happened to someone else or if I downloaded something wrong when adapting your code. The other variables used for the blk files have the same magnitude in ERA5 and ERA-interim.
I noticed that you are downloading mean fluxes instead of the surface solar radiation as in the original ERA-interimrequest.py. Is there a reason for that?
Hi Caique, please, take a look into “ERA5_variables.json” file. There you will find the variable SSR (surface net solar radiation [J m-2]), are you using this one to build your bulk files?
Yes, I am using this one to build my bulk files. I searched for the variables that had the same name in the original ERAInterimrequest.py. However, I am having this problem with the magnitude of the SSR… Is there a reason you chose the mean fluxes variables? Maybe this can fix my problem too.
The SSR’s parameter ID (“176.128”) is the same between my code and of “ERA-Interim_request.py”, so the variables should be the same. A good test for you would be to download a little example file of SSR from ERA5 at the CDS website and then compare it with the downloaded using the ERA-Interim code.
I am asking about the mean fluxes because your code is written to download these variables: ‘meets’,‘mntss’,‘msnswrf’,‘msnlwrf’,‘msshf’,‘mslhf’,‘mer’,‘mtpr’. Looking at the json file these are the mean fluxes. Because of that, I was wondering if the SSR was really the correct variable to download.
And, please, let me know how result your test comparing ERA-Interim vs ERA5. I would like to know if my code introduce any difference between these datasets.
Hi! The variables are correct. Apparently, the problem is with the conversion of J/m² to W/m² when using ERA5. The reanalysis I am using uses an accumulation time of 1h while ERA-Interim uses an accumulation time of 1 day. I am still working on correcting the conversions on the reformat_ECMWF.m file
Hi Cristian, you don’t need to create SSR from MSNSWRF variable. If you edit and add ‘ssr’ to the list of requested variables at beginning of the script, SSR will be downloaded too.
Hi Cristian, you don’t need to create SSR from MSNSWRF variable. If you edit and add ‘ssr’ to the list of requested variables at beginning of the script, SSR will be downloaded too.