-
Notifications
You must be signed in to change notification settings - Fork 0
04 Create a tides only experiment
-
Install pyBDY. First go to https://github.com/NOC-MSM/pyBDY and follow the instructions to install pyBDY (see: https://github.com/JMMP-Group/SEVERN-SWOT/wiki/04.-Make-tidal-boundary-conditions for alternative detailed instructions). Note, as of writing, the latest Master branch should work fine using vertical interpolation because it has been merged with the [127_interpolation_error_in_TandS] branch fix.
-
Get the files from the REPO
mkdir $YOUR_TIDES_DIR
cp $REPO/PYBDY/* $YOUR_TIDES_DIR
-
The notebook gen_bdy_mask.ipynb details how the boundary masks were created. The actual boundary mask files for the baltic and open ocean are also included.
-
See the two namelist files (namelist_AMM75_baltic_tide.bdy, namelist_AMM75_open_tide.bdy) and update the directory paths as required. All the input files are provided in the repo (other than the harmonics) but remember to link to the domain_cfg.nc and bathy_meter.nc files. FES2014 harmonics have been used and they are available on Jasmin. Possibly they are available on Archer2 as well.
-
pyBDY can be run using the two .slurm files as required
-
Might need to rename the forcing files that pyBDY created, so the notebook $REPO/PYBDY/rename_bdy_files.ipynb might be useful to quickly rename them
- Create a new experiment directory and copy over the namelist_cfg
cp -r $CDIR/EXP_unforced $CDIR/EXP_tides
cp $REPO/NAMELISTS/TIDE_ONLY/namelist_cfg $CDIR/EXP_tides/.
- Move the boundary forcing into the correct directory
mkdir $CDIR/INPUTS
mkdir $CDIR/INPUTS/TIDES
mv <forcing_files> $CDIR/INPUTS/TIDES/.
ln -s $CDIR/INPUTS/TIDES $CDIR/EXP_tides/TIDES
- run it