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

Issue333 #337

Merged
merged 3 commits into from
Jul 29, 2019
Merged

Issue333 #337

merged 3 commits into from
Jul 29, 2019

Conversation

mattdturner
Copy link
Contributor

@mattdturner mattdturner commented Jul 29, 2019

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

  • Short (1 sentence) summary of your PR:
    Fix a bug in the CICE QC script that occurs only when a data point falls exactly half way between 2 critical T-values.

  • Developer(s):
    @mattdturner

  • 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.
    I tested the QC script by generating identical datasets for a 5 year simulation. I also tested it using the data provided by @phil-blain in issue qc environment setup #333

  • 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/.)

    • Yes
    • No, does the documentation need to be updated at a later time?
      • Yes
      • No
  • Please provide any additional information or relevant details below:
    -There are also a few changes to reduce the memory footprint of the script.

    • This causes the script to be slightly slower.
    • According to the memory_profiler package in Python, the script now requires 5.25 GB of memory in order to run the test for a full 5-year gx1 simulation.

    -This PR addresses Issue qc environment setup #333

turner added 2 commits July 26, 2019 17:44
…here a data point falls exactly half way between 2 critical T-values.
@mattdturner
Copy link
Contributor Author

Odd. Every test on Travis-CI failed to build, with the failures being related to use netcdf. Travis-CI complains that

Fatal Error: Can't open module file ‘netcdf.mod’ for reading at (1): No such file or directory

I didn't make any edits to the source code, so I doubt these failures are a result of something that I did...

@apcraig
Copy link
Contributor

apcraig commented Jul 29, 2019

I restarted travis on this PR and it failed again the same way. I am going to run a few other tests.

@apcraig apcraig merged commit ffee9a7 into CICE-Consortium:master Jul 29, 2019
@mattdturner mattdturner mentioned this pull request Aug 8, 2019
16 tasks
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