Climato

Main functions

class SignalCreation.Read.Climato.Climato(path_file, type_file, month=None, fill_value=None)
Parameters:
  • path_file (str | List[str])

  • type_file (str)

  • month (str)

_fill_data_set()

“ Fill the data array storing the atmospheric profile

get_concentration(concentration_name='CONCENTRATION', altitude=None, unit_concentration=None)
Get the concentration at a given altitude.

If the altitude is outside the model’s altitude range, the method returns None

Parameters:
  • concentration_name (str) – name of the concentration

  • altitude (Quantity | None) – pint.Quantity The altitude at which the temperature must be returned, it can be a single value or an array

  • unit_concentration – str The unit of the concentration

Returns:

xr.DataArray The temperature at the requested altitude

Return type:

DataArray

get_concentration_error(concentration_error_name='Concentration error', altitude=None, unit_concentration_error=None)
Get the concentration at a given altitude.

If the altitude is outside of the model’s altitude range, the method returns None

Parameters:
  • concentration_error_name (str) – name of the error concentration

  • altitude (Quantity | None) – pint.Quantity The altitude at which the temperature must be returned, it can be a single value or an array

  • unit_concentration_error – str The unit of the concentration error

Returns:

xr.DataArray The temperature at the requested altitude

Return type:

DataArray