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

[NDSL] UW Convection port #993

Open
wants to merge 48 commits into
base: dsl/develop
Choose a base branch
from
Open

Conversation

katrinafandrich
Copy link

Ported and verified two smaller functions in UW Convection port: slope and conden. Small errors still exist when running translate_conden.py, which likely stem from errors in the QSat function.

FlorianDeconinck and others added 15 commits August 14, 2024 14:30
QSatIce missing before test can be done
…. Fails to verify at majority of points using original metric, has not been tested with new metrics. Error patterns of the ES tables suggest arise during math within qsat_liquid and qsat_ice. Errors are small (10^-4). Further testing using find_klcl is in process to see if these errors propogate further or are locked within QSat.
…cil to calculate QSat for entire field, or function can be called from within the stencil to calculate QSat at individual points. To use function, the QSat class must be initialized before stencil call and the tables must be passed down to the function as an input.
@FlorianDeconinck FlorianDeconinck changed the title Merge dsl/UW_convection [NDS] UW Convection port Sep 10, 2024
@FlorianDeconinck FlorianDeconinck changed the title [NDS] UW Convection port [NDSL] UW Convection port Sep 10, 2024
@FlorianDeconinck FlorianDeconinck added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Sep 10, 2024
Copy link
Collaborator

@FlorianDeconinck FlorianDeconinck left a comment

Choose a reason for hiding this comment

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

To be merged after QSat #994

  • Resolve merge conflict in .gitignore
  • Merge dsl/develop and resolve conflicts
  • Run lint with pre-commit run --all-files
  • Move the files in a UW directory and drop a README.md describing what's ported, what's missing and any additional notes (with date)
  • Revert changes to run_tests.sh
  • Revert adding uwshcu.F90.SER which would be a separate PR for the serialization

Katrina Fandrich added 2 commits September 10, 2024 16:09
…deal with reshaping 2D and 3D variables in translate test before calling stencil computation.
@katrinafandrich
Copy link
Author

Resolved merge conflict in .gitignore

@katrinafandrich
Copy link
Author

Merged with dsl/develop and resolved merge conflicts. Created UW directory and added README.md.

@katrinafandrich
Copy link
Author

Removed uwshcu.F90.SER

Katrina Fandrich and others added 27 commits September 12, 2024 16:25
…2/6 variables. Some errors are very small and likely stem from multiplication with constants.
…ble pass. Very small errors still exist in 'ssthl0_test' that likely stem from multiplication with constants. A bug was found which does not allow functions to be called within while loops. A workaround has been implemented where this applies and errors are raised if certain conditions are not met.
… at less than 1%. Switched ndsl branches to unstable/develop.
…an 0.01% of grid points. Still need to raise errors when unported code is triggered and cleanup.
…f the compute_uwshcu are triggered that have not yet been ported.
…in uwshcu.F90. Including 'roots', 'compute_alpha', and 'single_cin'. Some translate tests may fail due to nans.
… gridpoints, most likely due to mixed precision problem.
…u. Several functions fail at some gridpoints, but mostly passing overall. Moving on and will revisit failed tests later.
…ints except expected nans. Should be run with debug backend for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff The changes in this pull request have verified to be zero-diff with the target branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants