This is repository contains the source code of the version of Regional Ocean Modelling System used by the UP group at ETH Zurich.
The physics is mostly identical to the UCLA version of ROMS. Over the years, we made a small changes to the UCLA code, like adding the WENO advection scheme based on CROCO's implementation .
It contains 2 biogeochemical moduls, a simple NPZD-model and the Biogeochemical Elemental Cycling (BEC) of the CESM. We added several additional plankton functional types (PFT) to BEC: Coccolithophores, Southern-Ocean Phaeocystis, DDA (Diazotroph, Diatom Assemplage), UCYN.
Some sometimes outdated documentation in form of READMEs can be found in the src/Documentation subfolder.
You need a working FORTRAN compiler, the NetCDF library (both, NetCDF-c and NetCDF-FORTRAN) installed. Usually the code is run in parallel using MPI, which mean you will also need an installed MPI library
With this at the top level a simple
make
should work. It compiles the code for our default PACTC60 setup, a coarse version for our PACific TelesCopic US Westcoast. For other setups you need to specify the configuration, e.g.,
make config=HUMPAC
for our HUMboldt PACific setup. Have a look in the configs/ directory for other setups. Each cppdef_XXXX.h selects the cpp switches and dimensions for configuration XXXX.