ARTS built-in documentation server
Workspace Method MagFieldsCalcExpand1D
Description
Interpolation of 1D raw atmospheric fields to create 2D or 3D homogeneous magnetic fields. Derived from AtmFieldsCalcExpand1D The method works as MagFieldsCalc, but accepts only raw 1D magnetic fields. The raw data is interpolated to p_grid and the obtained values are applied for all latitudes, and also longitudes for 3D, to create a homogeneous atmosphere.
Authors: Richard Larsson
Synopsis
MagFieldsCalcExpand1D( | mag_u_field, mag_v_field, mag_w_field, p_grid, lat_grid, lon_grid, mag_u_field_raw, mag_v_field_raw, mag_w_field_raw, atmosphere_dim, interp_order ) |
Variables
OUT | mag_u_field | (Tensor3) | Zonal component of the magnetic field. |
OUT | mag_v_field | (Tensor3) | Meridional component of the magnetic field. |
OUT | mag_w_field | (Tensor3) | Vertical component of the magnetic field. |
IN | p_grid | (Vector) | The pressure grid. |
IN | lat_grid | (Vector) | The latitude grid. |
IN | lon_grid | (Vector) | The longitude grid. |
IN | mag_u_field_raw | (GriddedField3) | Raw zonal component of the magnetic field. |
IN | mag_v_field_raw | (GriddedField3) | Raw meridional component of the magnetic field. |
IN | mag_w_field_raw | (GriddedField3) | Raw vertical component of the magnetic field. |
IN | atmosphere_dim | (Index) | The atmospheric dimensionality (1-3). |
GIN | interp_order | (Index, Default: 1) | Interpolation order (1=linear interpolation). |