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

CREDIT physcis for hybrid simga-pressure level configurations #129

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

yingkaisha
Copy link
Collaborator

@yingkaisha yingkaisha commented Nov 5, 2024

New feature

  • Hybrid sigma-pressure level physical constraints for global dry air mass, water budget, and total atmospheric energy are added to the credit.postblock
  • Pytest routine and credit.parser are updated accordingly.

This PR can be tested using:

python applications/train.py -c config/example_physics_mlevel.yml
python applications/rollout_to_netcdf.py -c config/example_physics_mlevel.yml

@yingkaisha yingkaisha marked this pull request as draft November 5, 2024 01:48
@yingkaisha yingkaisha requested a review from WillyChap November 6, 2024 15:52
@yingkaisha yingkaisha marked this pull request as ready for review November 22, 2024 22:54
Copy link
Collaborator

@djgagne djgagne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code structure all looks good to me from a scientific perspective and I appreciate the documentation and type suggestions. Can you run ruff format on the files you have changed to convert the single quotes to double quotes, particularly for the docstrings?

@djgagne
Copy link
Collaborator

djgagne commented Dec 4, 2024

How to use ruff format.

@yingkaisha yingkaisha requested a review from djgagne February 2, 2025 17:50
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

Successfully merging this pull request may close these issues.

2 participants