[Thread Prev][Thread Next][Index]

Re: **TMAP ERR: limit on storage for coordinates has been reached



Hi Jörg,

I believe the explanation for this behavior lies in the netCDF file in
question.
I presume that it was made with the SAVE command (LIST/FORMAT=CDF). (see
note) By
default the time axis of a variable in Ferret becomes the "record" axis of
the netCDF file --
i.e. the axis along which the file can be appended. Since the file is
append-able the time
axis cannot reliably be flagged with point_spacing="even" (What if an
uneven time coordinate
is appended afterwards?).

If point-spacing="even" is absent, then the USE command is forced to read
all of the
coordinates of the axis in order to determine if the axis coordinates are
indeed regular or
not. If there are too many coordinates to read and store ... BOOM! a
problem.

There are two easy work-arounds:

   * All Ferret versions support the SAVE/RIGID qualifier
     This qualifier causes the output netCDF file *NOT* to use a netCDF
record axis. The
     result is that the file cannot be appended to -- but the
point_spacing="regular"
     attribute will be automatically attached to the axis if appropriate.
   * Ferret version 5.1 has the qualifier USE/REGULART
     This qualifier tells Ferret to *assume* that the time axis is regular
-- it reads only
     the first and last coodinate on the axis, nothing more. Obviously,
this is also a speed
     up for initializing files with long time axes

** Note that if the file was not created by the SAVE command, then adding
the attribute point_spacing="regular" to the time axis should produce the
desired effect.

    - steve

===============================================

Jörg Kaduk wrote:

> Hi again,
>
> I run into the error:
>
> **TMAP ERR: limit on storage for coordinates has been reached
>
> Is there any work-around?
>
> I tried cancel data and cancel memory (see below), which did not
> help....
>
> Thanks!
> Joerg
>
> yes? set view upper
> yes? plot wc
> yes? set view lower
> yes? cancel data/all
>
> yes? set data p3.dat
>  **TMAP ERR: limit on storage for coordinates has been reached
>              MAX= 100000
> yes? cancel mem
>  TEMPORARY data cleared from memory
> yes? cancel mem/all
>  PERMANENT data cleared from memory
>  TEMPORARY data cleared from memory
> yes? set data p3.dat
>  **TMAP ERR: limit on storage for coordinates has been reached
>              MAX= 100000
>
> --
> Jörg Kaduk                            Tel.: 1 650 325 1521 x 416
> Carnegie Institution of Washington    FAX: 1 650 325 6857
> Dept. of Plant Biology
> 260 Panama Street                     joerg@jasper.stanford.edu
> Stanford, CA 94305-1297               http://Jasper.Stanford.EDU/joerg/

--

                |  NOAA/PMEL               |  ph. (206) 526-6080
Steve Hankin    |  7600 Sand Point Way NE  |  FAX (206) 526-6744
                |  Seattle, WA 98115-0070  |  hankin@pmel.noaa.gov




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement