GRIB (Fieldset) functions

This is the list of all the functions related to GRIB (Fieldset) data.

abs()

Computes the absolute value

absolute_vorticity()

Computes the absolute vorticity from a relative vorticity Fieldset

accumulate()

Adds up the values per field in a Fieldset

acos()

Computes the arc cosine

append()

Appends the given data to file

asin()

Computes the arc sine

atan()

Computes the arc tangent

atan2()

Computes the arc tangent of 2 Fieldset objects

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

base_date()

Returns the base date(s) of a given Fieldset

bearing()

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

bitmap()

Converts numbers to missing values in a Fieldset

cleanfile()

Removes unwanted header padding from GRIB and Bufr files

convolve()

Performs spatial convolution on a Fieldset

corr_a()

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

cos()

Computes the cosine

coslat()

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

covar()

Returns the covariance of two Fieldset objects

covar_a()

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

datainfo()

Returns information on missing values in a Fieldset

dataset_to_fieldset()

Converts an xndarray dataset to a Fieldset

deacc()

De-accumulate values in a Fieldset

describe()

Prints summary of the contents of a Fieldset

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

direction()

Computes the wind direction

distance()

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

div()

Computes the integer part of a divison

divergence()

Computes the horizontal divergence of a vector Fieldset

divrot()

Computes the rotational wind from a spectral vorticity Fieldset

divwind()

Computes the divergent wind from a spectral divergence Fieldset

duplicate()

Duplicates a field N times

eccharts()

Retrieves and plots ecCharts layers

eqpott_m()

Computes the equivalent potential temperature on model levels

eqpott_p()

Computes the equivalent potential temperature on pressure levels

exp()

Computes the exponential

file()

Returns a file handler for the specified filename

fill_missing_values_ew()

Fills missing values along the horizontal line

find()

Find locations of values in a Fieldset

first_derivative_x()

Computes first West-East derivative of a Fieldset

first_derivative_y()

Computes first South-North derivative of a Fieldset

float()

Converts int GRIB to float GRIB

frequencies()

Computes the frequencies of a Fieldset

geo_to_grib()

Converts Geopoints data to GRIB

geostrophic_wind()

Computes the geostrophic wind on pressure levels in a Fieldset

gfind()

Finds values in field and returns the result as Geopoints

gradient()

Computes horizontal gradient of a Fieldset

grib_get()

Reads GRIB headers using ecCodes keys

grib_get_double()

Reads GRIB headers using ecCodes keys

grib_get_double_array()

Reads GRIB headers using ecCodes keys

grib_get_long()

Reads GRIB headers using ecCodes keys

grib_get_long_array()

Reads GRIB headers using ecCodes keys

grib_get_string()

Reads GRIB headers using ecCodes keys

grib_indexes()

Returns list of indexes into the fields of the Fieldset

grib_set()

Writes GRIB headers using ecCodes keys

grib_set_double()

Writes GRIB headers using ecCodes keys

grib_set_long()

Writes GRIB headers using ecCodes keys

grib_set_long_array()

Writes GRIB headers using ecCodes keys

grib_set_string()

Writes GRIB headers using ecCodes keys

grib_to_geo()

Converts GRIB data into Geopoints

grib_vectors()

Combines GRIB scalar fields into vector data

gribsetbits()

Sets GRIB packing bit width

grid_cell_area()

Computes the grid cell area in a Fieldset

indexes()

Builds a Fieldset containing each gridpoint’s indexed position in the given vector

int()

Integer part

integer()

Converts float GRIB to int GRIB

integral()

Computes the surface integral of a Fieldset

integrate()

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

interpolate()

Interpolates Fieldset values to the specified location

laplacian()

Computes the horizontal Laplacian of Fieldset

latitudes()

Returns the latitudes of a Fieldset or Geopoints

log()

Computes the natural logarithm

log10()

Computes the base 10 logarithm

longitudes()

Returns the longitudes from a Fieldset or Geopoints

lookup()

Builds an output Fieldset using the values in the first as indices into the second

ls()

Dumps metadata for each message in a Fieldset

mask()

Generates masks for a Fieldset or Geopoints

maverageview()

Creates an average view

max()

Maximum

maxvalue()

Maximum value of a Fieldset

mcross_sect()

Generates data for the cross section view

mean()

Returns the mean of the values in a Fieldset or Geopoints

mean_ew()

Generates a Fieldset out of East-West means

merge()

Merges 2 sets of Fieldset or Geopoints

met3d_prepare()

Retrieves and prepare GRIB data for Met3D

min()

Minimum

minvalue()

Minimum value of a Fieldset or Geopoints

mixing_ratio()

Computes the mixing ratio from specific humidity

ml_to_hl()

Interpolates a model level Fieldset to height levels

mod()

Computes the integer remainder of a divison

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

nearest_gridpoint()

Returns the nearest grid point value from a Fieldset

nearest_gridpoint_info()

Returns the nearest grid point value from a Fieldset

nobitmap()

Converts missing values to numbers in a Fieldset

percentile()

Computes a set of percentiles in a Fieldset

pl_to_pl()

Interpolates pressure level fields to pressure levels

poly_mask()

Generates polygon masks for a Fieldset

pott_m()

Computes the potential temperature on model levels

pott_p()

Computes the potential temperature on 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

read()

Filters and interpolates Fieldset data

read()

Reads the given file and returns a variable of the appropriate type

regrid()

Regridding and derivatives

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

reprojection()

Repoject satellite view GRIB data onto a latlon grid

retrieve()

Retrieves data from MARS

rmask()

Generates masks based on a radius around a point for Fieldset

rms()

Computes he pointwise root mean square for Fieldset

rms_a()

Computes the area-weighted root mean square for Fieldset

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

second_derivative_x()

Computes the second West-East derivative of a Fieldset

second_derivative_y()

Computes the econd South-North derivative of a Fieldset

select()

Filters Fieldset data by ecCodes keys with metadata indexing

seqpott_m()

Computes the saturation equivalent potential temperature on model levels

seqpott_p()

Computes the saturation equivalent potential temperature on pressure levels

set_latitudes()

Sets the latitudes in a Fieldset or Geopoints

set_longitudes()

Sets the longitudes in a Fieldset or Geopoints

set_values()

Sets the values in a Fieldset or Geopoints

sgn()

Computes the sign

shear_deformation()

Compute the shear deformation of a vector Fieldset

sin()

Computes the sine

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

sort()

Sorts a Fieldset

spec_graph()

Defines visualisation for spectrum of GRIB data

specific_humidity_from_dewpoint()

Computes the specific humidity for a given dewpoint and pressure

speed()

Computes the wind speed from a u and v component Fieldset

sqrt()

Computes the square root

static_stability()

Computes the static stability

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

streamfn()

Computes the stream function from a spectral vorticity Fieldset

stretch_deformation()

Compute the stretch deformation of a vector Fieldset

sum()

Computes the sum of the values in a Fieldset or Geopoints

surrounding_points_indexes()

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

tan()

Computes the tangent

tanlat()

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

thermo_grib()

Generates thermodynamical profile from GRIB

thickness()

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

to_dataset()

Converts a Fieldset to an xndarray dataset

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

uvwind()

Computes u/v from a spectral vorticty and divegence Fieldset

valid_date()

Returns the valid date(s) of a given Fieldset

values()

Returns the values from a data object

vapor_prepare()

Prepares and visualises GRIB data in Vapor

vapour_pressure()

Computes the vapour pressure for a given specific humidity and pressure

var()

Returns the variance of all the fields in a Fieldset

var_a()

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

velpot()

Computes the velocity potential from a spectral divergence Fieldset

vertint()

Performs a vertical integration for a Fieldset (deprecated)

vorticity()

Computes the relative vorticity of a vector Fieldset

w_from_omega()

Computes the vertical velocity in m/s from pressure velocity

write()

Writes/appends the given data to file

xy_from_polar()

Computes the x and y components from polar components