[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #OBD-887406]: ERROR Name contains illegal characters
- Subject: [netCDF #OBD-887406]: ERROR Name contains illegal characters
- Date: Tue, 05 Jul 2011 14:44:18 -0600
Hi,
> I am trying to convert byte array data into .nc file.
>
> One of the data field name in the original data format contains empty
> space (for example : 'W 1')
>
> NF_DEF_VAR doesn't seem to handle tthis and returns no varid.
>
> Is there any way for NF_DEF_VAR to handle this problem?
Yes, If you are using a more recent version of netCDF than version 3.6.3, then
blanks are permitted in variable names. For example, the current version 4.1.3
handles such names (as well as names that use Unicode characters).
If you don't want the netCDF-4 enhanced data model, you can build netCDF version
4.1.3 using the configure option "--disable-netcdf-4", and the resulting library
will only support the "classic" netCDF-3 data model and API, but will permit
more
characters in variable names.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: OBD-887406
Department: Support netCDF
Priority: Normal
Status: Closed