AtmFieldsAndParticleBulkPropFieldFromCompact

Workspace.AtmFieldsAndParticleBulkPropFieldFromCompact(self: pyarts.arts._Workspace, 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, t_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3 | None = self.t_field, z_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3 | None = self.z_field, vmr_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor4 | None = self.vmr_field, particle_bulkprop_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor4 | None = self.particle_bulkprop_field, particle_bulkprop_names: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfString | None = self.particle_bulkprop_names, abs_species: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfSpeciesTag | None = self.abs_species, atm_fields_compact: pyarts.arts.WorkspaceVariable | pyarts.arts.GriddedField4 | None = self.atm_fields_compact, atmosphere_dim: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.atmosphere_dim, delim: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = '-', p_min: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 0, check_gridnames: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Extract pressure grid and atmospheric fields from atm_fields_compact.

An atmospheric scenario includes the following data for each position (pressure, latitude, longitude) in the atmosphere:

  1. temperature field

  2. the corresponding altitude field

  3. vmr fields for the gaseous species

  4. scattering species fields

This method splits up the data found in atm_fields_compact to p_grid, lat_grid, lon_grid, vmr_field, particle_bulkprop_field, and particle_bulkprop_names. See documentation of atm_fields_compact for a definition of the data.

Compact states are characterized by having all atmospheric fields already given on identical grids. That is, no interpolation needs to be and is performed. Keyword p_min allows to remove atmospheric levels with pressures lower than the given value (default: no removal). This reduces computational burden and is useful when upper atmospheric contributions are negligible.

Possible future extensions: Add a keyword parameter to refine the pressure grid if it is too coarse. Or a version that interpolates onto given grids, instead of using and returning the original grids.

Author(s): Jana Mendrok, Manfred Brath

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

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

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

  • t_field (Tensor3, optional) – The field of atmospheric temperatures. See t_field, defaults to self.t_field [OUT]

  • z_field (Tensor3, optional) – The field of geometrical altitudes. See z_field, defaults to self.z_field [OUT]

  • vmr_field (Tensor4, optional) – VMR field. See vmr_field, defaults to self.vmr_field [OUT]

  • particle_bulkprop_field (Tensor4, optional) – Container for various data that describes scattering bulk properties. See particle_bulkprop_field, defaults to self.particle_bulkprop_field [OUT]

  • particle_bulkprop_names (ArrayOfString, optional) – Identification of the data in particle_bulkprop_field. See particle_bulkprop_names, defaults to self.particle_bulkprop_names [OUT]

  • abs_species (ArrayOfArrayOfSpeciesTag, optional) – Tag groups for gas absorption. See abs_species, defaults to self.abs_species [IN]

  • atm_fields_compact (GriddedField4, optional) – A compact set of atmospheric fields on a common set of grids. See atm_fields_compact, defaults to self.atm_fields_compact [IN]

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

  • delim (String, optional) – Delimiter string of scat_species elements. Defaults to "-" [IN]

  • p_min (Numeric, optional) – Minimum-pressure level to consider (for TOA). Defaults to 0 [IN]

  • check_gridnames (Index, optional) – A flag with value 1 or 0. If set to one, the gridnames of the atm_fields_compact are checked. Defaults to 0 [IN]

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