Git Product home page Git Product logo

Comments (6)

eclare108213 avatar eclare108213 commented on August 11, 2024

@mattdturner
This case is failing because the restart test is looking for restart files in a restart/ directory, which is empty; there are restart files in restart_baseline/. I don't understand why this case (ISPOL) fails but others do not. Other cases have restart files in both places. Can you explain what is going on here, or how it is supposed to work? Thx

from icepack.

eclare108213 avatar eclare108213 commented on August 11, 2024

I suspect that the problem with this case has to do with the start and end times of the ISPOL data. Since it's from an actual field campaign, the start date is not Jan 1 and it doesn't run for a full year.

   year_init       = 2004
   istep0          = 4008
   npt             = 4776

The first restart file written is

   ./restart/iced.2004-07-01-00000

and the original test is supposed to only run for 4776 hours (199 days). The restart test is looking for

 ./restart/iced.2015-03-01-00000

so it looks like the calendar calculation in the restart testing script is not working correctly.

from icepack.

mattdturner avatar mattdturner commented on August 11, 2024

This case is failing because the restart test is looking for restart files in a restart/ directory, which is empty; there are restart files in restart_baseline/. I don't understand why this case (ISPOL) fails but others do not. Other cases have restart files in both places. Can you explain what is going on here, or how it is supposed to work? Thx

The way the restart tests work is that the 'run-initial' simulation outputs to the restart/ directory. The test_restart.script file then renames the restart/ directory to restart_baseline/, copies a restart file to restart/, and runs the 'run-restart' case.

It appears that the restart file date-time group is currently hard-coded to be 2015-03-01. I'll start looking at a better way to determine a restart date.

from icepack.

eclare108213 avatar eclare108213 commented on August 11, 2024

@njeffery @chrisknewman
I found the bug preventing exact restarts for both ISPOL and NICE bgc cases: the sst data was read in but not used. I am running a test suite now to confirm that this fixes the problem and does not create others.

from icepack.

njeffery avatar njeffery commented on August 11, 2024

from icepack.

eclare108213 avatar eclare108213 commented on August 11, 2024

Fixed with PR #60

from icepack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.