[Thread Prev][Thread Next][Index]

Re: shade and -gif



Hi Helge,
There was a bug, which is fixed in the very latest version of Ferret, v5.60.
When starting Ferret with the ferret -gif strartup option, this caused trouble
for shade plots made with /HLIMITS or /VLIMITS.
Please upgrade to v5.60 if you can, and let us know if you still see a problem.
Here are the release notes for v5.6 -
http://www.ferret.noaa.gov/Ferret/Documentation/Release_Notes/v56.html

Ansley



Helge Avlesen wrote:

Hi,
I sometimes need to look at numerical artifacts in my model, so I zoom in
to rather small details - is there a small bug in the shade command when
combined with the -gif option? The output I get from the below script
is different with and without the -gif option, can anyone else
reproduce this?

Helge



/avle@tindved: > cat depth.ascii 1
2
3
4
5
6
7
-1
8
9
10
11
12
13
14
15
-1
16
17
18
19
20
21
22
/avle@tindved: > cat test.jnl let IM=8 ; let JM=3
define axis/x=1:`IM`:1 xaxis
define axis/y=1:`JM`:1 yaxis
define grid/x=xaxis/y=yaxis hgrid
define region/x=0:`IM+2`/y=0:`JM+2` all
set reg all

file/var=h/grid=hgrid depth.ascii
set variable/bad=-1 h
shade/hlimits=0:`IM+1`/vlimits=0:`JM+1`/levels=40 h
contour/over h

!----the rest just overlays the gridlines separating shade cells
set grid/save
let grid_x1 = int(($xaxis_min))+0.5
let grid_x2 = int(($xaxis_max))
let grid_y1 = int(($yaxis_min))+0.5
let grid_y2 = int(($yaxis_max))
set grid
contour/over/set/nolabels i+(j*0)-1
ppl pen 1,1
ppl conset,,,,0.01 ! dotted line
ppl lev () (`grid_x1`,`grid_x2`,1,-3) dash(`grid_x1`,`grid_x2`,1,-3) \
(`grid_x1-1`,`grid_x2`,10,-3) pen(`grid_x1-1`,`grid_x2`,10,1)
ppl contour/over
contour/over/set/nolabels j+(i*0)-1
ppl pen 1,1
ppl conset,,,,0.01
ppl lev () (`grid_y1`,`grid_y2`,1,-3) dash(`grid_y1`,`grid_y2`,1,-3) \
(`grid_y1-1`,`grid_y2`,10,-3) pen(`grid_y1-1`,`grid_y2`,10,1)
ppl contour/over
set grid/restore
set mode/last verify
/avle@tindved: > ferret
appending ferret path
NOAA/PMEL TMAP
FERRET v5.53 Linux(g77) 2.4.x - 09/26/03
14-Apr-04 21:58
yes? go test
....



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement