[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #GBB-400841]: NCVGT: : Start+count exceeds dimension bound
- Subject: [netCDF #GBB-400841]: NCVGT: : Start+count exceeds dimension bound
- Date: Fri, 29 Feb 2008 15:13:39 -0700
Hi Steve,
It's possible you have the dimensions reversed in your start and count arrays.
In Fortran, the first dimension varies most quickly, but in C and the CDL
output by ncdump, the last dimension varies most quickly. Without seeing
the output from ncdump -h, I can't tell for sure, but if the time dimension is
varying most slowly in the netCDF file (that is all values for a time are
stored
together) and you are trying to get all the values for one time, then you
should use
start = (/ 1 , 1 , 1 , 1 /)
count = (/ 1 , z , x , y /)
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: GBB-400841
Department: Support netCDF
Priority: Normal
Status: Closed