Something that wasn't happening with netcdf3.6 is now happening with 4.1.1
The test.cdl is
netcdf test {
dimensions:
isochar = 19 ;
ncenters = UNLIMITED ; // (2 currently)
variables:
char center(ncenters,isochar) ;
// global attributes:
:history = "testing" ;
data:
center =
"atcf",
"hurdat_atl" ;
}
using
$ ncgen test.cdl -o test.nc
$ ncdump test.nc
> The result only shows "atcf" for variable /center/
However, if I change "atcf" to "atcf_____" to equal length as
"hurdat_atl", then the resulting test.nc is correct (both atcf____ and
hurdat_atl are listed in the variable output.
However, the converse is not true: if I shorten "hurdat_atl" to "hurd"
(same length as "atcf") then I still only get "atcf" for the center
variable.
This seems like a bug or at least a new feature of ncgen.
Your thoughts?
-Ken
--
Ken Knapp
Remote Sensing and Applications Division
National Climatic Data Center
151 Patton Ave
Asheville, NC 28801
828-271-4339 (voice) 828-271-4328 (fax)
IBTrACS: http://www.ncdc.noaa.gov/oa/ibtracs/
ISCCP B1: http://www.ncdc.noaa.gov/oa/rsad/isccpb1/
HURSAT: http://www.ncdc.noaa.gov/oa/rsad/hursat/