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

Re: 950710: sample netcdf program

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: Re: 950710: sample netcdf program
  • Date: Mon, 10 Jul 1995 15:21:52 -0600

>Keywords: 199507072325.AA10950 netCDF

Hi Bryan,

> We have just begun exploring using netcdf, mainly to share data across VMS
> and various UNIX platforms. I have written a sample file of maps
> Z(nlon,nlat,ntime), which I can read back in ok on any machine.
> 
> However, from the documentation I could read in hyperslabs of
> Z1(nlon,nlat) sucessively so I don't have to occupy so much memory. When I
> try this using ncvgt or ncvgtv I get run errors or data which is clear
> misarranged.

This should work fine.  Perhaps you are misinterpreting the use of the START
or COUNT arguments to NCVGT.  I'm not sure what NCVGTV refers to, since
there is no subprogram in the netCDF Fortran library with that name.  We
would need to see a small example program that appears to fail in order for
us to be able to diagnose the problem or verify that there is a bug.

______________________________________________________________________________

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