Last modified 2 years ago Last modified on 2016-08-25 12:02:27

OPeNDAP reserved names

There are some reserved names in OPeNDAP (used by THREDDS servers) that make a file unreadable via OPeNDAP, if a variable uses one of them. The file is likely to open and work fine locally with ncBrowse or ncdump, but won't be accessed correctly via OPeNDAP.

I ran into this in 9892awp-cal.nc that had a variable named "Error". It read fine locally, but not from THREDDS via OPENDAP. I renamed the variable and its "name" attribute "AWAC_error_code", and now it tests out OK.

OPeNDAP says keywords are case insensitive. Here is the list not to use:

"alias",
"array",
"attributes",
"byte",
"dataset",
"error",
"float32",
"float64",
"grid",
"int16",
"int32",
"maps",
"sequence",
"string",
"structure",
"uint16",
"uint32",
"url",
"code",
"message",
"program_type",
"program",