-
Notifications
You must be signed in to change notification settings - Fork 6
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
ERA5 data inputs #3
Comments
Happy to implement this. I guess for temperature we'll need to implement the option of picking |
That's right. Note that for era5 data, they have flipped the order of latitude, and the longitude goes from -180 to 180. I don't think it affects your implementation, but something to worry about when we compare between data sets. |
@chunhsusu - One more question. Do you want to calculate indices for the entire globe using the ERA5 data or just the Australian region? (If the latter I can add spatial subsetting functionality.) |
@DamienIrving For efficiency, yes I think the functionality should be added. Our evaluation work will only be over the Australian region. |
Subsetting option added: e9a6985 |
Hi @DamienIrving, thanks for implementing this, I have some questions.
|
Hi @ngben , On tp v mtpr. We are using the mtpr data archive in How is "tp" defined? rt52 does not seem to have it. |
Hi @chunhsusu
tp is defined as total precipitation (https://apps.ecmwf.int/codes/grib/param-db/?id=228) I guess if using mtpr the time_agg in run_icclim.py would be "mean"? I downloaded hourly tp last year, I'm not sure why rt52 doesn't have it |
|
Thanks @DamienIrving
Also I'm not sure if it's an issue but ERA5 is in short data format which can cause problems when concatenating as the offsets and scale factors may be different between files. For cdo this requires the use of |
A quick glance through the ECMWF ERA5 wiki suggests that I think |
I've added a In terms of different scale and offset factors for different files, I'm pretty sure the |
Thanks Damien! For
|
@ngben @DamienIrving thank you for raising this. I have been using mtpr and 2t in the icclim calculation. It appears that I should use mx2t and mn2t instead. I can re-run icclim on ERA5, i.e., TX based (TN-based) indicators with mx2t (mn2t) and with --hshift. And precip indicator with mtpr with --hshift. Please advise if that sounds correct? |
Perhaps it might be best to use 2t for tx/tn? ERA5 documentation states:
I think --hshift should be used for mtpr |
Thank you Ben, I will follow this. |
Request implementation to allow use with ERA5 data in rt52:
/g/data/rt52/era5/single-levels/reanalysis/2t/$year/2t_*.nc
(variable name ist2m
in units of K)/g/data/rt52/era5/single-levels/reanalysis/mtpr/$year/mtpr_*.nc
(variable name ismtpr
in kg m**-2 s**-1units of )I assume icclim does not handle hourly dat, so an additional argument can be passed to run_icclim.py, which tells xr.dataarray how to preprocess the hourly data first such as resample('1D').mean() etc.
The text was updated successfully, but these errors were encountered: