-
Notifications
You must be signed in to change notification settings - Fork 0
02 Creating the domain_cfg
-
Use the AMM15 coordinates file to create a coarsened version, i.e. 1.5 km --> 7.5 km See PROCESSING_CODE/DOMAIN_CFG/coarsen_amm15_coordinates.ipynb
-
Now use the AMM15 bathymetry to crease a coarsened bathymetry See PROCESSING_CODE/Coarsen_bathy.ipynb This notebook does not get you all the way. In the absence of a way to satisfactorily automate this process in a robust way, the bathymetry was manually smoothed at sections of coastline, isolated wet points removed and the channels connecting to the baltic opened up.
-
Correct a few bugs (Alternatively update the notebooks with the bug fixes, which are just variable name changes) See PROCESSING_CODE/touch_up_amm75_domain_files.ipynb
Create the domain_cfg using the same configuration setup as in AMM15 e.g. quasi terrain following with rmax=0.1, wetting & drying to remove minimum depth limit at coast.
- Build the DOMAINcfg tools.
. $REPO/PROCESSING_CODE/DOMAIN_CFG/make_domain_tools.sh
- Copy the coordinates, bathymetry and domain_cfg namelist into the tool's directory
cp $REPO/DATASETS/coordinates.nc $TDIR/DOMAINcfg/.
cp $REPO/DATASETS/bathy_meter.nc $TDIR/DOMAINcfg/.
cp $REPO/PROCESSING_CODE/DOMAIN_CFG/namelist_cfg $TDIR/DOMAINcfg/.
cp $REPO/PROCESSING_CODE/DOMAIN_CFG/make_domain_cfg.slurm $TDIR/DOMAINcfg/.
- launch job to create domain_cfg.nc
cd $TDIR/DOMAINcfg/
sbatch make_domain_cfg.slurm