[Thread Prev][Thread Next][Index]

[ferret_users] setting properties of dynamic axes



Hi,

I'm having a problem with dynamic axes, that are either defined
'inline' (e.g. let xx=x[x=1:10:1]) or defined in an external function.
These axes are named '(AX015)'. During the processing of a Ferret
script these axis names can change, and that causes these axes to
not 'remember' their properties like DEPTH, MODULO and T0.

Here is a simple example:

yes? use levitus_climatology
yes? let zz=z[gz=1:10:1]
yes? show grid zz
   GRID (G002)
name       axis              # pts   start                end
normal    X
normal    Y
(AX005)   Z                   10 r   1                    10
normal    T
yes? set axis/mod (ax005)
yes? show grid zz
   GRID (G002)
name       axis              # pts   start                end
normal    X
normal    Y
(AX005)   Z                   10mr   1                    10
normal    T

yes? show data
    currently SET data sets:
1> /home/donners/software/ferret-5.81/fer_dsets/data/levitus_climatology.cdf (default) name title I J K L TEMP TEMPERATURE 1:360 1:180 1:20 ... SALT SALINITY 1:360 1:180 1:20 ...

yes? cancel data 1
yes? show grid zz
   GRID (G001)
name       axis              # pts   start                end
normal    X
normal    Y
(AX002)   Z                   10 r   1                    10
normal    T

As you can see the name of the axis changed in the last step, and together with that it is not a modulo axis anymore. I would like to keep the setting of axis properties at the same point in my scripts, to keep all the functionality at the same point.

Is there any solution to this problem?

Cheers,
John



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement