AngularGridsSetFluxCalc

Workspace.AngularGridsSetFluxCalc(self: pyarts.arts._Workspace, za_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.za_grid, aa_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.aa_grid, za_grid_weights: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.za_grid_weights, N_za_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 2, N_aa_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 1, za_grid_type: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = 'linear_mu', verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Sets the angular grids for the calculation of radiation fluxes.

This method sets the angular grids for the radiation fluxes type calculations and calculates the integration weights za_grid_weights for the zenith angle integration. For down- und up-looking geometries it suffices to use the default values of N_za_grid and N_aa_grid. From N_aa_grid an equally spaced grid is created and stored in the WSV aa_grid.

Depending on the desired za_grid_type za_grid will be equally spaced (‘linear’) or unequally (‘linear_mu’,’double_gauss’) Important, N_za_grid must be an even number because for the integration over each hemisphere N_za_grid / 2 zenith angles are needed.

Possible zenith angle grid types are:

  • double_gauss: The zenith grid and the integration weights are set according to a gauss-legendre integration for each hemispheres.

  • linear: Equally space grid between 0 deg and 180 deg including the poles

  • linear_mu: Similar to ‘linear’ but equally spaced for cos(180 deg) to cos(0 deg), which results a unequally spaced angular grid

Author(s): Manfred Brath

Parameters:
  • za_grid (Vector, optional) – Zenith angle grid. See za_grid, defaults to self.za_grid [OUT]

  • aa_grid (Vector, optional) – Azimuthal angle grid. See aa_grid, defaults to self.aa_grid [OUT]

  • za_grid_weights (Vector, optional) – Zenith angle integration weights. See za_grid_weights, defaults to self.za_grid_weights [OUT]

  • N_za_grid (Index, optional) – Number of zenith angles. Defaults to 2 [IN]

  • N_aa_grid (Index, optional) – Number of azimuth angles. Defaults to 1 [IN]

  • za_grid_type (String, optional) – Zenith angle grid type. Defaults to "linear_mu" [IN]

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