[Thread Prev][Thread Next][Index]

Re: [ferret_users] open-ended levels



Hi Patrick,
When requesting open-ended levels you need to give a lower and upper bound for the interior levels. When Ferret computes 20 automatically-generated levels it always includes the entire range of the variable being plotted. The behavior you show with this script I would call a bug; the (-inf) and (inf) setting should be turned off at the end of each plot command and so the last shade command you give should give the same result as the first.

After making a plot, you can use the symbols LEV_MIN, LEV_MAX, LEV_NUM, LEV_DEL to determine settings for a new request.

shade/lev=20 temp[k=1]
show sym LEV*

shade/lev=(-inf)(`($lev_min)+($lev_del)`, `($lev_max)-($lev_del)`, `($lev_del)`)(inf) temp[k=1]

Ansley

Patrick Brockmann wrote:

Hi all,

From 5.81 release, the new feature of getting open-ended levels
is really nice. Thank you very much.

A question about it:
How do set this mode when you want simultaneously to set
20 automatic levels and (-inf),(inf) values to get
open-ended levels.
It seems possible but not directly.
See script bellow:

*************************************
use levitus_climatology

shade/lev=20 temp[k=1]
message "Produce automatically 20 levels"

shade/lev=(-inf)(2,24,2)(inf) temp[k=1]
message "Produce from 2 to 24 by step of 2 with open-ended levels"

shade/lev=20 temp[k=1]
message "Produce automatically 20 levels with open-ended levels"

*************************************

How to get this directly ?
Patrick







[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement