NOAA-GFDL / icebergs

GFDL Climate Model Icebergs
Other
5 stars 19 forks source link

Fix for when restart files have zero bergs #50

Closed adcroft closed 7 years ago

adcroft commented 7 years ago

@nikizadehgfdl Apparently all our restart tests now have at one berg in every file? Can you test then handle this? Thx.

nikizadehgfdl commented 7 years ago

"Apparently all our restart tests now have at one berg in every file?" No, we are still combining bergs restarts before the model restarts, Except for one test case that I have that does not combine, and it seems not to care about the empty berg restart files (3 out of 5 have no bergs).

adcroft commented 7 years ago

That is odd since it fails for me. I'm testing with gnu and maybe intel is more forgiving... This fix is still the right thing to do, I think.