[Thread Prev][Thread Next][Index]

Re: one question: why doesn't work when run for 2nd time?



Hi Gaorz,

Here's a quick guess:

When you run your script for a second time the region has been
restricted by the command
    set region/x=99.375e:123.75e/y=0.952s:23.809n
This can effect the evaluation of "lats" in
    define axis/y/from_data/name=ygrd/unit=degrees lats

Try "CANCEL REGION" before re-running the script.

    - steve

P.S. A nicer syntax is available for the latter command as of
Ferret V5:
    define axis/y/unit=degrees ygrd = lats

============================================

gaorz wrote:

> Hello, everybody, When the following file run by the second
> time, Ferret gave me the Error Message. It said " illegal
> limits: X axis of Lats". However, after I quit to Bash-2.02$,
> typing "ferret -gif" once again, and then run "go
> d:\pp8\flux\qnet\qnet.jnl" , It can plot again. If I run it
> again it will appear the same error.  WHY? I wonder know
> wether it is related to the configurations of my file or I
> lost some important commands? Thanks a
> lot. Gaorz----------------qnet.jnl------------------------set
> mode verify
> file/var=lats/col=1 d:\pp8\flux\qnet\latitude.asc
> define axis/x=99.375e:123.75e:1.875/unit=degrees xgrd
> define axis/y/from_data/name=ygrd/unit=degrees lats
> define axis/t=10-apr-1998:09-apr-1999:1/unit=day tgrd
> define grid/x=xgrd/y=ygrd/t=tgrd g14x14
> file/var=Qnet/grid=g14x14/col=14 d:\pp8\flux\qnet\qnet.asc
> set variable/bad=999.99 Qnet
> set region/x=99.375e:123.75e/y=0.952s:23.809n
> set window/size=0.5/aspect=1.0
> contour/lev="(-100,100,10) pen(-100,-10,10,4)
> pen(10,100,10,2)"/title="Net Heat Flux"/l=101
> Qnet[x=@sbn:3,y=@sbn:3]
> plot/over/vs/nolab/line=5/sym=21/set 115.6,18.1
> ppl markh,1,0.2; ppl plot/over
> plot/over/vs/nolab/line=5/sym=21/set 115.0,15.3
> ppl markh,1,0.2; ppl plot/over
> plot/over/vs/nolab/line=5/sym=21/set 114.4,13.0
> ppl markh,1,0.2; ppl plot/over
> go fland 5 frame/file=d:\pp8\flux\qnet\Qnet.gif
> ----------------------------------------------------

--
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement