[Thread Prev][Thread Next][Index]

Couple of bugs in Ferret 5.



Couple of minor things in the currently downloadable version of Ferret 5.

1. The template of ferret_paths for the ksh has some bugs in that have have 
been carried over from version 4.  I append a corrected version of 
bin/ferret_paths_ksh_template below.

2. In the bin directory (solaris version) I have a file print_ferret_docs which
is a link to ../doc/print_ferret_docs, however this file doesn't exist and I 
can't find it anywhere.

      

      Glenn

Corrected bin/ferret_paths_ksh_template --- snip here ---------
# ferret_paths_template    11/91 & 4/92
# Template for setting up the FERRET environment
# updated for FERRET version 3 2/93
# Mod 10.93 *jd* fix for SunOS LD_LIBRARY_PATH
# Mod 03.94 *jd* for XGKS - remove reference to ATCgks
# Mod 03.95 *jd* to be used with ksh.  Initial fix, problems may exist
# Mod 05.97 *jd* add AIX-required environment var XLFRTEOPTS
# *jd* 4.27.99  - add FER_WEB_BROWSER
# *jd* 4.27.99  - add FER_EXTERNAL_FUNCTIONS
# *kob* 5.99 - change dir for FER_EXTERNAL_FUNCTIONS
# *gdc* 6.99 - fixed remaining ksh syntax errors.
#
# If you are installing FERRET for the first time at your site we ask
# that you please notify us with an Internat mail message to
# ferret@noaapmel.gov [192.68.161.0] (or call Steve Hankin at (206)526-6080)
# - no strings attached.  Please specify if you would like to be on a mailing
# list for FERRET updates.
#
# Modify this to suit your system and place the result as file `ferret_paths'
# in another directory set up to hold login initialization scripts.
# `/usr/local' is the suggested choice.
# Users of FERRET should include the command
#  `. /usr/local/ferret_paths'
# (or wherever you have located the ferret_paths file) in their .login file.
#
# The environment variable FER_DIR should be the pathname of
# the directory named `ferret' you created to install the FERRET software.

# You may want to customize the pathname of the `ferret' directory:
   export FER_DIR=/usr/local/ferret

# The environment variable FER_DSETS should be the pathname of
# the directory named `fer_dsets' you created to install the FERRET program.

# !!!! You must customize the following line:
# This directory will contain FERRET demonstration data files (30+ Mbytes)
   export FER_DSETS=/my_big_data_disk/fer_dsets

# System Manager: Check this PATH modification for your system security.
# If you prefer not to modify PATH here you may comment out the following few
# lines and execute the file $FER_DIR/bin/install_ferret_links wich will
# create ferret links in /usr/local/bin.
# This logic will replace any previous $FER_DIR in PATH so this
# file may be sourced repeatedly in a single session
   if [ $PATH != *ferret* ]
   then
       echo appending ferret path
       export PATH="$PATH:$FER_DIR/bin"
   else
        echo replacing ferret path
      export PATH=`echo $PATH | awk -F: '{for (i=1; i<=NF; i++) {if ($i \!~ /fer
ret\/bin/) {printf "%s:",$i}}}'`
      export PATH=$PATH:$FER_DIR/bin
   fi
# *** end of PATH modifications

# =========== Initially make no modifications below this line ===========

#  Default Ferret document browser
   export FER_WEB_BROWSER="netscape -ncols 60"

   export FER_EXTERNAL_FUNCTIONS="$FER_DIR/ext_func/libs"

   export FER_GO=". $FER_DIR/go $FER_DIR/examples $FER_DIR/contrib"

   export FER_DATA=". $FER_DSETS/data $FER_DIR/go $FER_DIR/examples $FER_DIR/con
trib"
   export FER_DESCR=". $FER_DSETS/descr"
   export FER_GRIDS=". $FER_DSETS/grids"

   export TMAP="$FER_DIR/fmt"
   export PLOTFONTS="$FER_DIR/ppl/fonts"
   export SPECTRA="$FER_DIR/ppl"         # for old ferret versions
   export FER_PALETTE=". $FER_DIR/ppl"       # palette search list

# SunOS uses shared libraries
if [ `uname` = SunOS ]
then
#  IF USER DOES NOT HAVE LD_LIBRARY_PATH POINT TO X11
   if [ -z "$LD_LIBRARY_PATH" ]
   then
      export LD_LIBRARY_PATH="/usr/openwin/lib"
   fi
fi

# Mod for AIX Ferret users -- needed for namelist reads
if [ `uname` = AIX ]
then
   export XLFRTEOPTS="namelist=old"
   export LANG="C"
fi

# Faddpath tool to add another path to the search lists quickly
#     usage: Faddpath new_path
#alias Faddpath 'if \!$ != Faddpath export FER_GO="$FER_GO \!$"; if \!$ != Faddp
ath export FER_DATA="$FER_DATA \!$"; if \!$ != Faddpath export FER_DESCR="$FER_D
ESCR \!$"; if \!$ != Faddpath export FER_GRIDS="$FER_GRIDS \!$"'


----
Dr. Glenn Carver, Senior Research Associate,
Centre for Atmospheric Science, Chemistry Dept., Cambridge University, UK  
mailto:Glenn.Carver@atm.ch.cam.ac.uk   http://www.atm.ch.cam.ac.uk/~glenn/

              "I never think of the future, it comes soon enough"
                   - Albert Einstein




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement