min

min(fs)
min(fs, other_fs)
min(fs, value)
min(fs, gpt)

Computes the point-wise minimum of fs.

Parameters
  • fs (Fieldset) – input fieldset

  • other_fs (Fieldset) – another input fieldset

  • value (number) – input numerical value

  • gpt (Geopoints) – input geopoints data

Return type

Fieldset or Geopoints

The actual behaviour of min() depends on the arguments:

  • if fs is the only argument min() returns a Fieldset with a single field containing the minimum value of fs at each grid point or spectral coefficient. A missing value anywhere in fs will result in a missing value in the corresponding place in the output.

  • if other_fs is specified min() returns a Fieldset containing the minimum of fs and other_fs at each grid point or spectral coefficient. A missing value anywhere in fs or other_fs will result in a missing value in the corresponding place in the output.

  • if value is specified min() returns a Fieldset containing the minimum of fs and value at each grid point or spectral coefficient. A missing value anywhere in fs will result in a missing value in the corresponding place in the output.

  • if gpt is specified min() returns a Geopoints containing the minimum of fs and gpt at each location in gpt. A missing value anywhere in fs or gpt will result in a Geopoints missing value in the corresponding place in the output.

min(nc, nc_other)
min(nc, value)

Returns the NetCDF of the minumum value of nc and nc_other or value.

Parameters
  • nc (NetCDF) – input nectdf

  • nc_other (NetCDF) – another input nectdf

  • value (number) – value

Return type

NetCDF