Project

General

Profile

Error while selecting years from a NETCDF file

Added by Divyam Garg 10 months ago

Hey,
I was trying to perform a simple CDO operation of selecting specific years from a NETCDF file using cdo but ran into an unexpected error. I am running this command on an HPC at my institute.

Command is as follows:
cdo selyear,2012/2014 uk_era5_dly_t2mtp_1km.nc uk_2012_2014.nc

ERROR message:
cdf_put_vara_double: name=t2m type=NC_DOUBLE minval=-32767.000000 maxval=14.979409

Error (cdf_put_vara_double): Disk quota exceeded

Error (cdf_close): Disk quota exceeded

How can I tackle this issue?


Replies (2)

RE: Error while selecting years from a NETCDF file - Added by Estanislao Gavilan 10 months ago

Hi,

Try to add the flag b f32.
cdo -b f32 -selyear,2012/2014 uk_era5_dly_t2mtp_1km.nc uk_2012_2014.nc

Also, I have just noticed about the disk quota. That could mean that you do not have space left. You could try to compress it then

cdo -b f32 -z zip_6 -f nc4 -selyear,2012/2014 uk_era5_dly_t2mtp_1km.nc uk_2012_2014.nc

Kind regards,

Estanislao

RE: Error while selecting years from a NETCDF file - Added by Divyam Garg 10 months ago

Yes, I checked it is due to no space on the HPC directory.

Thanks Estanislao.

    (1-2/2)