Difference between revisions of "Some Ferret tips and pointers"

From Planets
Jump to: navigation, search
(Graphics bug in Mac OSX version as of summer 2023)
(Ferret)
Line 4: Line 4:
 
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/
 
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] 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 [[Some_Ferret_tips_and_pointers#Installation_tips| section below]].
+
[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 [[Some_Ferret_tips_and_pointers#Installation_tips| section below]].
  
 
== For first timers ==
 
== For first timers ==

Revision as of 13:14, 17 October 2023

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