Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All variables in variables.ini should be given a vert_type #1454

Open
lewisblake opened this issue Dec 11, 2024 · 2 comments
Open

All variables in variables.ini should be given a vert_type #1454

lewisblake opened this issue Dec 11, 2024 · 2 comments
Labels
enhancement ✨ New feature or request good first issue Good for newcomers low-hanging-fruit-🍎 bare blåbær
Milestone

Comments

@lewisblake
Copy link
Member

lewisblake commented Dec 11, 2024

Is your feature request related to a problem? Please describe.
The vert_type attribute of a species is a fundamental attribute needed when creating an experiment. However, pyaerocom has no native way of representing this metadata. It is assumed that this metadata is provided in a config though the obs_vert_type argument which is given to an instance of ObsEntry. If no observations are provided (i.e., I just want to plot model data), then this information is not available because ModelEntry has no such attribute (It has no variable information and therefore no place to put it). I propose that in variables.ini we provide each variable a default vert_type which can be used in cases where the attribute obs_vert_type is not available.

Describe the solution you would like to see
A clear and concise description of what you want to happen.

  • Would you be able to work on this solution yourself? Yes
  • How can the Pyaerocom development team assist you? Input

Additional context
Related to wanting to show just model data.

@lewisblake lewisblake added enhancement ✨ New feature or request good first issue Good for newcomers low-hanging-fruit-🍎 bare blåbær labels Dec 11, 2024
@lewisblake lewisblake added this to the m2025-01 milestone Dec 11, 2024
@jgriesfeller
Copy link
Member

Sounds reasonable to me. But keep it changeable.

@heikoklein
Copy link
Member

Please state what you need the vert_types for. Column-variables need to be strictly distinct in the definition since they have different units than in-situ, so this differentiation makes sense. Measurement in different model-layers will have the same units as Surface, so it does not make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request good first issue Good for newcomers low-hanging-fruit-🍎 bare blåbær
Projects
None yet
Development

No branches or pull requests

3 participants