Changeset 14825 for issm/trunk-jpl/src/m/classes/gia.py
- Timestamp:
- 04/30/13 19:27:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/gia.py
r14824 r14825 49 49 #be sure that if we are running a prognostic ice flow model coupled with gia, that thickness forcings 50 50 #are not provided into the future. 51 if md.transient.isprognostic:52 thickness=md.geometry.thickness53 #figure out if thickness is a transient forcing:54 s=size(thickness)55 if s(1)>=md.mesh.numberofvertices:56 #recover the furthest time "in time":57 time=thickness(end,end)58 if not time==md.timestepping.start_time:59 raise RunetimeError("if isprognostic is on, transient thickness forcing for the gia model should not be provided in the future. Synchronize your start_time to correspond to the most recent transient thickness forcing timestep")60 51 61 52 return md
Note:
See TracChangeset
for help on using the changeset viewer.