Computation functions

Statistics

accumulate()

Adds up the values per field in a Fieldset

average()

Computes the average per field in a Fieldset

average_ew()

Computes the zonal averages for each field in a Fieldset

average_ns()

Computes the meridional averages for each field in a Fieldset

corr_a()

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

covar()

Returns the covariance of two Fieldset objects

covar_a()

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

deacc()

De-accumulate values in a Fieldset

frequencies()

Computes the frequencies of a Fieldset

integrate()

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

max()

Maximum

maxvalue()

Maximum value of a Fieldset

mean()

Returns the mean of the values in a Fieldset or Geopoints

mean_ew()

Generates a Fieldset out of East-West means

min()

Minimum

minvalue()

Minimum value of a Fieldset or Geopoints

percentile()

Computes a set of percentiles in a Fieldset

rms()

Computes he pointwise root mean square for Fieldset

rms_a()

Computes the area-weighted root mean square for Fieldset

stdev()

Returns the standard deviation of all the fields in a Fieldset

stdev_a()

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

sum()

Computes the sum of the values in a Fieldset or Geopoints

var()

Returns the variance of all the fields in a Fieldset

var_a()

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

Geographic

bearing()

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

convolve()

Performs spatial convolution on a Fieldset

coslat()

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

distance()

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

geosort()

Sorts a Geopoints North to South and West to East

grid_cell_area()

Computes the grid cell area in a Fieldset

interpolate()

Interpolates Fieldset values to the specified location

latitudes()

Returns the latitudes of a Fieldset or Geopoints

longitudes()

Returns the longitudes from a Fieldset or Geopoints

nearest_gridpoint()

Returns the nearest grid point value from a Fieldset

nearest_gridpoint_info()

Returns 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()

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

smooth_gaussian()

Performs spatial smoothing on a Fieldset

smooth_n_points()

Performs spatial smoothing on a Fieldset

solar_zenith_angle()

Computes the solar zenith angle for a Fieldset

subsample()

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

surrounding_points_indexes()

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

tanlat()

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

Masking

bitmap()

Converts numbers to missing values in a Fieldset

mask()

Generates masks for a Fieldset or Geopoints

nobitmap()

Converts missing values to numbers in a Fieldset

poly_mask()

Generates polygon masks for a Fieldset

remove_missing_latlons()

Removing missing lat/lons form a Geopoints

remove_missing_values()

Removes missing values from a Geopoints

rmask()

Generates masks based on a radius around a point for Fieldset

Wind

absolute_vorticity()

Computes the absolute vorticity from a relative vorticity Fieldset

direction()

Computes the wind direction

divrot()

Computes the rotational wind from a spectral vorticity Fieldset

divwind()

Computes the divergent wind from a spectral divergence Fieldset

geostrophic_wind()

Computes the geostrophic wind on pressure levels in a Fieldset

speed()

Computes the wind speed from a u and v component Fieldset

streamfn()

Computes the stream function from a spectral vorticity Fieldset

uvwind()

Computes u/v from a spectral vorticty and divegence Fieldset

velpot()

Computes the velocity potential from a spectral divergence Fieldset

xy_from_polar()

Computes the x and y components from polar components

Vertical

mcross_sect()

Generates data for the cross section view

mhovmoeller_area()

Generates data for the Hovmoeller area mode

mhovmoeller_expand()

Generates data for the Hovmoeller expand mode

mhovmoeller_line()

Generates data for the Hovmoeller line mode

mhovmoeller_vertical()

Generates data for the Hovmoeller vertical mode

ml_to_hl()

Interpolates a model level Fieldset to height levels

mvert_prof()

Generates data for the vertical profile view

mvl_geopotential_on_ml()

Computes the geopotential on model levels for a Fieldset

mvl_ml2hPa()

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

mxs_average()

Generates data for the average view

pl_to_pl()

Interpolates pressure level fields to pressure levels

pressure()

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

pressure_derivative()

Computes the verical pressure derivative

q_vector()

Computes the Q-vector

static_stability()

Computes the static stability

thickness()

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

unipressure()

Computes the pressure on model levels in a Fieldset

unithickness()

Computes the pressure thickness of model levels in a Fieldset

univertint()

Performs a vertical integration for a Fieldset

vertint()

Performs a vertical integration for a Fieldset (deprecated)

w_from_omega()

Computes the vertical velocity in m/s from pressure velocity

Thermodynamics

dewpoint_from_relative_humidity()

Computes the dewpoint for a given temperature and relative humidity

dewpoint_from_specific_humidity()

Computes the dewpoint for a given specific humidity and pressure

eqpott_m()

Computes the equivalent potential temperature on model levels

eqpott_p()

Computes the equivalent potential temperature on pressure levels

lifted_condensation_level()

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

mixing_ratio()

Computes the mixing ratio from specific humidity

potential_temperature()

Computes the potential temperature for a given temperature and pressure

pott_m()

Computes the potential temperature on model levels

pott_p()

Computes the potential temperature on pressure levels

relative_humidity_from_dewpoint()

Computes the relative humidity for a given temperature and dewpoint

relative_humidity_from_specific_humidity()

Computes the relative humidity from specific humidity

relhum()

Computes the relative humidity from specific humidity

saturation_mixing_ratio()

Computes the saturation mixing ratio for a given temperature and pressure

saturation_vapour_pressure()

Computes the saturation vapour pressure for a given temperature

seqpott_m()

Computes the saturation equivalent potential temperature on model levels

seqpott_p()

Computes the saturation equivalent potential temperature on pressure levels

specific_humidity_from_dewpoint()

Computes the specific humidity for a given dewpoint and pressure

temperature_from_potential_temperature()

Computes the temperature from potential tempearture and pressure

thermo_bufr()

Generates 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()

Generates thermodynamical profile from GRIB

thermo_parcel_area()

Returns a set of coloured areas from a thermo parcel path

thermo_parcel_path()

Computes the path of an ascending thermodynamic parcel

vapour_pressure()

Computes the vapour pressure for a given specific humidity and pressure

virtual_temperature()

Computes the virtual temperature for a given temperature and specific humidity

Calculus

divergence()

Computes the horizontal divergence of a vector Fieldset

first_derivative_x()

Computes first West-East derivative of a Fieldset

first_derivative_y()

Computes first South-North derivative of a Fieldset

gradient()

Computes horizontal gradient of a Fieldset

integral()

Computes the surface integral of a Fieldset

laplacian()

Computes the horizontal Laplacian of Fieldset

regrid()

Regridding and derivatives

second_derivative_x()

Computes the second West-East derivative of a Fieldset

second_derivative_y()

Computes 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()

Computes the relative vorticity of a vector Fieldset

Basic mathematics

abs()

Computes the absolute value

acos()

Computes the arc cosine

asin()

Computes the arc sine

atan()

Computes the arc tangent

atan2()

Computes the arc tangent of 2 Fieldset objects

cos()

Computes the cosine

div()

Computes the integer part of a divison

exp()

Computes the exponential

intbits()

Returns ranges of bits

log()

Computes the natural logarithm

log10()

Computes the base 10 logarithm

mod()

Computes the integer remainder of a divison

sgn()

Computes the sign

sin()

Computes the sine

sqrt()

Computes the square root

tan()

Computes the tangent