mhovmoeller_expand

../../_images/MHOVMOELLERDATA.png

Allows the production of Hovmoeller diagrams to be computed incrementally. This could be useful, for example, if the input data is too large or the Hovmoeller diagram needs to be updated periodically (e.g. to produce a diagram operationally during a certain period of time).

The resulting data can be plotted (using a default visualisation and with the plot area based on the range of data values) or saved as a NetCDF data file using write().

If access to the computed values is not required, or for more control of the plotting, use mhovmoellerview().

Note

This function performs the same task as the Hovmoeller Data icon in Metview’s user interface. It accepts its parameters as keyword arguments, described below.

mhovmoeller_expand(**kwargs)

Provides input for expanding Hovmoeller diagrams that have been derived previously.

Parameters
  • netcdf_path (str) – Specifies the NetCDF file path and name. Alternatively, netcdf_data can be used.

  • netcdf_data (NetCDF) – Specifies the data (NetCDF) from which to expand the Hovmoeller diagram. Takes precedence over netcdf_path.

  • data_path (str) – Specifies the input GRIB file path and name. Alternatively, data can be used.

  • data (Fieldset) – Specifies the GRIB data (Fieldset) from which to derive the Hovmeller diagram. data must specify a time-series of a meteorological variable in a latitude-longitude or Gaussian grid.

Return type

NetCDF