NOAA-CEFI-Regional-Ocean-Modeling / ocean_BGC

3 stars 4 forks source link

New module for diagnostic registration #43

Closed yichengt900 closed 2 months ago

yichengt900 commented 2 months ago

This PR is the first step in addressing issue #15. We added a new module, COBALT_reg_diag, which contains the subroutine cobalt_reg_diagnostics to handle diagnostic registration. This reduces the total line count in generic_COBALT.F90 from 11687 to 7485.

This PR does not change baselines; all the diag outputs are identical to the ones from the current version.

Next, we can consider adopting Kelly's approach #22 to automatically create the COBALT_reg_diag module.