[Thread Prev][Thread Next][Index]

[ferret_users] custom jnl worked in las6.4.2 but not las 6.5.12 and ferret5.81



Greetings

I've a custom .jnl file that draws a very detailed coastline that worked in las6.4.2/ferret5.70 but broke in las6.5.12/ferret5.81. I'm suspecting it has to do with ferret. Notes are as follows:

- In "las/server/jnls/std_gif.tmpl", I changed "go land" to "go myland".

- The variable (e.g. depth) is plotted but not the coastline.

- When I changed back to "go land" in std_gif.tmpl, the coarse coastline is drawn.

- When I use "go myland" in a regular (non-LAS) ferret5.81 session, it works somewhat as expected. In ferret5.70, "go myland thick overlay" gave a thick coastline, but in ferret5.81 it gave the normal "thin" coastline.

- "myland.jnl" is a symlink in "/usr/local/ferret/go/".

- The src for "/usr/local/ferret/go/myland.jnl" (below) is a mod of "land.jnl".

- A las6.4.2/ferret5.81 combo also failed to produce the "myland" coastline.

- "uname -a" gives "Linux host1 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux"

I'd be grateful for clues/advice as to how to fix this or how to debug it.

Regards
-Kek
Physical Oceanography
Singapore


------------------------------------------------------
src of myland.jnl:
------------------------------------------------------
\cancel mode verify ! ... now overlaying coastal outline ...

! Description: Plot outlines of my coastline

! arg 1
! usage: GO land [pen]

! pens may be "0"(background), "1"(foreground), "thick"(same as pen 7),
! "black", "red", "green", "blue", or 2-18.
! arg 2 may be "basemap", "overlay", "fast" (fast, 20e:20e overlay) or omitted

! Note 1: A pen color of "black" will actually pen number 1
! -- normally white if the window background is black
! Note 2: An "N" for the continent pen means no continents
! -- use this for the special case of geo-political
! overlay without continents.

! examples:
! GO land red - overlay continents using red pen (2)
! GO land 10 - overlay continents using pen number 10
! Notes:
! 2) use GO line_samples to view the first 6 pen numbers
! Higher pen numbers cycle with thicker lines (max 18)

! test argument before performing any actions
query/ignore $1%1|black|red|green|blue|thick|0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|
15|16|17|18|N|<GO land [pen or "N"] ["basemap"] [pen] [pen] with pen = 0(back),
1(fore), thick, 2-18 or a color%

! introduce the outline data set
set data/save
use my-coastline.nc
PLOT/VS/OVERLAY/NOLAB/LINE lon,lat

cancel data my-coastline.nc
set data/restore
set mode/last verify
-----------------------------------

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement