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

Modif to basal stress calculation for computational efficiency (NEW one) #144

Merged
merged 1 commit into from
Jun 1, 2018

Conversation

JFLemieux73
Copy link
Contributor

[Remove this and add a short summary line]:

  • Developer(s): JF Lemieux

  • Please suggest code Pull Request reviewers in the column at right.

  • Are the code changes bit for bit, different at roundoff level, or more substantial?

It is BFB for the standard code (i.e. basal_stress = 'false').

It is not BFB when basal_stress = 'true' in the Northwern Hemipshere (it is .BFB in the Southern Hemisphere because there is no grounding with the bathymetry I used). I ran the gx3 config for one year for the latest code and this new code. The max. difference in thickness one year later (monthly mean) is 3 cm.

The new code for the basal stress is more computationally efficient (based on a suggestion from David Hebert, NRL). It is not BFB because I have changed the order of the operations.

I had a careful look at this and the differences are really due to small nonBFB differences.

I ran the testing script cice.t-test.py

INFO:main:Number of files: 1833
INFO:main:Two-Stage Test Passed
INFO:main:Quadratic Skill Test Passed for Northern Hemisphere
INFO:main:Quadratic Skill Test Failed for Southern Hemisphere
INFO:main:
INFO:main:Quality Control Test PASSED

It passes except in the Southerne Hemisphere...It is weird as it is BFB there.

  • Is the documentation being updated with this PR? (Y/N) Y (done in previous PR)
    If not, does the documentation need to be updated separately at a later time? (Y/N)
    Note: "Documentation" includes information on the wiki and .rst files in doc/source/,
    which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/.

  • Other Relevant Details:

@JFLemieux73
Copy link
Contributor Author

JFLemieux73 commented May 30, 2018

Ok it passes with the latest QC script (PR #145)

INFO:main:Number of files: 1833
INFO:main:Two-Stage Test Passed
INFO:main:Quadratic Skill Test Passed for Northern Hemisphere
INFO:main:Southern Hemisphere data is bit-for-bit
INFO:main:
INFO:main:Quality Control Test PASSED

@eclare108213
Copy link
Contributor

@JFLemieux73 Thanks for testing both your code changes and the QC scripts!

@eclare108213 eclare108213 merged commit 3cbb7ca into CICE-Consortium:master Jun 1, 2018
@JFLemieux73 JFLemieux73 deleted the Modif24May2018 branch October 9, 2020 14:57
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