我要评分
获取效率
正确性
完整性
易理解

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the PyFerret installation directory.
    cd /path/to/PyFerret
  3. Obtain the PyFerret installation package and rename it.
    wget https://codeload.github.com/NOAA-PMEL/FerretDatasets/tar.gz/v7.6 --no-check-certificate
    mv v7.6 FerretDatasets-7.6.tar.gz
  4. Decompress FerretDatasets-7.6.tar.gz.
    tar -zxvf FerretDatasets-7.6.tar.gz
  5. Go to the PyFerret installation directory.
    cd /path/to/PyFerret/pyferret/bin

  6. Run the Finstall script to generate the corresponding file.
    ./Finstall

    During the process, you need to type the PyFerret installation path, FerretDatasets package path, and ferret_paths.sh script generation path. This process is an interactive process, and you need to type the needed information at the following prompts:

    • Proceed? (y/n): Type y and press Enter to continue.
    • FER_DIR: PyFerret installation path. Type /path/to/PyFerret/pyferret.
    • FER_DSETS: FerretDatasets package path. Type /path/to/PyFerret/FerretDatasets-7.6.
    • desired ferret_paths location: ferret_paths.sh script path. Type /path/to/PyFerret/.
    • derret_paths link to create? (c/s/n): Type n.
    • python executable to use: Type python2.7.
  7. Load the environment variables.
    cd /path/to/PyFerret
    source ferret_paths.sh
  8. Start the main program.
    cd /path/to/PyFerret/pyferret/bin
    ./pyferret
    yes? go /help mp_demo
    yes? USE coads_climatology
    yes? SHADE/X=0:360/Y=-90:90/L=1/TITLE="Standard Plot" sst
    yes? GO fland
    yes? GO land
    yes? exit

    An example of the command output is as follows: