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

Corrections to geostrophic winds and advective tendencies at (very) high levels #199

Open
sjboeing opened this issue Feb 3, 2023 · 1 comment

Comments

@sjboeing
Copy link
Contributor

sjboeing commented Feb 3, 2023

No description provided.

@sjboeing
Copy link
Contributor Author

sjboeing commented Feb 3, 2023

Working on this in #197, but would be good to follow the general structure of #198. Some examples of valid and invalid files.

VALID_YAML_EXAMPLES = [
    """
wind_at_high_levels_correction_method: "fixed_pressure"
wind_at_high_levels_correction_highest_pressure: 500
wind_at_high_levels_correction_transition_thickness: 200
wind_at_high_levels_correction_shape="cos",
""",
    """
wind_at_high_levels_correction_method: "off"
""",
    """
""",
]

INVALID_YAML_EXAMPLES = [
    """
wind_at_high_levels_correction_method: "off"
wind_at_high_levels_correction_highest_pressure: 500
wind_at_high_levels_correction_transition_thickness: 200
wind_at_high_levels_correction_shape="cos",
""",
    """
wind_at_high_levels_correction_method: "fixed_pressure"
wind_at_high_levels_correction_highest_pressure: 500
wind_at_high_levels_correction_transition_thickness: 200
""",
]

Note an empty example is valid, and should generate sensible defaults. Not sure if the "cos" shape needs to be specified (as the second INVALID example shows) or can be left out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant