The CF Convention does not impose any restrictions on the character set used in 
variable and attribute names. I have been, for a long time, working on the 
assumption that there were restrictions inherited from NetCDF, but that is no 
longer the case. The [current 
NUG](https://www.unidata.ucar.edu/software/netcdf/docs/netcdf_data_set_components.html#Permitted)
 states that any UTF8 characters other than `/` can be used. This means that, 
for instance, a variable could be named `Temperature (°C)`, as in the following 
code fragment:

```
import netCDF4
nc = netCDF4.Dataset( 'example_utf.nc', 'w' )
t = nc.createVariable( 'Temperature (°C)', 'f' )
nc.close()
```
Should CF impose some restriction, or is it OK to use the whole range of UTF8 
in variable names?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/cf-convention/cf-conventions/issues/307
This list forwards relevant notifications from Github.  It is distinct from 
[email protected], although if you do nothing, a subscription to the 
UCAR list will result in a subscription to this list.
To unsubscribe from this list only, send a message to 
[email protected].

Reply via email to