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

box2001: compute aiu with aice instead of aice_init #526

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

JFLemieux73
Copy link
Contributor

PR checklist

  • Short (1 sentence) summary of your PR:
    Correcting my bug...because get_forcing_atmo is called after ice_step, aiu in get_forcing_atmo (for box2001) should be calculated with aice instead of aice_init (that way the aiu for aiutair and aiutwater are at the same time level).

This does not change the result with the box2001 exp because the advection is turned off. It only matters when someone is running modified box2001 exp with advection turned on (like I am doing...).

  • Developer(s):
    @JFLemieux73
  • Suggest PR reviewers from list in the column to the right.
    @eclare108213 @TillRasmussen
  • Please copy the PR test results link or provide a summary of testing completed below.
    249 measured results of 249 total results
    249 of 249 tests PASSED
    0 of 249 tests PENDING
    0 of 249 tests MISSING data
    0 of 249 tests FAILED
  • How much do the PR code changes differ from the unmodified code?
    • bit for bit
    • different at roundoff level
    • more substantial
  • Does this PR create or have dependencies on Icepack or any other models?
    • Yes
    • No
  • Does this PR add any new test cases?
    • Yes
    • 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.)
    • Yes
    • No, does the documentation need to be updated at a later time?
      • Yes
      • No
  • Please provide any additional information or relevant details below:

…, aiu in get_atmo_forcing (for box2001) should be calc with aice instead of aice_init
@phil-blain
Copy link
Member

I know we do not currently have a strict policy about commit messages, but in my opinion I think we should. Here are some references on the subject:

It's nice to limit the commit title to about 60 characters (some references say 50, but I think it's often not enough), this way git log --oneline gives a nice, readable output.

For this PR, I think the commit message should have the same title has the PR, and the rest of the message should describe why this change is needed:

box2001: compute aiu with aice instead of aice_init

<description of what the code does at the moment, and why it's wrong>

<an order to the code base to improve itself>

The idea is that the rationale behind each change to the code base is encoded in the Git history; we do not rely on discussions on GitHub PRs to understand why each change to the code base was made. This, in my opinion, is good because we are always in control of the repository (since Git is distributed), but we don't know what can happen to GitHub: in theory it could go under at any moment, and we would loose crucial information contained in PR discussions.

(just my 2 cents - we could discuss this at the next teleconference.)

@eclare108213
Copy link
Contributor

@phil-blain I agree, it's better to include informative content in the git commits themselves, so that we don't have to dig into PRs or elsewhere to remember what it was about. The messages need to be concise, though, and I think it's fine to have more verbose content in the PR/discussion. Most PRs will have multiple commits, and it's helpful for the commit messages to be informative, but I don't think it's necessary or even always desirable for the commit message and the title of the PR to be the same. Let's talk about this at the next meeting -- please remind me to put it on the agenda if I forget!

@apcraig apcraig changed the title box2001: aiu should be calculated with aice instead of aice_init box2001: compute aiu with aice instead of aice_init Oct 28, 2020
@apcraig apcraig merged commit 12fdb47 into CICE-Consortium:master Oct 28, 2020
@JFLemieux73 JFLemieux73 deleted the time_level_aiu_box2001 branch March 5, 2021 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants