Select season operator not working for 500hPa
Added by Nathanael Harwood almost 6 years ago
Hi - this code has been working perfectly until using it on 500 hPa Geopotential ECMWF era-Interim data.
del29feb is used, then the following:
cdo -select,season=DJF,startdate=1981-12-01,enddate=2018-02-28 500hPa_14-15.nc temp.nc
cdo -timselmean,5 temp.nc temp_5day.nc
cdo -selmon,12,1,2 -settaxis,1981-12-03,00:00:00,5day temp_5day.nc 500hPa_5day.nc
I have tried various ways around it, like subsetting 1981-2018 as a first step but I get 5 day averages which unexpectedly stop at 1991 instead of 2018. All I want is 500hPa data averaged over 5 days for only the DJF season, then time axis set to e.g. '3rd Dec' rather than default '1-5 Dec' in final step.
Apologies if the file attached isn't enough - couldn't figure out a way to compress 500hPa dataset so I just subsetted a year or so from it. Let me know if I can offer something better.
Many thanks in advance, NH (CDO version 1.9.4)
500hPa_14-15.nc (52.8 MB) 500hPa_14-15.nc | 500hPa Subset |
Replies (1)
RE: Select season operator not working for 500hPa - Added by Nathanael Harwood almost 6 years ago
Also - my spatially averaged data continues to work fine in the above data. Is there a problem with spatial NetCDF data running through -select,season? I have tried it on 850hPa temperature data as well as the 500hPa Geopotential data.
Thanks, NH