[Thread Prev][Thread Next][Index]

Re: [ferret_users] Playing with symbols across scripts



Hi Gary,
A couple of ideas:

I can't think of a case where letting Ferret choose levels automatically would result in "irregular" delta-levels. I'd be curious to know more about how that comes about.
If you always want the exact same levels, it's very simple. Once a color plot has been made, using /LEVELS alone with no argument will use the same levels on subsequent plots.

yes? use levitus_climatology
yes? shade temp[k=1]
yes? shade/levels temp[k=12]

Beyond that, I guess you'd have to do what you're saying about pre-computing levels to either pass to the scripts as arguments or put into symbols.

Gary Strand wrote:

I've got a whole slew of plots I'm trying to make, using subscripts for the actual plotting commands, and with a separate script that creates the first plot, with the remainder following. Basically:

go plot_original original
go plot_altered field1
go plot_altered field2
[...]
go plot_altered fieldn

In 'plot_original', I let FERRET pick the contour levels, and then I attempt to retrieve those values via setting some symbols to $LEV_MIN, $LEV_MAX, and $LEV_DEL, for use in the 'plot_altered' scripts. However, when FERRET decides $LEV_DEL is "IRREGULAR", my scripts fall apart.

Is there an easier way to force the same contouring levels to be used across scripts (rather than stuffing them into some giant hard-to-handle script) that doesn't require my pre-computing "good" values and passing them along?

Thanks.

Gary Strand
strandwg@ucar.edu
http://www.cgd.ucar.edu/ccr/strandwg


--

~> ~> ~> ~> ~> ~> ~> ~> ~> ~> ~>
Ansley Manke, NOAA/PMEL ansley.b.manke@noaa.gov
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246, FAX 206-526-6744



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement