Running and Verification
Procedure
- 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
- Use an SFTP tool to upload FerretDatasets-7.6.tar.gz to the /path/to/PyFerret directory on the server.
- Use PuTTY to log in to the server as the root user.
- Decompress FerretDatasets-7.6.tar.gz.
tar -zxvf FerretDatasets-7.6.tar.gz
- Go to the PyFerret installation directory.
cd pyferret/bin
- 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.
- Load the environment variables.
source ferret_paths.sh
- 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
Parent topic: PyFerret 7.6.0 Porting Guide (CentOS 7.6)