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

Sunt05/issue301 #356

Merged
merged 5 commits into from
Feb 4, 2025
Merged

Sunt05/issue301 #356

merged 5 commits into from
Feb 4, 2025

Conversation

sunt05
Copy link

@sunt05 sunt05 commented Feb 3, 2025

  • Introduce EmissionsMethod Enum to provide structured emissions calculation options
  • Update ModelPhysics to use EmissionsMethod for more type-safe configuration
  • Add docstring explaining the purpose of the new Enum
  • Remove commented-out code related to emissions method validation
  • Improve code formatting and consistency in the _config.py module

- Introduce new _config.py module with SUEWSConfig and init_config_from_yaml
- Consolidate model parameter validation checks in ModelPhysics and SnowParams
- Update __init__.py to expose new configuration-related functions
- Add sample configuration file and update build configuration
- Remove debug/diagnostic bash command that was causing unnecessary delay
- Comment out the 'sleep 5 && ls -l' run_command in the meson build configuration
- Update patch_supy_driver.py to improve file handling and error checking
- Modify meson.build to adjust custom target command arguments
- Add debug print statements in move_output_gen.py and patch_supy_driver.py
- Simplify Makefile dev target by removing unnecessary cleanup steps
- Introduce EmissionsMethod Enum to provide structured emissions calculation options
- Update ModelPhysics to use EmissionsMethod for more type-safe configuration
- Add docstring explaining the purpose of the new Enum
- Remove commented-out code related to emissions method validation
- Improve code formatting and consistency in the _config.py module
@sunt05 sunt05 merged commit 1fa88eb into master Feb 4, 2025
43 checks passed
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.

1 participant