Computation functions

Statistics

accumulate()

Add up the values per field in a Fieldset

average()

Compute the average per field in a Fieldset

average_ew()

Compute the zonal averages for each field in a Fieldset

average_ns()

Compute the meridional averages for each field in a Fieldset

corr_a()

Compute the area-weighted correlation for each field in a Fieldset

covar()

Return the covariance of two Fieldset objects

covar_a()

Compute the area-weighted covariance for each field in a Fieldset

deacc()

De-accumulate values in a Fieldset

frequencies()

Compute the frequencies of a Fieldset

integrate()

Compute the average weighted by the gridcell area for each field in Fieldset

max()

Maximum

maxvalue()

Maximum value of a Fieldset

mean()

Return the mean of the values in a Fieldset or Geopoints

mean_ew()

Generate a Fieldset out of East-West means

min()

Minimum

minvalue()

Minimum value of a Fieldset or Geopoints

percentile()

Compute a set of percentiles in a Fieldset

rms()

Compute he pointwise root mean square for Fieldset

rms_a()

Compute the area-weighted root mean square for Fieldset

stdev()

Return the standard deviation of all the fields in a Fieldset

stdev_a()

Compute the area-weighted standard deviation for each field in a Fieldset

sum()

Compute the sum of the values in a Fieldset or Geopoints

var()

Return the variance of all the fields in a Fieldset

var_a()

Compute the area-weighted variance for each field in a Fieldset

Geographic

bearing()

Compute the bearings with respect to a reference in a Fieldset point

convolve()

Perform spatial convolution on a Fieldset

coslat()

Generate a field with the cosine of the latitudes in a Fieldset

distance()

Compute the distances in a Fieldset or Geopoints to a reference point

geosort()

Sort a Geopoints North to South and West to East

grid_cell_area()

Compute the grid cell area in a Fieldset

interpolate()

Interpolate Fieldset values to the specified location

latitudes()

Return the latitudes of a Fieldset or Geopoints

longitudes()

Return the longitudes from a Fieldset or Geopoints

nearest_gridpoint()

Return the nearest grid point value from a Fieldset

nearest_gridpoint_info()

Return the nearest grid point value from a Fieldset

offset()

Offsets the locations of Geopoints

regrid()

Regridding and derivatives

reprojection()

Repoject satellite view GRIB data onto a latlon grid

sinlat()

Generate a field with the cosine of the latitudes in a Fieldset

smooth_gaussian()

Perform spatial smoothing on a Fieldset

smooth_n_points()

Perform spatial smoothing on a Fieldset

solar_zenith_angle()

Compute the solar zenith angle for a Fieldset

subsample()

Filter the points of the first Geopoints that exist in the second one

surrounding_points_indexes()

Return the indexes of the four surrounding grid points in a Fieldset

tanlat()

Generate a field with the tangent of the latitudes in a Fieldset

Masking

bitmap()

Convert numbers to missing values in a Fieldset

mask()

Generate masks for a Fieldset or Geopoints

nobitmap()

Convert missing values to numbers in a Fieldset

poly_mask()

Generate polygon masks for a Fieldset

remove_missing_latlons()

Removing missing lat/lons form a Geopoints

remove_missing_values()

Remove missing values from a Geopoints

rmask()

Generate masks based on a radius around a point for Fieldset

Wind

absolute_vorticity()

Compute the absolute vorticity from a relative vorticity Fieldset

direction()

Compute the wind direction

divrot()

Compute the rotational wind from a spectral vorticity Fieldset

divwind()

Compute the divergent wind from a spectral divergence Fieldset

geostrophic_wind()

Compute the geostrophic wind on pressure levels in a Fieldset

speed()

Compute the wind speed from a u and v component Fieldset

streamfn()

Compute the stream function from a spectral vorticity Fieldset

uvwind()

Compute u/v from a spectral vorticty and divegence Fieldset

velpot()

Compute the velocity potential from a spectral divergence Fieldset

xy_from_polar()

Compute the x and y components from polar components

Vertical

geopotential_from_height()

Compute the geopotential from geometric height

height_from_geopotential()

Compute the geometric height from geopotential

mcross_sect()

Generate data for the cross section view

mhovmoeller_area()

Generate data for the Hovmoeller area mode

mhovmoeller_expand()

Generate data for the Hovmoeller expand mode

mhovmoeller_line()

Generate data for the Hovmoeller line mode

mhovmoeller_vertical()

Generate data for the Hovmoeller vertical mode

ml_to_hl()

Interpolate a model level Fieldset to height levels

mvert_prof()

Generate data for the vertical profile view

mvl_geopotential_on_ml()

Compute the geopotential on model levels for a Fieldset

mvl_ml2hPa()

Interpolate a Fieldset on model levels to pressure levels (in hPa)

mxs_average()

Generate data for the average view

pl_to_hl()

Interpolate a pressure level Fieldset to height levels

pl_to_pl()

Interpolate pressure level fields to pressure levels

pressure()

Compute the pressure on model levels in a Fieldset (deprecated)

pressure_derivative()

Compute the verical pressure derivative

q_vector()

Compute the Q-vector

static_stability()

Compute the static stability

thickness()

Compute the pressure thickness on model levels in a Fieldset (deprecated)

unipressure()

Compute the pressure on model levels in a Fieldset

unithickness()

Compute the pressure thickness of model levels in a Fieldset

univertint()

Perform a vertical integration for a Fieldset

vertint()

Perform a vertical integration for a Fieldset (deprecated)

w_from_omega()

Compute the vertical velocity in m/s from pressure velocity

Thermodynamics

dewpoint_from_relative_humidity()

Compute the dewpoint for a given temperature and relative humidity

dewpoint_from_specific_humidity()

Compute the dewpoint for a given specific humidity and pressure

eqpott_m()

Compute the equivalent potential temperature on model levels

eqpott_p()

Compute the equivalent potential temperature on pressure levels

lifted_condensation_level()

Compute the Lifted Condensation Level (LCL) using the parcel method

mixing_ratio()

Compute the mixing ratio from specific humidity

potential_temperature()

Compute the potential temperature for a given temperature and pressure

pott_m()

Compute the potential temperature on model levels

pott_p()

Compute the potential temperature on pressure levels

relative_humidity_from_dewpoint()

Compute the relative humidity for a given temperature and dewpoint

relative_humidity_from_specific_humidity()

Compute the relative humidity from specific humidity

relhum()

Compute the relative humidity from specific humidity

saturation_mixing_ratio()

Compute the saturation mixing ratio for a given temperature and pressure

saturation_vapour_pressure()

Compute the saturation vapour pressure for a given temperature

seqpott_m()

Compute the saturation equivalent potential temperature on model levels

seqpott_p()

Compute the saturation equivalent potential temperature on pressure levels

specific_humidity_from_dewpoint()

Compute the specific humidity for a given dewpoint and pressure

temperature_from_potential_temperature()

Compute the temperature from potential tempearture and pressure

thermo_bufr()

Generate thermodynamical profile from Bufr

thermo_data_info()

Extracts information from a thermo data object

thermo_data_values()

Extracts data and metadata from a thermo data object

thermo_grib()

Generate thermodynamical profile from GRIB

thermo_parcel_area()

Return a set of coloured areas from a thermo parcel path

thermo_parcel_path()

Compute the path of an ascending thermodynamic parcel

vapour_pressure()

Compute the vapour pressure for a given specific humidity and pressure

virtual_temperature()

Compute the virtual temperature for a given temperature and specific humidity

Calculus

divergence()

Compute the horizontal divergence of a vector Fieldset

first_derivative_x()

Compute first West-East derivative of a Fieldset

first_derivative_y()

Compute first South-North derivative of a Fieldset

gradient()

Compute horizontal gradient of a Fieldset

integral()

Compute the surface integral of a Fieldset

laplacian()

Compute the horizontal Laplacian of Fieldset

regrid()

Regridding and derivatives

second_derivative_x()

Compute the second West-East derivative of a Fieldset

second_derivative_y()

Compute the econd South-North derivative of a Fieldset

shear_deformation()

Compute the shear deformation of a vector Fieldset

stretch_deformation()

Compute the stretch deformation of a vector Fieldset

vorticity()

Compute the relative vorticity of a vector Fieldset

Basic mathematics

abs()

Compute the absolute value

acos()

Compute the arc cosine

asin()

Compute the arc sine

atan()

Compute the arc tangent

atan2()

Compute the arc tangent of 2 Fieldset objects

cos()

Compute the cosine

div()

Compute the integer part of a divison

exp()

Compute the exponential

intbits()

Return ranges of bits

log()

Compute the natural logarithm

log10()

Compute the base 10 logarithm

mod()

Compute the integer remainder of a divison

sgn()

Compute the sign

sin()

Compute the sine

sqrt()

Compute the square root

tan()

Compute the tangent