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

Re: Performance problem with large files

>all the data for t=1, then for t=2 etc. Your description of the
>array indices means that each subarray is scattered through the
>entire file and requires accessing almost every file block. Things
>should be a lot better if you write subarrays of 8000 x 3 x 1 or if
>you can't do this, rearrange the file so that the 8000 dimension is
>unlimited rather than the 16000 dimension.

  This is an important point.  We used to store large grids using the 
unlimited dimension as one of the major axes and discovered that 
netCDF's performance varied from good to awful.  After poking around,
we discovered that making array dimensions static wherever possible
sped up the grid writing dramatically.

  I think that the design of the netCDF unlimited dimension is probably
best thought of as a way to store "frames" of data instead of using it
as a way to create unlimited 'dimensions'.. 

  What do the designers think about this ?

bcl
blincoln@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