Project

General

Profile

Char variables

Added by Maarten Braakhekke about 7 years ago

Hi,

does CDO work with char variables? I merged several NetCDF files using cdo mergegrid. These files included also a char variable with some description, which did not end up in the merged file. When I try to copy it explicitly with cdo selvar or select,name=... CDO tells me that the variable is not found.

Thanks,
Maarten


Replies (1)

RE: Char variables - Added by Uwe Schulzweida about 7 years ago

Hi Maarten,

char variables are not supported, because ASCII strings doesn't make much sense in CDO.
You can use the data type byte or unsigned byte(netCDF4) for 8bit signed and unsigned integer variables.

Cheers,
Uwe

    (1-1/1)