longitudes

longitudes(fs)

Returns the longitudes of the grid points on fs as an ndarray.

Parameters

fs (Fieldset) – input fieldset

Return type

1D-ndarray or list of 1D-ndarrays

If fs contains more than one field a list of ndarrays is returned. Each of these ndarrays contains one value per gridpoint in each field.

longitudes(gpt)

Returns the longitudes column of gpt as an ndarray.

Parameters

gpt (Geopoints) – input geopoints

Return type

ndarray