New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
README_make_closea_masks in utils/tools/DOMAINcfg – NEMO

source: utils/tools/DOMAINcfg/README_make_closea_masks @ 10727

Last change on this file since 10727 was 10464, checked in by davestorkey, 5 years ago

Add README file for make_closea_masks.py.

File size: 1.2 KB
Line 
1Make_closea_masks.py is a python routine to create closea mask fields
2based on the old NEMO closea index definitions.  Details of the grid
3and the bathymetry are read in from the domain_cfg.nc file and the
4closea_mask* fields are appended to the same domain_cfg.nc file.
5
6To use this routine:
7
8  1. Provide domain_cfg.nc file for your configuration.
9
10  2. Define closed seas for your configuration in Section 2
11     using indices in the old NEMO style. (Read the comments on
12     indexing in Section 2!). Examples are given for eORCA025
13     (UK version) for the three different options:
14        - just defining closed seas (and distribute fluxes over global ocean)
15        - defining closed seas with a RNF mapping for the American Great Lakes to the St Laurence Seaway
16        - defining closed seas with an EMPMR mapping for the American Great Lakes to the St Laurence Seaway
17
18  3. Choose whether to mask the closea_mask* fields. This is not required
19     but makes the fields easier to check.
20
21  4. Module can be run in python or from linux command line if you
22     change the top line to point to your python installation. If
23     using from command line, type "make_closea_masks.py --help"
24     for usage.
Note: See TracBrowser for help on using the repository browser.