Help with chaining
Added by Brendan DeTracey 7 months ago
Hi,
I am having trouble with chaining. The following works:
cdo -O -a -f nc4 -z zip_9 -selname,mlotst -select,startdate=2015-01-01T00:00:00,enddate=2099-12-31T23:59:59 mlotst_Omon_ACCESS-CM2_ssp126_r1i1p1f1_gn_* tmp1.nc cdo -O -a -f nc4 -z zip_9 -div tmp1.nc mlotst_Omon_ACCESS-CM2_historical_1993-2014_clim_monthly.nc tmp2.ncbut I can't get it to work as one command.
cdo -O -a -f nc4 -z zip_9 -div [ -selname,mlotst -select,startdate=2015-01-01T00:00:00,enddate=2099-12-31T23:59:59 mlotst_Omon_ACCESS-CM2_ssp126_r1i1p1f1_gn_*.nc ] mlotst_Omon_ACCESS-CM2_historical_1993-2014_clim_monthly.nc tmp2.nc cdo (Abort): -div [ -selname,mlotst -select,startdate=2015-01-01T00:00:00,enddate=2099-12-31T23:59:59 mlotst_Omon_ACCESS-CM2_ssp126_r1i1p1f1_gn_201501-201512.nc mlotst_Omon_ACCESS-CM2_ssp126_r1i1p1f1_gn_201601-201612.nc ] mlotst_Omon_ACCESS-CM2_historical_1993-2014_clim_monthly.nc tmp2.nc ^ Unprocessed Inputs
cdo -O -a -f nc4 -z zip_9 -div -selname,mlotst [ -select,startdate=2015-01-01T00:00:00,enddate=2099-12-31T23:59:59 mlotst_Omon_ACCESS-CM2_ssp126_r1i1p1f1_gn_*.nc ] mlotst_Omon_ACCESS-CM2_historical_1993-2014_clim_monthly.nc tmp2.nc cdo(1) selname: Process started cdo(2) select: Process started cdo div: Filling up stream2 >mlotst_Omon_ACCESS-CM2_historical_1993-2014_clim_monthly.nc< by copying all timesteps. cdo div (Abort): infile2 cannot be a pipe in fill mode!
Replies (1)
RE: Help with chaining - Added by Uwe Schulzweida 7 months ago
Hi Brendan,
This problem is solved in CDO release 2.4.0.
Cheers,
Uwe