Project

General

Profile

ensemble functions not working on ECMWF local definition files

Added by Mikko Strahlendorff 5 days ago

Dear valued developers

The attached grib file has one variable swi2 with 51 ensemble members, but for example cdo infon -enspctl,90 file returns the value of each timestep (816) and not the percentile of the whole ensemble for each timestep. Maybe this is due to some timesteps having NaN values only, but I would hope it then calculates those days tha each time have values.

Thanks for your help!


Replies (2)

RE: ensemble functions not working on ECMWF local definition files - Added by Ralf Mueller 5 days ago

hi mikko!
the ensemble-related operators of CDO are made for ensembles, for which the individual members are provided by individual input files. you'd need to split the input along the id and try it again

cheers
ralf

RE: ensemble functions not working on ECMWF local definition files - Added by Uwe Schulzweida 5 days ago

Here an example of splitting the file into the 51 ensemble members:

cdo splitsel,16 ECXENS_20250621T000000_swi2-era5l-nd.grib ensembleMember_
cdo enspctl,90  ensembleMember_*.grb  result

    (1-2/2)