nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

No sea surface height #715

Closed timspainNERSC closed 1 month ago

timspainNERSC commented 1 month ago

No sea surface height

Fixes #714


Change Description

The function that reads forcing files in ParaGridIO now check that fields exist in the forcings file before trying to read them. Absent fields are not added to the returned ModelState object and the absence of sea surface height is now handled by TOPAZOcean by setting the sea surface height field to 0 everywhere.