MOM5 icon indicating copy to clipboard operation
MOM5 copied to clipboard

Return codes from namelist reads are not always checked

Open nichannah opened this issue 8 years ago • 0 comments

For example there is code like:

ierr = check_nml_error(io_status,'ocean_vert_kpp_mom4p1_nml')

and

ierr = check_nml_error(io_status,'ocean_vert_kpp_mom4p1_nml')

but no following check that ierr does not indicate an error. This means that a typo within a namelist would result in default parameters being silently used. Model output will be incorrect without the user knowing.

nichannah avatar Jun 22 '16 02:06 nichannah