cdo -selday is selecting data from the wrong day than I selected
Added by Layla Smith over 2 years ago
Dear CDO users,
I have a GRIB file containing 3-hourly total precipitation data (attached below). I want to select the 3-hourly data for a specified day (in this case for 12/29/2015) and store it in a new GRIB file.
I used the following cdo command to do it:
cdo -selday,20151229 fcst_phy2m.061_tprat.reg_tl319.2015120100_2015123121 fcst_phy2m_20151229
However, when I use grib_ls to look into the newly created GRIB file, I noticed it selected the final 3 hours of the previous day (20151228) and didn’t select the final 3-hours of the day I want (20151229).
Does anyone know why this might be happening? Or if there is an alternative to using cdo -selday? Thank you!
fcst_phy2m.061_tprat.reg_tl319.2015120100_2015123121 (96.9 MB) fcst_phy2m.061_tprat.reg_tl319.2015120100_2015123121 | |||
grib_ls.png (35.8 KB) grib_ls.png | An image of the messages produced from grib_ls |
Replies (1)
RE: cdo -selday is selecting data from the wrong day than I selected - Added by Karin Meier-Fleischer over 2 years ago
Please do not do cross-postings. See https://code.mpimet.mpg.de/issues/10869?issue_count=176&issue_position=1&next_issue_id=10850