MagFieldsCalc

Workspace.MagFieldsCalc(self: pyarts.arts._Workspace, mag_u_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3 | None = self.mag_u_field, mag_v_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3 | None = self.mag_v_field, mag_w_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3 | None = self.mag_w_field, p_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.p_grid, lat_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.lat_grid, lon_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.lon_grid, mag_u_field_raw: pyarts.arts.WorkspaceVariable | pyarts.arts.GriddedField3 | None = self.mag_u_field_raw, mag_v_field_raw: pyarts.arts.WorkspaceVariable | pyarts.arts.GriddedField3 | None = self.mag_v_field_raw, mag_w_field_raw: pyarts.arts.WorkspaceVariable | pyarts.arts.GriddedField3 | None = self.mag_w_field_raw, atmosphere_dim: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.atmosphere_dim, interp_order: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 1, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Interpolation of raw magnetic fields to calculation grids. Heritage from AtmFieldsCalc()

Internally, MagFieldsCalc() applies GriddedFieldPRegrid() and GriddedFieldLatLonRegrid(). Generally, ‘half-grid-step’ extrapolation is allowed and applied.

Author(s): Richard Larsson

Parameters:
  • mag_u_field (Tensor3, optional) – Zonal component of the magnetic field. See mag_u_field, defaults to self.mag_u_field [OUT]

  • mag_v_field (Tensor3, optional) – Meridional component of the magnetic field. See mag_v_field, defaults to self.mag_v_field [OUT]

  • mag_w_field (Tensor3, optional) – Vertical component of the magnetic field. See mag_w_field, defaults to self.mag_w_field [OUT]

  • p_grid (Vector, optional) – The pressure grid. See p_grid, defaults to self.p_grid [IN]

  • lat_grid (Vector, optional) – The latitude grid. See lat_grid, defaults to self.lat_grid [IN]

  • lon_grid (Vector, optional) – The longitude grid. See lon_grid, defaults to self.lon_grid [IN]

  • mag_u_field_raw (GriddedField3, optional) – Raw zonal component of the magnetic field. See mag_u_field_raw, defaults to self.mag_u_field_raw [IN]

  • mag_v_field_raw (GriddedField3, optional) – Raw meridional component of the magnetic field. See mag_v_field_raw, defaults to self.mag_v_field_raw [IN]

  • mag_w_field_raw (GriddedField3, optional) – Raw vertical component of the magnetic field. See mag_w_field_raw, defaults to self.mag_w_field_raw [IN]

  • atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See atmosphere_dim, defaults to self.atmosphere_dim [IN]

  • interp_order (Index, optional) – Interpolation order (1=linear interpolation). Defaults to 1 [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]