Comments (6)
@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.
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.
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.
@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.
from icepack.
Fixed with PR #60
from icepack.
Related Issues (20)
- icepack_therm_vertical: add new local variables `delt`, `deltq` instead of using `worka`, `workb` HOT 1
- Order of calls in icepack_therm_vertical.F90 HOT 5
- FSD improvements HOT 2
- Frazil ice temperature limiting HOT 10
- Small bug in temperature_changes_salinity. HOT 3
- update_ocn_f problem HOT 2
- sadded HOT 3
- closing/flushing nu_diag at end HOT 4
- Check consistency of snow-transition parameter documentation HOT 2
- timeseries plots in conda environment HOT 1
- documentation for calc_dragio and formdrag options HOT 2
- Index error in bgc tracer for shortwave calculations HOT 6
- Add support for disabling thermodynamics HOT 2
- investigate impacts of advanced snow physics HOT 6
- bug in icedrv_history.F90 regarding trcrn HOT 1
- FSD documentation
- Minus sign missing in snow loss equation
- Deprecate zsalinity HOT 8
- snow depth bug when running with one snow layer and advanced snow physics
- kice in mushy thermodynamics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icepack.