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.
user/flavoni/libIGCM/change_BC – NEMO
wiki:user/flavoni/libIGCM/change_BC

Version 30 (modified by flavoni, 14 years ago) (diff)

--

Change Surface Boundary Conditions


How to change Surface Boundary forcing files

ORCA2_LIM description: http://www.nemo-ocean.eu/Using-NEMO/Configurations/ORCA2_LIM

When you download
./model NEMO_DEV
by default you have a configuration with climatological forcing, bulk clio formulae.

Change from climatolgy, bulk_clio to interannual, bulk_core

If you want to change forcing method to have an Interannaul run with bulk_core formulae
you have to :

  • in modipsl/config/ORCA2_LIM/IGCM00/COMP/opa9.card:
Interannual_Run='''y''' [[BR]]

  1. List Surface Boundary Condition original files name ( get by the job )
List_jobsbc=(radlw_DFS4-ORCA2, radsw_DFS4-ORCA2, q2_DFS4-ORCA2, t2_DFS4-ORCA2, u10_DFS4-ORCA2, v10_DFS4-ORCA2, snow_DFS4-ORCA2, precip_DFS4-ORCA2)

NOTA BENE : It is very important to control variable name in netcdf files. In namelist you have to put exactly the same variable name that you have in netcdf files.

  1. List Surface Boundary Condition files name expected by NEMO ( same as the ones in namelist )
List_runsbc=(qlw_core, qsw_core, q2_core, t2_core, u10_core, v10_core, snow_core, precip_core)

NOTA BENE : If you leave List_runsbc=() this means that List_runsbc=List_jobsbc=(radlw_DFS4-ORCA2, radsw_DFS4-ORCA2, q2_DFS4-ORCA2, t2_DFS4-ORCA2, u10_DFS4-ORCA2, v10_DFS4-ORCA2, snow_DFS4-ORCA2, precip_DFS4-ORCA2) and in this case it CAN'T run because these are not same names that in the namelist!

  • in modipsl/config/ORCA2_LIM/IGCM00/PARAM/namelist:
  1. Activation of bulk core formulae in Surface Boundary Condition function ( namsbc )
ln_blk_core = .true.  [[BR]]
(and ln_blk_clio = .false.)
  • in modipsl/config/ORCA2_LIM/IGCM00/config.card:
  1. Change CalendarType? and PerdioLenght?
CalendarType=noleap
PeriodLength=1M
R_BC=/path/directory/with/DFS4_files_and_sbc

(note: DFS4_files_and_sbc directory has to have DFS4 forcing files, and boundary conditions files. [BR]] In my directory I changed precip and snow file's names, because I removed suffix _12, to have same names for all variables)

  1. Rebuild job
  cd modipsl
  ./util/ins_job

Change from interannaul, bulk_core to climatolgy, bulk_clio

  • in modipsl/config/ORCA2_LIM/IGCM00/COMP/opa9.card you have to :

Interannual_Run='''n''' 
  1. List Surface Boundary Condition original files name ( get by the job )
List_jobsbc'''=(flx, taux_1m, tauy_1m)

NOTA BENE : It is very important to control variable name in netcdf files. In namelist you have to put same variable name that you have in netcdf files.

  1. List Surface Boundary Condition files name expected by NEMO ( same as the ones in namelist )
List_runsbc'''=()

NOTA BENE : List_runsbc=() this means that List_runsbc=List_jobsbc=(flx, taux_1m, tauy_1m) and in this case it is ok. If you prefer you can put also List_runsbc=(flx, taux_1m, tauy_1m); is exactly the same thing.

  • in modipsl/config/ORCA2_LIM/IGCM00/PARAM/namelist :
  1. Activation of bulk clio formulae in Surface Boundary Condition function ( namsbc )
ln_blk_clio = .true. 
(and ln_blk_core = .false.)
  • in modipsl/config/ORCA2_LIM/IGCM00/config.card:
  1. Change CalendarType? and PerdioLenght?
CalendarType=noleap
PeriodLength=1Y
  1. Rebuild job
  cd modipsl
  ./util/ins_job