Skip to content

10. Create and run with initial conditions

micdom edited this page Dec 22, 2022 · 1 revision

Initial condition input file

Create initial conditions with ad-hoc Matlab scripts

Run

  • Go in the RUN_DIRECTORIES/EXP_Tide_ERA5_BDY and modify start date & duration of the run in the namelist_cfg
  • Copy the initial conditions file in the directory
  • Modify namelist_cfg

I'm using initial condition built from 1 daily CMEMS file. My file contains only 1 temporal record. NEMO expects a file with this name: SEVERN_SWOT_IC_CMEMSAMM15_y2019m08d01.nc

!-----------------------------------------------------------------------
&namtsd        !    Temperature & Salinity Data  (init/dmp)             (default: OFF)
!-----------------------------------------------------------------------
!              !  file name                 ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask !
!              !                            !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      !
   sn_tem  = 'SEVERN_SWOT_IC_CMEMSAMM15',          24        ,'votemper' ,    .false.    , .false. , 'daily'   , ''       ,   ''    ,    ''
   sn_sal  = 'SEVERN_SWOT_IC_CMEMSAMM15',          24        ,'vosaline' ,    .false.    , .false. , 'daily'   , ''       ,   ''    ,    ''
   !
   cn_dir        = './'     !  root directory for the location of the runoff files
   ln_tsd_init   = .true.   !  Initialisation of ocean T & S with T &S input data (T) or not (F)
   ln_tsd_dmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F)
   ln_tsd_interp = .false.          !  Interpolation of T & S in the verticalinput data (T) or not (F)
/

  • in SCRIPTS:
. ./run_Tide_ERA5_BDY.sh

If running with wetting & drying:

  • Go in the RUN_DIRECTORIES/EXP_Tide_ERA5_River_IC_BDY_WAD and modify the namelist_cfg as above
  • Copy the initial conditions file in the directory
  • To run go in SCRIPTS
. ./run_Tide_ERA5_River_IC_BDY_WAD.sh

Clone this wiki locally