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.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Help with unlimited dimension.

  • To: Brice Lambi <lambi@xxxxxxxx>
  • Subject: Re: [netcdfgroup] Help with unlimited dimension.
  • From: Rob Latham <robl@xxxxxxxxxxx>
  • Date: Fri, 14 Aug 2009 14:56:41 -0500
On Fri, Aug 14, 2009 at 01:47:02PM -0600, Brice Lambi wrote:
> Hi,
> 
> A netcdf3 file can only have one unlimited dimension.  You'll need to
> use netcdf4 to get support for multiple unlimited dimensions.  Take a
> look at this:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/netcdf/Dimensions.html

Sorry, that's not at all what the above link says. 

What Jinyun is asking to do is entirely within the NetCDF-3 spec:
a variable with an unlimited dimension is a 'record variable', and a
netcdf dataset can have many such record variables.

Jinyun has defined one 2d record variable and a second 3d record
variable.  This should be legal, if he has declared the dimensions and
variables correctly.  

Jinyun, you will not, for example, be able to re-use any of your
dimensions.  v1 and v2 will need distinct dimensions and variables.

Can you post your define-mode stanza?  Sounds like it should only be a
few lines long.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: