How do I get around the Ferret error message:**TMAP ERR: limit on storage for coordinates has been reached: MAX= 250000 ?
> Does FERRET have limitation on storage for coordinate? I have a netCDF > file containing a time series with a large number of time steps. When I tried > to use FERRET, use metero.cdf, I got " **TMAP ERR: limit on storage for > coordinates has been reached MAX= 250000". Then I made a test by cutting > the data down to 5000 time levels, FERRET is OK to work on this short time > series. > > Can somebody tell me how to go around this problem?
Your NetCDF file needs to TELL Ferret that the time points are regularly spaced. Ferret is attempting to read them so it can check the spacing. Having determined that the points were evenly spaced it would retain only the start, end, and delta values (freeing up the space), but it isn't getting that far.
3.5.4 Evenly spaced coordinates (long axes), see "memory, NetCDF" in the Users Guide index.There is a single command way to add an attribute to a netCDF file. This will take your computer a few minutes ... but it won't take much time for you!If the coordinate axes are evenly spaced, the attribute "point spacing" should be used:
slat: point_spacing = "even" ;When used, this attribute will improve memory use efficiency in Ferret. This is especially important for very large axes--10,000 points or more.
To add
TEMP:point_spacing = "even" ;
to your file, just
% ncdump temp.cdf | sed -e '/TEMP:units/a\\ TEMP:point_spacing = "even" ;' | ncgen -o new_temp.cdfUse the output of "
ncdump -h yourfile.cdf
" to guide you. You'll need to
replace "TEMP
" with the name of your time axis.
Last modified: May 28, 1997