ARTS built-in documentation server

Workspace Method jacobianAddSurfaceQuantity

Description

Includes a surface quantity in the Jacobian.

The quantity is specified by the GIN-variable *quantity*. The name
of the quantity must match the name used in surface_props_names.

For 1D or 2D calculations the latitude and/or longitude grid of
the retrieval field should set to have zero length.

The number of elements added to the state vector (x) is:
   n_g1 * n_g2
where n_g1 and n_g2 are the length of GIN *g1* and *g2*, respectively.
Here empty vectors should be considered to have a length 1.
The elements are sorted with latitude as innermost loop and longitude
as outermost loop.

Authors: Patrick Eriksson

Synopsis

jacobianAddSurfaceQuantity( jacobian_quantities, jacobian_agenda, atmosphere_dim, lat_grid, lon_grid, g1, g2, quantity )

Variables

OUT+INjacobian_quantities(ArrayOfRetrievalQuantity)The retrieval quantities in the Jacobian matrix.
OUT+INjacobian_agenda(Agenda)Pure numerical Jacobian calculation agenda.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
GINg1(Vector)Latitude retrieval grid.
GINg2(Vector)Longitude retreival grid.
GINquantity(String)Retrieval quantity, e.g. "Wind speed".