cdo distgrid (Abort): Gridsize must not change!
Added by Ingrid M 8 months ago
Hi,
I want to split my dataset to smaller grids using distgrid, but it shows an error of changing gridsize:
cdo distgrid,3,3 pr_hyras_1_2019_v5-0_de.nc hyras_ cdo distgrid (Abort): Gridsize must not change!
I manually checked the gridsize for each day in my dataset, and it is constant throughout time - the file is attached.
Also, I'm using cdo version 2.2.2, but I had no issues using this operator on other datasets.
Thanks in advance,
Ingrid
pr_hyras_1_2019_v5-0_de.nc (117 MB) pr_hyras_1_2019_v5-0_de.nc | Daily precip |
Replies (2)
RE: cdo distgrid (Abort): Gridsize must not change! - Added by Karin Meier-Fleischer 8 months ago
Hi Ingrid,
your data file contains two grids, a curvilinear and a generic grid. To use the distgrid operator choose a variable first.
cdo -distgrid,3,3 -selname,pr pr_hyras_1_2019_v5-0_de.nc hyras_
RE: cdo distgrid (Abort): Gridsize must not change! - Added by Ingrid M 8 months ago
Thank you so much, it works!