Opened 12 years ago

Closed 12 years ago

#256 closed request (Done)

Customized Biology/Ecosystem models

Reported by: arango Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.2
Component: Nonlinear Version: 3.2
Keywords: Cc:


Several files were modified to allow customization of biology/ecosystem model header files (ecosim.h, fasham.h, nemuro.h, npzd_Franks.h, and npzd_Powell.h). Now it is possible to shadow released version of these header files with a user-customized version. This is similar to the analytical functionals in ROMS/Functionals. For more information, please check the following forum posting.

  • The makefile was modified to allow shadowing of released header files. This shadowing occurs during C-preprocessing.
  • The make configuration files (Compilers/*.mk) were modified to allowfree-format in biology.o for the long-string path of the header file.
  • The biology/ecology header file is saved in output NetCDF files so solutions can be reproduced in the future. This required a new routine netcdf_close in mod_netcdf.F to process the global attribute bio_file before closing the file. The variable BIONAME values are not known when the NetCDF files are created.
  • Corrected a bug in fasham.h and renamed TALK_PROGNOSTIC to TALK_NONCONSERV.
  • Corrected a shared memory bug in the ana_*.h routines when ANANAME is assigned. Recall that only one tile is allowed to assign global variables.

Change History (1)

comment:1 Changed 12 years ago by arango

  • Resolution set to Done
  • Status changed from new to closed

Many thanks to John wilkin for suggesting this capability.

Note: See TracTickets for help on using tickets.