-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ability to generate planar metric terms and addition of test_eta.py
unit test
#65
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1bda968
Added conditional to MetricTerms init to allow for metric term genera…
fmalatino b18880b
Changes to support testing in pace for eta file specification
fmalatino 104076f
Merge branch 'develop' into feature/no_eta
fmalatino ba28f33
Moved test_eta.py from pace/tests/main/grid into NDSL/tests/grid, add…
fmalatino 20ed73d
Merge branch 'feature/no_eta' of github.com:fmalatino/NDSL into featu…
fmalatino 9cafe2e
Amending unit_tests.yaml to reflect addition of tests/grid/test_eta.py
fmalatino 9cb8f14
Amending file path for test_eta.py
fmalatino a0c4992
Another attempt to get the workflow to generate the test eta_files
fmalatino 10942b2
Linting
fmalatino 712a385
Use of f-string in ValueError statement of _load_ak_bk_from_file
fmalatino 37872f0
Amending pytest.fail statement in test_eta.py
fmalatino c76a486
Amended generation.py to define hybrid pressure variables appropriately
fmalatino 1082b62
Amended test_eta.py docstrings to reflect updated testing methods and…
fmalatino 8a236a7
Merge branch 'develop' into feature/no_eta
fmalatino 71bcb56
Merge branch 'develop' into feature/no_eta
fmalatino 3649691
Linting
fmalatino 1102b75
Merge branch 'develop' into feature/no_eta
fmalatino 1318b56
Amended generation.py to set default eta_file to None
fmalatino 49ebd43
Merged most recent changes of NDSL as of 12 Sept 2024
fmalatino a1010dd
Changed type hinting of eta_file in generation.py to reflect optional…
fmalatino 069f056
Merge branch 'develop' into feature/no_eta
fmalatino File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the behavior we want? I thought we'd rather raise a ValueError or something here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A ValueError is raised deeper in when the file specified is either non-existent, and even lower if the values do not fit the size passed in the config. My thought was that we could still have hybrid pressure values; zero valued if no file passed, or specified when passed.