[Thread Prev][Thread Next][Index]

Re: Unusual behavior of 5.53 under RH



Hi Gary,
Another option with version 5.53 of Ferret is the new -script command-line
option for Ferret:

  > ferret  -script  scriptname.jnl

or if you prefer,

  > ferret -gif -script  scriptname.jnl

Here's some documentation on the -script startup option
http://ferret.pmel.noaa.gov/Ferret/Documentation/Release_Notes/v553.html#script

Gary Strand wrote:

I've got a standard script that I've used successfully for a long time with
FERRET on various flavours of Solaris that fails with an odd error message when I try to run it on an RH9 Linux box in 'ferret -gif < script.jnl' mode.
It runs fine interactively on the Linux box.

Script:
!
set mode ignore_error
set win/siz=1.5
!
! Ocn plots
! $1 $2 $3 $4 $5 $6 - up
! field SF title units sbx file(s)
go pcmd_ocn_1p volt 1 "Volume average temperature" "C" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_1p vols 1 "Volume average salinity" "ppt" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_1p sst 1 "Sea surface temperature" "C" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_6p temp 1 "Volume average temperature" "C" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_6p salt 1 "Volume average salinity" "ppt" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_1p drake 1 "Drake Passage mass transport" "Sv" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_1p mke 1 "Mean kinetic energy" "ergs" 36 B0750a B0750b B0750c B0750d go pcmd_ocn_2p nino 1 "Nino3 and Nino4 SSTs" "C" 36 B0750a B0750b B0750c B0750d !
!
! Ice plots
! $1 $2 $3 $4 $5 $6 - up
! field SF title units sbx file(s)
go pcmd_ice_2p icea 1.e12 "Sea Ice Area" "10^6 km^2" 36 B0750a B0750b B0750c B0750d go pcmd_ice_2p icev 1.e12 "Sea Ice Volume" "10^1^2 kg" 36 B0750a B0750b B0750c B0750d go pcmd_ice_2p icet 1 "Sea Ice Mean Thickness" m 36 B0750a B0750b B0750c B0750d go pcmd_ice_2p snow 1.e12 "Snow Volume" "10^1^2 kg" 36 B0750a B0750b B0750c B0750d !
! Surface temperatures
! $1 $2 $3 $4 $5 $6 - up
! field SF title units sbx file(s)
go pcmd_srf_4p surft 1.0 "Surface temperatures" "K" 36 B0750a B0750b B0750c B0750d !
quit
-------------------------------------------------------------------------------
Error:

prompt>ferret -gif < script.jnl
NOAA/PMEL TMAP
FERRET v5.53 Linux(g77) 2.4.20 - 10/16/03
6-Jan-04 15:43
yes? "K" 36 B0750a B0750b B0750c B0750d **ERROR: unknown command: K
yes? !
yes? quit

Is there something about FERRET under Linux that contains oddities? Thanks!
--
/\ Gary Strand (303) 497-1336 NCAR ML220
\_][ www.cgd.ucar.edu/ccr/strandwg 1850 Table Mesa Dr
\___strandwg@ucar.edu Boulder, Colorado, USA 80305-3000



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement