[Thread Prev][Thread Next][Index]

[ferret_users] script reading problem



Hello Ferret Users,

I am using ferret v5.81 on Suse Linux.

Ferret is installed on my notebook.

I have very strange problem while reading a simple script.

When I call script then just after reading first line ferret crashes
and gives error message:-


> ferret -nojnl
        NOAA/PMEL TMAP
        FERRET v5.81
        Linux(g77) 2.4.21-32 - 07/13/05
        23-Mar-06 08:26

yes? go Fig2c.jnl
define axis/t=1:225:1 time_grid

 **ERROR: command syntax:

Command file, command group, or REPEAT execution aborted
yes?
###

There is no clear error message.

Can any one help, what really ferret want here.

Here I have attached my script which I am reading.

Many thanks for yours help,

Regard,
Yogesh

--
Dr. Yogesh K. Tiwari,
Indian Institute of Tropical Meteorology Pune,
New Delhi Branch,
Prof. Ram Nath Vij Marg,
Near Durga Mandir,
R-block, New Rajinder Nagar,
New Delhi-110060
INDIA

Tel.:- 0091-11-28743976
define axis/t=1:225:1 time_grid

define grid/t=time_grid newgrid

file/var="time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2tm3"/grid=newgrid fxWLGc.co2.ts

!+++SEY++++
define axis/t=1:349:1 time_grid

define grid/t=time_grid newgrid

file/var="time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2tm3"/grid=newgrid fxSEYc.co2.ts

!+++CHR+++
define axis/t=1:212:1 time_grid

define grid/t=time_grid newgrid

file/var="time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2tm3"/grid=newgrid fxCHRc.co2.ts

!++CRZ+++
define axis/t=1:201:1 time_grid

define grid/t=time_grid newgrid

file/var="time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2tm3"/grid=newgrid fxCRZc.co2.ts

!++SUM+++
define axis/t=1:128:1 time_grid

define grid/t=time_grid newgrid

file/var="time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2tm3"/grid=newgrid fxSUMc.co2.ts



let obs_WLG=co2obs[d=1]
let tm3_WLG=co2tm3[d=1]
let yr_WLG=yr[d=1]
let mo_WLG=mo[d=1]

let obs_SEY=co2obs[d=2]
let tm3_SEY=co2tm3[d=2]
let yr_SEY=yr[d=2]
let mo_SEY=mo[d=2]

let obs_CHR=co2obs[d=3]
let tm3_CHR=co2tm3[d=3]
let yr_CHR=yr[d=3]
let mo_CHR=mo[d=3]

let obs_CRZ=co2obs[d=4]
let tm3_CRZ=co2tm3[d=4]
let yr_CRZ=yr[d=4]
let mo_CRZ=mo[d=4]

let obs_SUM=co2obs[d=5]
let tm3_SUM=co2tm3[d=5]
let yr_SUM=yr[d=5]
let mo_SUM=mo[d=5]

set mode metafile

go portraitNxN 3 2

set window/size=0.7
set window/aspect=0.7

ppl dfltfnt,@tr

!font size of lavels
ppl axlsze 0.14 0.14


!*****************WLG******************

DEFINE VIEW/XLIM=.22,.42/YLIM=.70,.90/AXES ONE

SET VIEW ONE

plot/set/vs/nolab/line=13/GRAT="large(line,color=lightblack),small(line,color=lightblack)" yr_WLG+mo_WLG/12,obs_WLG

ppl dfltfnt,@tr

ppl shakey , , , , 5, , , , ,

ppl axlsze 0.22 0.22

ppl yaxis 354,378

ppl xaxis 1996,2003,1

ppl plot

plot/vs/nolab/line=15/ov yr_WLG+mo_WLG/12,tm3_WLG

!*****************SEY******************

DEFINE VIEW/XLIM=.52,.73/YLIM=.70,.90/AXES TWO

SET VIEW TWO

plot/set/vs/nolab/line=13/GRAT="large(line,color=lightblack),small(line,color=lightblack)" yr_SEY+mo_SEY/12,obs_SEY

ppl dfltfnt,@tr

ppl shakey , , , , 5, , , , ,

ppl axlsze 0.22 0.22

ppl yaxis 356,374

ppl xaxis 1995,2003,1

ppl plot

plot/vs/nolab/line=15/ov yr_SEY+mo_SEY/12,tm3_SEY

!label,,,,0.12 (LMDZ) Jan03-Feb03


!*****************CHR******************

DEFINE VIEW/XLIM=.22,.42/YLIM=.40,.60/AXES THREE

SET VIEW THREE

plot/set/vs/nolab/line=13/GRAT="large(line,color=lightblack),small(line,color=lightblack)" yr_CHR+mo_CHR/12,obs_CHR

ppl dfltfnt,@tr

ppl shakey , , , , 5, , , , ,

ppl axlsze 0.22 0.22

ppl yaxis 360,376

ppl xaxis 1995,2003,1

ppl plot

plot/vs/nolab/line=15/ov yr_CHR+mo_CHR/12,tm3_CHR


!*****************CRZ******************
DEFINE VIEW/XLIM=.52,.73/YLIM=.40,.60/AXES FOUR

SET VIEW FOUR

plot/set/vs/nolab/line=13/GRAT="large(line,color=lightblack),small(line,color=lightblack)" yr_CRZ+mo_CRZ/12,obs_CRZ

ppl dfltfnt,@tr

ppl shakey , , , , 5, , , , ,

ppl axlsze 0.22 0.22

ppl yaxis 358,374

ppl xaxis 1995,2003,1

ppl plot

plot/vs/nolab/line=15/ov yr_CRZ+mo_CRZ/12,tm3_CRZ

!*****************SUM******************

DEFINE VIEW/XLIM=.22,.42/YLIM=.10,.30/AXES FIVE

SET VIEW FIVE

plot/set/vs/nolab/line=13/GRAT="large(line,color=lightblack),small(line,color=lightblack)" yr_SUM+mo_SUM/12,obs_SUM

ppl dfltfnt,@tr

ppl shakey , , , , 5, , , , ,

ppl axlsze 0.22 0.22

ppl yaxis 354,380

ppl xaxis 1997,2003,1

ppl plot

plot/vs/nolab/line=15/ov yr_SUM+mo_SUM/12,tm3_SUM

cancel mode metafile

spawn Fprint -l cps -p portrait -R -o fig2c.ps metafile.plt

cancel data/all


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement