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

20040220: Hyperslab I/O of Varying Size



Ben,

> To: address@hidden
> From: "Ben Howell" <address@hidden>
> Subject: netCDF Fortran (77 + 90) - Linux - Output of Hyperslab of Varying 
> Size
> Organization: University of Wisconsin, Madison/SSEC
> Keywords: 200402181846.i1IIkk2N001457

The above message contained the following:

> Institution: University of Wisconsin - Madison
> Package Version: $Id: netcdf.h,v 2.74 2000/10/13 15:48:08 russ Exp $
> Operating System: Linux
> Hardware Information: IBM Thinkpad \"T21\"
> Inquiry: I would like to set the size of a two-dimensional array to a size 
> that accommodates a number of input-data sizes, and write the variable size 
> to a NetCDF file.
> 
> For instance,  I want to define a maximum size grid as
> 1000 latiitudes by 1000 longitudes, and be able to output
> data with the dimensions 250 latitudes by 600 longitudes.
> 
> Can this be done in FORTRAN 77?

This can be done via the nf_put_varm_* and nf_get_varm_* routines of the
Fortran-77 API of the netCDF package.

> Thanks!

Regards,
Steve Emmerson