NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

[netcdfgroup] Not a valid cdfid

Hello,

I'm newbie to netcdf and I want to generate netcdf file with netCDF C++ API. First, I have tried the example from tutorial ( http://www.unidata.ucar.edu/software/netcdf/examples/programs/simple_xy_wr.cpp) and I have this output :


*(null): 3 is not a valid cdfid*

and the the file generated is not valid when i use ncdump.

I precise that I also used Gdal lib (version 1.7) compiled after netcdf libs (version 4.1).

Thanks for any kind of help.

Jordy