Skip to content

PyFerret 7.3

Compare
Choose a tag to compare
@karlmsmith karlmsmith released this 04 Dec 18:28
· 8797 commits to master since this release

Release notes are found at http://ferret.pmel.noaa.gov/Ferret/documentation/release-notes/version-7-3-release-notes

Installing pre-built packages

The pre-built distributions are built with HDF5-1.8.18, NetCDF-4.4.1.1, and Cairographics-1.14.10 built in.

The distribution pyferret-7.3-RHEL7-64.tar.gz was build on a RedHat Enterprise Linux v7.3 system. This distribution should be used for 64-bit systems using Python 2.7 (most modern Linux systems) and PyQt4.

The distribution pyferret-7.3-RHEL6-64.tar.gz was build on a RedHat Enterprise Linux v6.9 system. This distribution should be used for 64-bit systems using Python 2.6 (older Linux systems) and PyQt4.

You will need to have the following packages installed using your software manager application, or using a command-line package installation program such as yum or apt-get (which needs to be run as the root user or using the sudo privilege escalation program.)

Required packages may not be already be installed:

  • numpy or python-numpy (NumPy)
  • libgfortran (Fortran library; if you install SciPy, it will be installed)
  • PyQt4 or python-qt4 (Python binding for Qt4; may already be installed)

Highly recommended but optional packages:

  • scipy or python-scipy (SciPy)
  • pyshp or python-pyshp (PyShp for shapefile functions)

You may also wish to install the netcdf and nco packages to provide some useful programs for working with NetCDF files (such as ncdump and ncattted which are used in the benchmark tests).

If you do not have the Ferret standard datasets, they can be obtained from the NOAA-PMEL/FerretDatasets GitHub repo.

To install, go to the directory to contain the PyFerret subdirectory that this tar file will create and run the command tar xzf pyferret-7.3-RHEL7-64.tar.gz if you downloaded the RHEL7 package, or tar xzf pyferret-7.3-RHEL6-64.tar.gz if you downloaded the RHEL6 package. Then go into the pyferret-7.3-RHEL7-64 or pyferret-7.3-RHEL6-64 subdirectory that was created and run the bin/Finstall script to create the ferret_paths.csh and ferret_paths.sh scripts. (For the PyFerret installation directory, you can answer . - a period representing the current directory.)

To setup the environment variables for running PyFerret, source the appropriate ferret_paths script (the .sh script for bash shells, the .csh script for c-shells). At this point, the pyferret command (script) should successfully start PyFerret and give you the Ferret yes? prompt.