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 16 (modified by flavoni, 15 years ago) (diff)

--

Change Surface Boundary Conditions


How to change Surface Boundary forcing files

By default from nemo web site :

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

you have forcing files for bulk CLIO formulae

If you want to use other atmospheric forcing methods you can chose :

analytical
flux
bulk ( CLIO formulae )
bulk ( CORE formulae )
coupled

  • in modipsl/config/ORCA2_LIM/IGCM00/COMP/opa9.card you have to :
  1. decomment OPA_version if you want to use COMMON ACCOUNT
    ( https://forge.ipsl.jussieu.fr/nemo/wiki/private/libIGCM/common_account )
  1. choose if you want to do an
    interannul run ( Interannual_Run=y )
    climatological run ( Interannual_Run=n )
  1. Choose forcing method ( like in the following examples )

Example : using CORE bulk formulae

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

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 same variable name that you have in netcdf files.

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 : you can leave List_runsbc=(), and 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)

  • in modipsl/config/ORCA2_LIM/IGCM00/PARAM/namelist :

Activation of bulk core formulae in Surface Boundary Condition function ( namsbc )

ln_blk_core = .true.

Set correct frequency, name and interpolation in CORE bulk formulae ( namsbc_core )

file name frequency (hours) (if <0 months) variable name time interpol. (logical) clim (T/F) 'yearly' or monthly weights filename rotation pairing
sn_wndi 'u10_core' 6. 'u10' .true. .false. 'yearly' ' ' ' '
sn_wndj 'v10_core' 6. 'v10' .true. .false. 'yearly' ' ' ' '
sn_qsr 'qsw_core' 6. 'radsw' .true. .false. 'yearly' ' ' ' '
sn_qlw 'qlw_core' 6. 'radlw' .true. .false. 'yearly' ' ' ' '
sn_tair 't2_core' 6. ' t2' .true. .false. 'yearly' ' ' ' '
sn_humi 'q2_core' 6. 'q2' .true. .false. 'yearly' ' ' ' '
sn_prec 'precip_core' -1. 'precip' .true. .false. 'monthly' ' ' ' '
sn_snow 'snow_core' -1. 'snow' .true. .false. 'monthly' ' ' ' '

!

cn_dir = './' ! root directory for the location of the bulk files
ln_2m = .true. ! air temperature and humidity referenced at 2m (T) instead 10m (F)
alpha_precip= 1. ! multiplicative factor for precipitation (total & snow)

Example : using CLIO bulk formulae

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

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.

List Surface Boundary Condition files name expected by NEMO ( same as the ones in namelist )

List_runsbc=(flx, taux_1m, tauy_1m)

NOTA BENE : you can leave List_runsbc=(), and this means that List_runsbc=List_jobsbc=(flx, taux_1m, tauy_1m)

  • in modipsl/config/ORCA2_LIM/IGCM00/PARAM/namelist :
  1. activation of bulk clio formulae in Surface Boundary Condition function ( namsbc )

ln_blk_clio = .true.

  1. set correct frequency, name and interpolation in CLIO bulk formulae ( namsbc_clio )
file name frequency (hours) (if <0 months) variable name time interpol. (logical) clim (T/F) 'yearly' or monthly weights filename rotation pairing
sn_utau 'taux_1m' -1 'sozotaux' .false. .true. 'yearly' ' ' ' '
sn_vtau 'tauy_1m' -1 'sozotauy' .false. .true. 'yearly' ' ' ' '
sn_wndm 'flx' -1 'socliowi' .false. .true. 'yearly' ' ' ' '
sn_tair 'flx' -1 'socliot2' .false. .true. 'yearly' ' ' ' '
sn_humi 'q2_core' 6. 'q2' .true. .false. 'yearly' ' ' ' '
sn_prec 'precip_core' -1. 'precip' .true. .false. 'monthly' ' ' ' '
sn_snow 'snow_core' -1. 'snow' .true. .false. 'monthly' ' ' ' '

sn_tair = 'flx' , -1. , 'socliot2' , .false. , .true. , 'yearly' , , sn_humi = 'flx' , -1. , 'socliohu' , .false. , .true. , 'yearly' , , sn_ccov = 'flx' , -1. , 'socliocl' , .false. , .true. , 'yearly' , , sn_prec = 'flx' , -1. , 'socliopl' , .false. , .true. , 'yearly' , ,

!

cn_dir = './' ! root directory for the location of the bulk files are