Closed yichengt900 closed 2 months ago
Would it be better to make eqn_of_state and geolat required instead of optional, so that it fails at compile time instead of run time if they are not provided? Currently there's no way to proceed without these variables anyways.
@andrew-c-ross , good point. Our initial intention was to make generic_tracer.F90
flexible to accommodate COBALTv2 in case we wanted to maintain both versions:
However, since we have now decided to eventually replace COBALTv2, I can remove this part and make both variables as required.
Hi folks - It would be good to maintain some backward compatibility if it isn't too cumbersome. I will raise this as a discussion issue.
As tiled. This PR is to address issue #29.
We have added a fatal error message to handle cases whereWe have changedgeolat
oreqn_of_state
is missing in the call.geolat
andeqn_of_state
fromoptional
torequired
so it will fail at compile time if they are missing on MOM6 sideThis PR does not change answers.