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

Running and Verification

Procedure

  1. Download the PyFerret installation package FerretDatasets-7.6.tar.gz from the following link:

    https://github.com/NOAA-PMEL/FerretDatasets/archive/v7.6.tar.gz

  2. Use an SFTP tool to upload FerretDatasets-7.6.tar.gz to the /path/to/PyFerret directory on the server.
  3. Use PuTTY to log in to the server as the root user.
  4. Decompress FerretDatasets-7.6.tar.gz.
    tar -zxvf FerretDatasets-7.6.tar.gz
  5. Go to the PyFerret installation directory.
    cd pyferret/bin
  6. Run the Finstall script to generate a 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:

    • Prompt: 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/.
    • ferret_paths link to create? (c/s/n): Type n.
    • python executable to use: Type python.
  7. Load the environment variables.
    source ferret_paths.sh
  8. Start the main program.
    ./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
    Figure 1 An example output