[Thread Prev][Thread Next][Index]
run Ferret in batch mode with arguments
Hi
ferreters,
I want to run ferret with input redirection to pass a script, but with
arguments. Is it possible ?
Example :
Doesn't work :
[mercator@blade1 animation]$ ferret
< sc.jnl temperature
Usage: ferret [-memsize Mwords] [-batch [outfile]] [-server]
[-secure] [-gif] [-gui] [-unmapped] [-help] [-nojnl]
-memsize: specify the memory cache size in megawords (default
3.2)
-batch: output directly to metafile "outfile" w/out X
windows
-unmapped: use invisible output windows (superceded by
-batch)
-gif: output to GIF file w/o X windows only w/ FRAME command
-gui: to start Ferret in point and click mode (not available on all
platforms)
-secure: run securely -- don't allow system commands
-server: run in server mode -- don't stop on message commands
-help: obtain this listing
-nojnl: on startup don't open a journal file (can be turned on
later with SET MODE JOURNAL
Work :
[mercator@blade1 animation]$ ferret
-gif
NOAA/PMEL TMAP
FERRET v5.50
Linux 2.4.3-12smp -
01/15/03
20-Oct-03 12:03
yes? go sc temperature
set data mercator_psy2v1_mersea_grid1o8_med_best_estimate.nc
show grid $1
!-> show grid temperature
GRID GKW1
name
axis
# pts
start
end
LONGITUDE
LONGITUDE
341mr
6W(-6)
36.5E
LATITUDE
LATITUDE 129
r
30N
46N
DEPTH DEPTH
(m) 8
i-
5
2000
TIME
TIME
130 r 01-JUN-2003 00:00 08-OCT-2003
00:00
exit
yes?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tony Jolibois
CLS, Direction Océanographie Spatiale
Tel: (+33) (0) 561 393 797
Internet:
http://www.cls.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement