Skip to content

Allow updates to grid and profile data via the Python TUV-x class #601

@mattldawson

Description

@mattldawson

Update the Python TUVX class to allow updates to grid and profile data.

Acceptance Criteria

  • Grid and profile values can be updated after creation of a TUVX instance and are used in TUV-x calculations

Ideas

  • Consider having grids/profiles be properties of the TUVX class, so they can be set using regular array syntax instead of by calling update functions like in the C/C++/Fortran APIs
  • Create an in-code equivalent of the src/test/data/tuvx/fixed/config.json configuration with grids and profiles that have the correct dimensions but 0s for all values. Update the values of grids and profiles after creation of the TUVX instance and compare the output vs a from-file TUVX instance in a test.

Blocked by #600

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions