Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: How to use netCDF in this application...?

    We would like to use netCDF to keep track of the output of a LaGrangian
    Particle Data Model.  In this application, we would need to keep track of
    the lat, lon, and height of each particle at each timestep.  The kicker
    is that each timestep has a variable number of particles (most likely
    more particles as time goes on as they are being emitted from a source).

    It appears to me that I have two infinite dimensions here...  time and
    particle count.  How would I (or can I) setup a netCDF file to manage
    this type of data?

Why not use more than one netCDF file? The first, with the unlimited
dimension being time, would simply refer to the file containing the actual
data for that timestep. The rest would be identically structured netCDF
files with the unlimited dimension being the particle count.

Skip (montanaro@xxxxxxxxxx)


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690