comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » NetCDF and empty variables
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: NetCDF and empty variables [message #66189 is a reply to message #66142] Wed, 22 April 2009 17:29 Go to previous messageGo to previous message
Mark[1] is currently offline  Mark[1]
Messages: 66
Registered: February 2008
Member
On Apr 22, 4:03 pm, David Fanning <n...@dfanning.com> wrote:
> Yeah, so what does that mean that it has an unlimited
> dimension. Why would someone do that? :-)

Say you have an ocean model with a rectangular grid. For your output
netCDF files you would probably have fixed dimensions (x, y and z) for
the three spatial dimensions of the model and you would have an
unlimited dimension (t) correspond to simulated time. Your model grid
variables would depend on the fixed dimensions in various combinations
and you would write this info at the beginning of the model run. Your
model state variables (temperature, salinity, velocity components)
would depend on x, y, z AND t, and you would write snapshots of these
as the model runs, stepping along the t dimension each time. By making
the t dimension unlimited you don't have to know how many snapshots
you're going to write in advance. If the model hasn't written any
snapshots yet--perhaps it crashed before it could--then the size of
the time dimension is 0.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: VISualize 2009 summary
Next Topic: image correlation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:24:57 PDT 2025

Total time taken to generate the page: 0.40228 seconds