Some Ferret tips and pointers

From Planets
Revision as of 13:14, 17 October 2023 by Mwolff (talk | contribs) (Ferret)

Jump to: navigation, search

Ferret

Ferret is a NetCDF vizualisation tool which can be used to postprocess and visualize PCM outputs.

This free software is from NOAA (National Oceanic and Atmospheric Administration) and the relevant webpage where you can learn how to install and use it is here: https://ferret.pmel.noaa.gov/Ferret/

[For Mac users] It is recommended to use/migrate-to PyFerret. However, There is a bug in the Mac OSX version as of 2023-June with respect to plotting. The bug is not subtle as the plotting does not work. See section below.

For first timers

Ferret is essentially a command line tool so the first thing you'll need to do is launch it from your terminal

ferret

(on some system, e.g. Ubuntu, the executable is called ferret_viz because another unrelated software also called ferret exists).

Once under Ferret you should see the Ferret prompt:

yes?

To load a datafile, for example diagfi.nc issue command:

yes? use diagfi.nc

Once the file has been loaded, you can query for its contents with the command show data ...

Various tips and pointers

...

How to make a 1D plot

...

How to make a 2D map

...

How to compute a zonal average

...

Installation tips

Mac Graphics bug