max
- max(fs)
- max(fs, other_fs)
- max(fs, value)
- max(fs, gpt)
Computes the point-wise maximum of
fs
.- Parameters
- Return type
The actual behaviour of
max()
depends on the arguments:if
fs
is the only argumentmax()
returns aFieldset
with a single field containing the maximum value offs
at each grid point or spectral coefficient. A missing value anywhere infs
will result in a missing value in the corresponding place in the output.if
other_fs
is specifiedmax()
returns aFieldset
containing the maximum offs
andother_fs
at each grid point or spectral coefficient. A missing value anywhere infs
orother_fs
will result in a missing value in the corresponding place in the output.if
value
is specifiedmax()
returns aFieldset
containing the maximum offs
andvalue
at each grid point or spectral coefficient. A missing value anywhere infs
will result in a missing value in the corresponding place in the output.if
gpt
is specifiedmax()
returns aGeopoints
containing the maximum offs
andgpt
at each location ingpt
. A missing value anywhere infs
orgpt
will result in aGeopoints
missing value in the corresponding place in the output.
- max(nc, nc_other)