WardWhen running ncgen on the attached in.cdl file I get these errors, and the .nc file is not generated
pvicente@glace:~/nco$ /home/pvicente/install/netcdf-c-4.3.1-rc3/bin/ncgen -k netCDF-4 -b -o in.nc in.cdl
ncgen: in.cdl line 579: bad octal character constant: '\200' ncgen: in.cdl line 579: bad octal character constant: '\201' ncgen: in.cdl line 579: bad octal character constant: '\376' ncgen: in.cdl line 579: bad octal character constant: '\377' the relevant line in the cdl file is float att_var(time); att_var:byte_att = '\000','\001','\002','\177','\200','\201','\376','\377'; RC2 has no problem with this using uname -aLinux glace 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
I built RC3 with./configure --prefix=/home/pvicente/install/netcdf-c-4.3.1-rc3 --enable-hdf4-file-tests --enable-hdf4 --enable-dap
this should not matter , but this was built with HDF4 linkage H4DIR=/home/pvicente/install/hdf-4.2.9 CPPFLAGS="-I${H4DIR}/include" LDFLAGS="-L${H4DIR}/lib" ------------ pvicente@xxxxxxx Department of Earth System Science 3200 Croul Hall University of California, Irvine Irvine, CA 92697-3100----- Original Message ----- From: "Ward Fisher" <wfisher@xxxxxxxxxxxxxxxx>
To: <netcdfgroup@xxxxxxxxxxxxxxxx> Sent: Tuesday, September 24, 2013 3:26 PM Subject: [netcdfgroup] netCDF-C 4.3.1-rc3 now available
Hello all,On behalf of the netCDF-C development team, we are happy to announce the availability of the third release candidate for netCDF-C version 4.3.1.Highlights of this release beyond the previous release candidate include: * netCDF-4 compilation with OpenMPI as an alternative to MPICH2. * Addressed Parallel netCDF-4 hanging when using HDF5 1.8.10. * Large File Support on Windows is now functional.* A new option for CMake-based Visual Studio builds, 'NC_USE_STATIC_CRT', used to specify which type of CRT libraries to link against (shared being the default).Source-code zip and tar.gz archives can be found at: http://github.com/Unidata/netcdf-c/releases/tag/v4.3.1-rc3Complete release notes may be found at: http://www.unidata.ucar.edu/software/netcdf/docs_rc/release_notes.htmlPre-built Windows binaries are available from: http://www.unidata.ucar.edu/netcdf/docs_rc/winbin.htmlWe look forward to addressing any issues, questions or concerns which may arise from this release candidate.Thank you in advance, -Ward Ward Fisher wfisher@xxxxxxxxxxxxxxxx _______________________________________________ netcdfgroup mailing list netcdfgroup@xxxxxxxxxxxxxxxxFor list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
Attachment:
in.cdl
Description: Binary data
netcdfgroup
archives: