This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: "Xiaobing Shi" <address@hidden> >Organization: ? >Keywords: 200111271530.fARFUON16588 netCDF programming Xiaobing, >I have manged to install netCDF on a workstation succuessly. However, >when I started to convert my data file from sequential format to >netCDF, I got an error message 'Not a netCDF id'. > >Would you please give me any suggestion about where the error could come >from? The process of converting data in one form to netCDF is basically: o create a CDL for the netCDF file you want to create o use ncgen to create a Fortran or C template for an application to convert the data o edit the Fortran or C template and flesh out the code to read from your original data file and write to the output netCDF o compile your application and link it against the netCDF and system libraries to get an executable o run your executable Your inquiry does not provide enough information to know where you are running into a problem. If the problem is in the code you are writing, then we will not be able to help you much as we do not have the resources to help people develop their own applications. If, on the other hand, you are running into a problem with one or more of the netCDF library calls, then we can provide some insight into what the problem might be, but we would need to know more about your code before we could comment. >Thank you! >Regards >Xiaobing Shi Tom Yoksas