[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #EWS-470503]: Read NETCDF from user input

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.


  • Subject: [netCDF #EWS-470503]: Read NETCDF from user input
  • Date: Thu, 10 Jan 2008 09:46:45 -0700

Mike,

The "const" declaration in the function prototype merely promises that
the function won't change the values of the indexes.  It doesn't mean
that they have to be constants or that you have to declare them const.
You can read in, compute, or define indexes any way you want and just
pass the array of indexes to the function.

Rather than using the small snippets of example code in the User
Guide, you may also find the complete example programs useful:

  http://www.unidata.ucar.edu/software/netcdf/examples/programs

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: EWS-470503
Department: Support netCDF
Priority: Normal
Status: Closed