...
This function sets the number of GRIB packing bits to the value given (eg 8, 10, 16), and returns the previously used internal value. This function is particularly useful when dealing with 10-bit satellite images as these require GRIB packing to be set to 10 bits.
Anchor grid_cell_area grid_cell_area fieldset grid_cell_area ( fieldset )
Computes the area of each grid cell in a fieldset with the grid points supposed to be at the centre of the grid cells. The grid cell area is returned in m2 units. This function only works for regular latitude-longitude grids and various types of Gaussian grids.
fieldset indexes ( fieldset, vector ) Anchor indexes indexes
...
GRIB: 1,3,5,5
2,4,5,5
1,0,3,1
Anchor | ||||
---|---|---|---|---|
|
number or list integral (fieldset)
Computes the surface integral of each field in a fieldset. The result is either a number (for one input field) or a list of numbers (for multiple input fields). The computations are based on the cell area (in m2 units) returned by the grid_cell_area()
function.
number or list Anchor integrate integrate integrate
( fieldset )
number or list integrate
( fieldset,list )
number or list integrate
( fieldset,fieldset )
...