Skip to content

Create a Python TUV-x constructor for in-code grids, profiles, and radiators #600

@mattldawson

Description

@mattldawson

A constructor for the Python TUVX class should be added that accepts:

  • a GridMap that defines the grids to use for the calculations (height, wavelength)
  • a ProfileMap that defines the profiles to use for the calculations (temperature, air density, species concentrations, etc.)
  • a RadiatorMap that defines the radiative properties of atmospheric constituents to include in the solve (O2, O3, air, etc.)
  • JSON/YAML configuration data for photolysis reactions and/or dose rates

Acceptance Criteria

  • a Python TUVX instance can be created with the above inputs and used to calculate photolysis rates constants, heating rates, and dose rates

Ideas

  • Create in-code an equivalent to the src/test/data/tuvx/fixed/config.json TUV-x configuration in a test and compare output from the in-code and from-file TUV-x instances

Blocked by #597 #598 and #599

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions