Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the PyFerret installation directory.
cd /path/to/PyFerret
- 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
- Decompress FerretDatasets-7.6.tar.gz.
tar -zxvf FerretDatasets-7.6.tar.gz
- Go to the PyFerret installation directory.
cd /path/to/PyFerret/pyferret/bin

- 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.
- Load the environment variables.
cd /path/to/PyFerret source ferret_paths.sh
- 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:

Parent topic: PyFerret 7.6.0 Porting Guide (openEuler 21.03)