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

Optionally rotate wind/stress from to computational grid (from true north) #473

Merged
merged 3 commits into from
Jun 23, 2020

Conversation

mhrib
Copy link
Contributor

@mhrib mhrib commented Jun 22, 2020

For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium,
please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers

PR checklist

  • [x ] Short (1 sentence) summary of your PR:
    Optional rotate wind vectors to computational grid (default)
  • Developer(s):
    Mads Hvid Ribergaard, DMI
  • Suggest PR reviewers from list in the column to the right.
  • Please copy the PR test results link or provide a summary of testing completed below.
    Able to merge. These branches can be automatically merged.
  • How much do the PR code changes differ from the unmodified code?
    • [x ] bit for bit
    • different at roundoff level
    • more substantial
  • Does this PR create or have dependencies on Icepack or any other models?
    • Yes
    • [x ] No
  • Does this PR add any new test cases?
    • Yes
    • [ x] No
  • Is the documentation being updated? ("Documentation" includes information on the wiki or in the .rst files from doc/source/, which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/. A test build of the technical docs will be performed as part of the PR testing.)
    • [x ] Yes
    • No, does the documentation need to be updated at a later time?
      • Yes
      • No
  • [x ] Please provide any additional information or relevant details below:

A completely other change within this pull request:

  • Also printout seconds, if a reading error occur reading "hycom"-forcing within ice_forcing.F90

doc/source/cice_index.rst Outdated Show resolved Hide resolved
cicecore/cicedynB/general/ice_forcing.F90 Outdated Show resolved Hide resolved
@apcraig
Copy link
Contributor

apcraig commented Jun 22, 2020

How much testing has been done? Are we confident it's all bit-for-bit?

Copy link
Contributor

@eclare108213 eclare108213 left a comment

Choose a reason for hiding this comment

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

This is much easier to understand at a glance, thank you.

@mhrib
Copy link
Contributor Author

mhrib commented Jun 23, 2020

@apcraig w.r.t. bit-for-bit. Depending on rotate_wind option (true/false) it will skip the rotation of wind/stress. So it assumes, that the provided forcing is rotated correctly and exactly like the default inline rotation.

@mhrib mhrib closed this Jun 23, 2020
@mhrib mhrib reopened this Jun 23, 2020
@apcraig
Copy link
Contributor

apcraig commented Jun 23, 2020

@mhrib I understand what the code is supposed to do. I just want to confirm that you have compiled and run this code, and that the default setting produces bit-for-bit results. That information was not included in the PR information yet. Thanks.

@apcraig apcraig merged commit f2dc42c into CICE-Consortium:master Jun 23, 2020
@mhrib
Copy link
Contributor Author

mhrib commented Jun 24, 2020

@mhrib I understand what the code is supposed to do. I just want to confirm that you have compiled and run this code, and that the default setting produces bit-for-bit results. That information was not included in the PR information yet. Thanks.

@apcraig Sorry, I did not perform the test (which I always should do!). Now tested with intel compiler on GX3 grid (4x4) running for one day (24 steps) using the same ice_in file without rotate_wind defined (ie. set to default value = .true.): md5sum's on restart-files are equal.
fde1877b90dcc38e160d3ee1a520217c restart/iced.1998-01-02-00000.nc_new
fde1877b90dcc38e160d3ee1a520217c restart/iced.1998-01-02-00000.nc_org

@apcraig
Copy link
Contributor

apcraig commented Jun 24, 2020

Thanks @mhrib, I also ran a full test suite last night and everything looks good. https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash#3fedc78b1b012f8bd6c0fde7c1b41e79b9db63a9

@mhrib mhrib deleted the rotate_wind branch October 7, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants