2.2. Getting other codes (coupling)¶

  • OASIS coupler

To use CROCO in coupled mode (coupling with atmosphere and/or waves), OASIS3-MCT version 3 is required.

Note

Older versions of OASIS do not include all the necessary functions as grid generation in parallel mode. If you want to use an older version, you need to create your grids.nc, masks.nc, and areas.nc files first, and comment the call to cpl_prism_grids in cpl_prism_define.F

To download OASIS3-MCT, you need to register on OASIS website: https://portal.enes.org/oasis/

Then, you can download the code from the website or use the git repository:

git clone https://gitlab.com/cerfacs/oasis3-mct.git
  • WW3

WaveWatch3 is now hosted on github on a public repository: https://github.com/NOAA-EMC/WW3

You can thus clone the repository:

git clone https://github.com/NOAA-EMC/WW3
  • WRF

Currently the distributed version of WRF does not include coupling with waves, and some other functionalities we have recently implemented. We therefore suggest to use the fork including modifications for coupling with WW3 and CROCO through the OASIS coupler, but note that this is a development version… https://github.com/wrf-croco/WRF/tree/WRF-CROCO

You can clone it with git :

git clone https://github.com/wrf-croco/WRF.git

Other versions of WRF are available here: http://www2.mmm.ucar.edu/wrf/users/download/get_source.html https://github.com/wrf-model/WRF

  • WPS

WRF pre-processing system is also needed to prepare WRF configurations. It is available on the following github repository: https://github.com/wrf-model/WPS

You can clone it with git:

git clone https://github.com/wrf-model/WPS.git

You need to use the same WPS version than the WRF version you use. Currenlty the WRF version on the WRF-CROCO fork is WRF4.2.1. You should therefore use the WPS 4.2 version. To do so, with git you can move to the appropriate tag:

cd WPS
git checkout tags/v4.2