Changeset 3688 for CONFIG


Ignore:
Timestamp:
03/23/18 15:32:55 (3 years ago)
Author:
acosce
Message:

remove these configuration not use anymore

Location:
CONFIG/UNIFORM/v6/IPSLCM6CHT
Files:
54 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/lim2.card

    r2456 r3688  
    1515 
    1616[ParametersFiles] 
    17 List=   (${SUBMIT_DIR}/PARAM/namelist_lim2_${RESOL_OCE}_ref, namelist_ice_ref), \ 
     17List=   (${MODIPSL}/modeles/NEMO/CONFIG/SHARED/namelist_lim2_ref, namelist_ice_ref), \ 
    1818        (${SUBMIT_DIR}/PARAM/namelist_lim2_${RESOL_OCE}_cfg, namelist_ice_cfg) 
    1919 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/lim3.card

    r2456 r3688  
    1515 
    1616[ParametersFiles] 
    17 List=   (${SUBMIT_DIR}/PARAM/namelist_lim3_${RESOL_OCE}_ref, namelist_ice_ref), \ 
    18         (${SUBMIT_DIR}/PARAM/namelist_lim3_${RESOL_OCE}_cfg, namelist_ice_cfg) 
     17List=   (${MODIPSL}/modeles/NEMOGCM/CONFIG/SHARED/namelist_ice_lim3_ref                  , namelist_ice_ref       ), \ 
     18        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/field_def_nemo-lim.xml, field_def_nemo-lim.xml ), \ 
     19        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/ping_seaIce.xml       , ping_seaIce.xml        ), \ 
     20        (${SUBMIT_DIR}/PARAM/namelist_lim3_${RESOL_OCE}_cfg_${LMDZ_Physics}              , namelist_ice_cfg       ), \ 
     21        (${SUBMIT_DIR}/PARAM/file_def_nemo-lim3.xml                                      , file_def_nemo-lim.xml  ) 
     22 
    1923 
    2024[RestartFiles] 
     
    3034[Post_1M_icemod] 
    3135Patches = () 
    32 GatherWithInternal = (nav_lon, nav_lat, time_counter) 
    33 TimeSeriesVars2D = (bmelt, evap, grLateral, ialb, ice_pres, iicetemp, iicethic, iicevelu, iicevelv, ileadfra, isnowthi, prsn, rsdssi, sblsi, sim, snoToIce, snomelt, soicecov, strairx, strairy, tmelt, transifs, transix, transiy, tsice) 
     36GatherWithInternal = (nav_lon, nav_lat, time_counter, time_centered, time_centered_bounds) 
     37TimeSeriesVars2D = (snthic, sithic, sivolu, snvolu, siconc, sisali, sitemp, sistem, siheco, snheco, siages, sivelu, sivelv, sivelo, sishea, sfx) 
    3438ChunckJob2D = NONE 
    3539TimeSeriesVars3D = () 
     
    3943[Post_1D_icemod] 
    4044Patches = () 
    41 GatherWithInternal = (nav_lon, nav_lat, time_counter) 
    42 TimeSeriesVars2D = (iicethic, iicevelu, iicevelv, ileadfra) 
    43 ChunckJob2D = 200Y 
     45GatherWithInternal = (nav_lon, nav_lat, time_counter, time_centered, time_centered_bounds) 
     46TimeSeriesVars2D = (snthic,sithic,sivolu,snvolu,siconc) 
     47ChunckJob2D = OFF 
    4448TimeSeriesVars3D = () 
    4549ChunckJob3D = NONE 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/lmdz.card

    r2456 r3688  
    33 
    44[UserChoices] 
    5 # Physics package to use :  
    6 # LMDZ_Physics=AP for standard/old physics(defalut), can be used with LMDZ4_AR5 or LMDZ5/trunk sources  
    7 # LMDZ_Physics=NPv3.1 for new physics, to be used with LMDZ5/trunk revision 1554 or later 
    8 LMDZ_Physics=AP 
    9 #LMDZ_Physics=NPv4.12 
    10  
    11 # Set ConfType to choose parameters for aerosols, solar and green house gazes.  
     5# Physics package to use : 
     6# LMDZ_Physics=AP for standard/old physics(defalut), can be used with LMDZ4_AR5 or LMDZ5/trunk sources 
     7LMDZ_Physics=NPv6.0.15_T 
     8 
     9# Set ConfType to choose parameters for aerosols, solar and green house gazes. 
    1210# The parameter file PARAM/config.def_$ConfType will be used. 
    1311# ConfType=preind/actuel/annuel 
    1412ConfType=preind 
    1513 
    16 # manage radiative aerosol effect and ozone  
     14# Set pmagic in config.def 
     15pmagic=0.0 
     16 
     17# Manage radiative aerosol effect and ozone 
    1718flag_aerosol=6 
    1819ok_ade=y 
    1920ok_aie=y 
    2021aerosol_couple=n 
    21 read_climoz=2 
     22read_climoz=1 
    2223ok_cdnc=y 
    2324 
     
    2829ByPass_hgardfou_mats=n 
    2930 
    30 # Number of periods where to set parameter adjust=y before switching to adjust=n 
    31 # For adjust=n, set LMDZ_NbPeriod_ajust=0.  
    32 LMDZ_NbPeriod_adjust=0 
    33  
    34 # To force usage of specific Bands file, set LMDZ_NbPeriod_adjust=0 and replace XXXXXXX by Restart experiment 
    35 # LMDZ_Bands_file_name=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/pdControl/XXXXXX/ATM/Debug/pdControl_XXXXXXX_Bands_96x95x19_3prc.dat_3 
    36  
    37 # Set OutLevel to choose the level of output files from LMDZ. The file PARAM/output.def_$OutLevel will be used. 
     31# Set OutLevel to choose the level of output for LMDZ 
    3832# OutLevel=low/medium/high 
    39 OutLevel=medium 
    40  
    41 # Set COSP activation and Outputs frequency (monthly, daily, HF) = y/n 
     33OutLevel=low 
     34 
     35# Set COSP activation and output frequency (monthly, daily, HF) = y/n 
    4236LMDZ_COSP_OK=n 
    43 LMDZ_COSP_monthly=y 
    44 LMDZ_COSP_daily=y 
     37LMDZ_COSP_monthly=n 
     38LMDZ_COSP_daily=n 
    4539LMDZ_COSP_hf=n 
    4640 
    47 # Set NMC Outputs frequency (monthly, daily, HF) = y/n 
     41# Set NMC output frequency (monthly, daily, HF) = y/n 
    4842LMDZ_NMC_monthly=y 
    49 LMDZ_NMC_daily=y 
     43LMDZ_NMC_daily=n 
    5044LMDZ_NMC_hf=n 
    5145 
    52 # Use XIOS as output library 
    53 XIOS=y 
    54  
    5546[InitialStateFiles] 
    56 List=  (${R_INIT}/ATM/LMDZ/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}xLMD${RESOL_ATM_3D}/start.nc    , . ), \ 
    57        (${R_INIT}/ATM/LMDZ/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}xLMD${RESOL_ATM_3D}/startphy.nc , . ) 
     47List=  (${R_IN}/ATM/START/${config_UserChoices_ORCA_version}xLMD${RESOL_ATM_XY}/start_${config_UserChoices_ORCA_version}xLMD${RESOL_ATM_3D}_o2a_v3.nc   , start.nc      ), \ 
     48       (${R_IN}/ATM/START/${config_UserChoices_ORCA_version}xLMD${RESOL_ATM_XY}/startphy_${config_UserChoices_ORCA_version}xLMD${RESOL_ATM_3D}_o2a_v3.nc, startphy.nc    ) 
    5849 
    5950[BoundaryFiles] 
    6051List=   () 
    61 # With AR5 aerosols (including ASSO4M(=SO4), CSSO4M, AIBCM, ASBCM, AIPOMM, ASPOMM, ASSSM, CSSSM, SSSSM, CIDUSTM) 
    62 # With AR5 ozone(tropo + strato from LMDZOR-INCA-REPROBUS simulations) 
    63 ListNonDel= (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/aerosols_11YearsClim_1855_v5.nc, aerosols.nat.nc),\ 
    64             (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/climoz_LMDZ_1855_v2.nc, climoz_LMDZ.nc) 
     52# 
     53# With CMIP6 aerosols version 1 
     54# With 3D ozone 
     55ListNonDel= (${R_IN}/ATM/AEROSOLS/CMIP6/v1/${RESOL_ATM_XY}/L${RESOL_ATM_Z}/aerosols1850_from_inca.nc,   aerosols.nat.nc),\ 
     56            (${R_IN}/ATM/OZONE/UReading/historical.v20160711/interpol/${RESOL_ATM_XY}/climoz_LMDZ_1850_1850_clim.nc, climoz_LMDZ.nc),\ 
     57            (${R_IN}/ATM/SOLAR/CMIP6/v3.1corr/Control/solarforcing_v3.1_piControl_ave_6bands_366days.nc, solarforcing.nc),\ 
     58            (${R_IN}/ATM/STRATAERO/CMIP6/v3/${RESOL_ATM_XY}/L${RESOL_ATM_Z}/taulwstrat.2D.ave.nc, taulwstrat.2D.nc),\ 
     59            (${R_IN}/ATM/STRATAERO/CMIP6/v3/${RESOL_ATM_XY}/L${RESOL_ATM_Z}/tauswstrat.2D.ave.nc, tauswstrat.2D.nc) 
    6560 
    6661[SmoothFiles] 
    67 List=   () 
     62List=   () 
    6863 
    6964[ParametersFiles] 
    70 List=   (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, physiq.def), \ 
    71         (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D},    gcm.def),    \ 
    72         (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                .),    \ 
    73         (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,               .),    \ 
    74         (${SUBMIT_DIR}/PARAM/output.def_${OutLevel},  output.def),    \ 
    75         (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),    \ 
    76     (${SUBMIT_DIR}/PARAM/guide.def, .), \ 
    77         (${SUBMIT_DIR}/PARAM/run.def, .), \ 
    78         (${SUBMIT_DIR}/PARAM/traceur.def, .), \ 
    79         (${SUBMIT_DIR}/PARAM/iodef.xml, . ),\ 
    80         (${MODIPSL}/modeles/LMDZ/DefLists/context_lmdz.xml, . )            ,\ 
    81         (${MODIPSL}/modeles/LMDZ/DefLists/field_def_lmdz.xml, . )          ,\ 
    82         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histday_lmdz.xml, . )   ,\ 
    83         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhf_lmdz.xml, . )    ,\ 
    84         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histins_lmdz.xml, . )   ,\ 
    85         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histLES_lmdz.xml, . )   ,\ 
    86         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmth_lmdz.xml, . )   ,\ 
    87         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histstn_lmdz.xml, . )   ,\ 
    88         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthNMC_lmdz.xml, . ),\ 
    89         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayNMC_lmdz.xml, . ),\ 
    90         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhfNMC_lmdz.xml, . ),\ 
    91         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthCOSP_lmdz.xml, .),\ 
    92         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayCOSP_lmdz.xml, .),\ 
    93         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhfCOSP_lmdz.xml, .)     
     65List=   (${SUBMIT_DIR}/PARAM/physiq.def_${LMDZ_Physics}, physiq.def),       \ 
     66        (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_XY}_${LMDZ_Physics}, gcm.def), \ 
     67        (${SUBMIT_DIR}/PARAM/vert.def_L${RESOL_ATM_Z},   vert.def),         \ 
     68        (${MODIPSL}/modeles/LMDZ/DefLists/cosp_input_nl.txt, .),            \ 
     69        (${MODIPSL}/modeles/LMDZ/DefLists/cosp_output_nl.txt, .),           \ 
     70        (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),          \ 
     71        (${SUBMIT_DIR}/PARAM/guide.def, .),                                 \ 
     72        (${SUBMIT_DIR}/PARAM/run.def, .),                                   \ 
     73        (${SUBMIT_DIR}/PARAM/traceur.def, .),                               \ 
     74        (${SUBMIT_DIR}/PARAM/iodef.xml, . ),                                \ 
     75        (${MODIPSL}/modeles/LMDZ/DefLists/context_lmdz.xml, . ),            \ 
     76        (${MODIPSL}/modeles/LMDZ/DefLists/field_def_lmdz.xml, . ),          \ 
     77        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmth_lmdz.xml, . ),   \ 
     78        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthCOSP_lmdz.xml, .),\ 
     79        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthNMC_lmdz.xml, . ),\ 
     80        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histday_lmdz.xml, . ),   \ 
     81        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayCOSP_lmdz.xml, .),\ 
     82        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayNMC_lmdz.xml, . ),\ 
     83        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhf_lmdz.xml, . ),    \ 
     84        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhfCOSP_lmdz.xml, .), \ 
     85        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhfNMC_lmdz.xml, . ), \ 
     86        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histstn_lmdz.xml, . ),   \ 
     87        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histins_lmdz.xml, . ),   \ 
     88        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histstrataer_lmdz.xml, . ),\ 
     89        (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histLES_lmdz.xml, . ) 
     90 
     91 
    9492 
    9593[RestartFiles] 
    96 List=   (restart.nc, restart.nc, start.nc), \ 
    97         (restartphy.nc, restartphy.nc,  startphy.nc) 
     94List=   (restart.nc, restart.nc, start.nc), \ 
     95        (restartphy.nc, restartphy.nc,  startphy.nc) 
    9896 
    9997[OutputText] 
    100 List=   (physiq.def, gcm.def, run.def, traceur.def, guide.def, config.def, used_run.def, iodef.xml, context_lmdz.xml,field_def_lmdz.xml,debug.01) 
    101 #List=   (lmdz.x.prt) 
     98List=   (physiq.def, gcm.def, run.def, traceur.def, guide.def, config.def, vert.def, used_run.def, iodef.xml, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug_notroot.01, debug.root.01, lmdz.prt, out_lmdz.x.err, out_lmdz.x.out) 
    10299 
    103100[OutputFiles] 
    104 List=   (histmth.nc,       ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmth.nc,       Post_1M_histmth),       \ 
    105         (histmthCOSP.nc,   ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthCOSP.nc,   NONE),   \ 
    106         (histmthNMC.nc,    ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthNMC.nc,    Post_1M_histmthNMC),    \ 
    107         (dynzon.nc,        ${R_OUT_ATM_O_M}/${PREFIX}_1M_dynzon.nc,        NONE),        \ 
    108         (paramLMDZ_phy.nc, ${R_OUT_ATM_O_M}/${PREFIX}_1M_paramLMDZ_phy.nc, Post_1M_paramLMDZ_phy), \ 
    109         (histday.nc,       ${R_OUT_ATM_O_D}/${PREFIX}_1D_histday.nc,       Post_1D_histday),       \ 
    110         (histdayCOSP.nc,   ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdayCOSP.nc,   NONE),   \ 
    111         (histdayNMC.nc,    ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdayNMC.nc,    Post_1D_histdayNMC),    \ 
    112         (histhf.nc,        ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhf.nc,        NONE),        \ 
    113         (histhfCOSP.nc,    ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhfCOSP.nc,    NONE),    \ 
    114         (histhfNMC.nc,     ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhfNMC.nc,     NONE),     \ 
    115         (histhf3h.nc,      ${R_OUT_ATM_O_H}/${PREFIX}_3H_histhf3h.nc,      NONE)  
     101List=   (histmth.nc,       ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmth.nc,       Post_1M_histmth),       \ 
     102        (histmthCOSP.nc,   ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthCOSP.nc,   NONE),                  \ 
     103        (histmthNMC.nc,    ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthNMC.nc,    Post_1M_histmthNMC),    \ 
     104        (histday.nc,       ${R_OUT_ATM_O_D}/${PREFIX}_1D_histday.nc,       NONE),                  \ 
     105        (histdayCOSP.nc,   ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdayCOSP.nc,   NONE),                  \ 
     106        (histdayNMC.nc,    ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdayNMC.nc,    NONE),                  \ 
     107        (histhf.nc,        ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhf.nc,        NONE),                  \ 
     108        (histhfCOSP.nc,    ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhfCOSP.nc,    NONE),                  \ 
     109        (histhfNMC.nc,     ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhfNMC.nc,     NONE),                  \ 
     110        (histhf3h.nc,      ${R_OUT_ATM_O_H}/${PREFIX}_3H_histhf3h.nc,      NONE),                  \ 
     111        (histhf3hm.nc,     ${R_OUT_ATM_O_H}/${PREFIX}_3H_histhf3hm.nc,     NONE) 
    116112 
    117113[Post_1M_histmth] 
    118114Patches= () 
    119 GatherWithInternal = (lon, lat, presnivs, time_counter, time_counter_bounds, aire) 
    120 TimeSeriesVars2D = (bils, cldh, cldl, cldm, cldq, cldt, evap, flat, ftime_con, iwp, lwp, LWdnSFC, LWdnSFCclr, LWupSFCclr, LWdn200, LWdn200clr, LWup200, LWup200clr, precip, prw, pluc, psol, q2m, rh2m, sens, sicf, slp, snow, soll0, soll, sols0, sols, SWdnSFC, SWupSFC, SWup200, SWdnTOA, SWupTOA, SWdn200, SWdnSFCclr, SWupSFCclr, SWupTOAclr, t2m, t2m_max, t2m_min, taux, taux_ter, taux_sic, taux_lic, taux_oce, tauy, tauy_ter, tauy_sic, tauy_lic, tauy_oce, lat_ter, lat_sic, lat_lic, lat_oce, nettop, pbase, ptop, topl0, topl, tops0, tops, topswad, topswai, tsol, tsol_ter, tsol_lic, tsol_oce, tsol_sic , u10m, u500, v10m, v500, w500, pourc_ter, pourc_oce, pourc_sic, pourc_lic, wind10m, od550aer, od550lt1aer, absvisaer, loadoa, loadbc, loadso4, loaddust, loadss, sconcoa, sconcbc, sconcso4, sconcdust, sconcss, reffclwtop, cldncl, swtoaas_ant, swtoacs_ant, swtoacf_ant, swsrfas_ant, swsrfcs_ant, swsrfcf_ant, swtoaas_nat, swtoacs_nat, swtoacf_nat, swsrfas_nat, swsrfcs_nat, swsrfcf_nat, solswai, solswad, swtoacf_zero, swsrfcf_zero) 
     115GatherWithInternal = (lon, lat, presnivs, time_counter, time_centered, time_centered_bounds, aire) 
     116TimeSeriesVars2D = (bils, cldh, cldl, cldm, cldq, cldt, evap, flat, ftime_con, iwp, lwp, LWdnSFC, LWdnSFCclr, LWupSFC, LWupSFCclr, LWdn200, LWdn200clr, LWup200, LWup200clr, precip, prw, pluc, psol, q2m, rh2m, sens, sicf, slp, snow, soll0, soll, sols0, sols, SWdnSFC, SWupSFC, SWup200, SWdnTOA, SWupTOA, SWdn200, SWdnSFCclr, SWupSFCclr, SWupTOAclr, t2m, ave_t2m_daily_max, ave_t2m_daily_min, taux, taux_ter, taux_sic, taux_lic, taux_oce, tauy, tauy_ter, tauy_sic, tauy_lic, tauy_oce, lat_ter, lat_sic, lat_lic, lat_oce, nettop, pbase, ptop, topl0, topl, tops0, tops, topswad, topswai, tsol, tsol_ter, tsol_lic, tsol_oce, tsol_sic , u10m, u500, v10m, v500, w500, pourc_ter, pourc_oce, pourc_sic, pourc_lic, wind10m, od550aer, od550lt1aer, od550_STRAT, loadoa, loadbc, loadso4, loaddust, loadss, sconcoa, sconcbc, sconcso4, sconcdust, sconcss, reffclwtop, cldncl, swtoaas_ant, swtoacs_ant, swtoacf_ant, swsrfas_ant, swsrfcs_ant, swsrfcf_ant, swtoaas_nat, swtoacs_nat, swtoacf_nat, swsrfas_nat, swsrfcs_nat, swsrfcf_nat, solswai, solswad, swtoacf_zero, swsrfcf_zero, R_ecc, R_peri, R_incl, solaire, rsun1, co2_ppm, CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt, colO3_strat, colO3_trop) 
    121117ChunckJob2D = NONE 
    122118TimeSeriesVars3D = (upwd, lwcon, iwcon, lcc3dcon, lcc3dstra, temp, theta, ovap, ovapinit, geop, vitu, vitv, vitw, pres, rneb, rnebcon, rhum, mc, paprs, scdnc, ec550aer, concoa, concbc, concso4, concss, concdust, reffclws, reffclwc, tnt, dtdyn, dtphy, dtlschr, tntr, tntscpbl, tnhus, dqdyn, dqvdf, tnhusscpbl, dqphy, evu, mcd) 
     
    126122[Post_1M_histmthCOSP] 
    127123Patches = () 
    128 GatherWithInternal = (lon, lat, pressure2, height, sza, time_counter, time_counter_bounds) 
     124GatherWithInternal = (lon, lat, pressure2, height, sza, time_counter, time_centered, time_centered_bounds, aire) 
    129125TimeSeriesVars2D = (cllcalipso, clmcalipso, clhcalipso, cltcalipso, tclisccp, albisccp, ctpisccp) 
    130 ChunckJob2D = OFF  
     126ChunckJob2D = OFF 
    131127TimeSeriesVars3D = (clcalipso, clisccp2_c01, clisccp2_c02, clisccp2_c03, clisccp2_c04, clisccp2_c05, clisccp2_c06, clisccp2_c07, parasol_refl) 
    132128ChunckJob3D = OFF 
     
    135131[Post_1M_histmthNMC] 
    136132Patches = () 
    137 GatherWithInternal = (lon, lat, plev, time_counter, time_counter_bounds) 
     133GatherWithInternal = (lon, lat, plev, time_counter, time_centered, time_centered_bounds) 
    138134TimeSeriesVars2D = () 
    139135ChunckJob2D = NONE 
    140 TimeSeriesVars3D = (ta, zg, hus, hur, ua, va, wap) 
    141 ChunckJob3D = 100Y 
     136TimeSeriesVars3D = (ta, tro3, zg, hus, hur, ua, va, wap) 
     137ChunckJob3D = NONE 
    142138Seasonal=ON 
    143139 
    144 [Post_1M_dynzon] 
    145 Patches = () 
    146 GatherWithInternal = (lon, lat, presnivs, time_counter, time_counter_bounds) 
    147 TimeSeriesVars2D = () 
    148 ChunckJob2D = NONE 
    149 TimeSeriesVars3D = () 
    150 ChunckJob3D = NONE 
    151 Seasonal=OFF 
    152  
    153 [Post_1M_paramLMDZ_phy] 
    154 Patches=() 
    155 GatherWithInternal = (lon, lat, time_counter, time_counter_bnds) 
    156 TimeSeriesVars2D =(R_ecc,  R_peri, R_incl, solaire, co2_ppm, CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt) 
    157 ChunckJob2D = NONE 
    158 TimeSeriesVars3D = () 
    159 ChunckJob3D = NONE 
    160 Seasonal=OFF 
    161  
    162140[Post_1D_histday] 
    163141Patches= () 
    164 GatherWithInternal = (lon, lat, presnivs, time_counter, time_counter_bounds) 
     142GatherWithInternal = (lon, lat, presnivs, time_counter, time_centered, time_centered_bounds) 
    165143TimeSeriesVars2D = (bils, cldh, cldl, cldm, cldq, cldt, evap, flat, precip, pluc, plul, prw, psol, q2m, sens, sicf, slp, soll, sols, snow, SWdnSFC, t2m, t2m_max, t2m_min, topl, tops, tsol, u10m, v10m, wind10m, wind10max) 
    166144ChunckJob2D = 50Y 
     
    171149[Post_1D_histdayCOSP] 
    172150Patches = () 
    173 GatherWithInternal = (lon, lat, pressure2, height, sza, time_counter, time_counter_bounds) 
     151GatherWithInternal = (lon, lat, pressure2, height, sza, time_counter, time_centered, time_centered_bounds) 
    174152TimeSeriesVars2D = (cllcalipso, clmcalipso, clhcalipso, cltcalipso, tclisccp, albisccp, ctpisccp) 
    175153ChunckJob2D = OFF 
     
    180158[Post_1D_histdayNMC] 
    181159Patches = () 
    182 GatherWithInternal = (lon, lat, plev, time_counter, time_counter_bounds) 
     160GatherWithInternal = (lon, lat, plev, time_counter, time_centered, time_centered_bounds) 
    183161TimeSeriesVars2D = () 
    184162ChunckJob2D = NONE 
     
    189167[Post_HF_histhf] 
    190168Patches= () 
    191 GatherWithInternal = (lon, lat, presnivs, time_counter, time_counter_bounds) 
     169GatherWithInternal = (lon, lat, presnivs, time_counter, time_centered, time_centered_bounds) 
    192170TimeSeriesVars2D = (cldt, psol, q2m, slp, precip, pluc, plul, t2m, tsol, u10m, v10m) 
    193171ChunckJob2D = 50Y 
     
    198176[Post_HF_histhfCOSP] 
    199177Patches = () 
    200 GatherWithInternal = (lon, lat, height, sza, time_counter, time_counter_bounds) 
     178GatherWithInternal = (lon, lat, height, sza, time_counter, time_centered, time_centered_bounds) 
    201179TimeSeriesVars2D = (cllcalipso, clmcalipso, clhcalipso, cltcalipso) 
    202180ChunckJob2D = OFF 
     
    207185[Post_HF_histhfNMC] 
    208186Patches = () 
    209 GatherWithInternal = (lon, lat, plev, time_counter, time_counter_bounds) 
     187GatherWithInternal = (lon, lat, plev, time_counter, time_centered, time_centered_bounds) 
    210188TimeSeriesVars2D = () 
    211189ChunckJob2D = NONE 
     
    214192Seasonal=OFF 
    215193 
     194[Post_3H_histhf3hm] 
     195Patches= () 
     196GatherWithInternal = (lon, lat, presnivs, time_counter, time_centered, time_centered_bounds) 
     197TimeSeriesVars2D = (flat, precip, pluc, snow, topl, topl0, SWupTOA, SWupTOAclr, SWdnTOA, SWupSFC, SWupSFCclr, SWdnSFC, SWdnSFCclr, LWupSFC, LWupSFCclr, LWdnSFC, LWdnSFCclr, bils, bils_tke, bils_diss, bils_ec, bils_kinetic, bils_enthalp, bils_latent, sens, cldt, zmax_th) 
     198ChunckJob2D = OFF 
     199TimeSeriesVars3D = () 
     200ChunckJob3D = OFF 
     201Seasonal=OFF 
     202 
    216203[Post_3H_histhf3h] 
    217204Patches= () 
    218 GatherWithInternal = (lon, lat, presnivs, time_counter, time_counter_bounds) 
    219 TimeSeriesVars2D = (phis, tsol, t2m, q2m, u10m, v10m, psol, topl, bils) 
     205GatherWithInternal = (lon, lat, presnivs, time_counter, time_centered, time_centered_bounds) 
     206TimeSeriesVars2D = (phis, tsol, t2m, q2m, ustar, u10m, v10m, psol) 
    220207ChunckJob2D = OFF 
    221208TimeSeriesVars3D = () 
    222209ChunckJob3D = OFF 
    223210Seasonal=OFF 
    224  
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/oasis.card

    r2456 r3688  
    44[UserChoices] 
    55OutputMode=n 
    6 FreqCoupling=86400 
     6FreqCoupling=5400 
     7FreqCouplingRoffCalv=86400 
    78Lucia=n 
    89 
    910[InitialStateFiles] 
    10 List=   (${R_INIT}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/flxat.nc, flxat.nc), \ 
    11         (${R_INIT}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/sstoc.nc, sstoc.nc) 
     11List=   (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/flxat_v3.nc, flxat.nc), \ 
     12        (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/sstoc_v3.nc, sstoc.nc), \ 
     13        (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/icbrg_v3.nc, icbrg.nc), \ 
     14        (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/icshf_v3.nc, icshf.nc) 
    1215 
    1316[BoundaryFiles] 
    1417List=   () 
    15 ListNonDel= (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/grids.nc, grids.nc),\ 
    16             (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/masks.nc, masks.nc),\ 
    17             (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/areas.nc, areas.nc),\ 
    18             (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_torc_to_tlmd_MOSAIC.nc, rmp_torc_to_tlmd_MOSAIC.nc),\ 
    19             (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC.nc, rmp_tlmd_to_torc_MOSAIC.nc),\ 
    20             (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_calvin.nc, rmp_tlmd_to_torc_MOSAIC_calvin.nc),\ 
    21             (${R_BC}/CPL/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_rivflu.nc, rmp_tlmd_to_torc_MOSAIC_rivflu.nc) 
     18ListNonDel= (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/grids_v3.nc, grids.nc),\ 
     19            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/masks_v3.nc, masks.nc),\ 
     20            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/areas_v3.nc, areas.nc),\ 
     21            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_torc_to_tlmd_MOSAIC_v3.nc, rmp_torc_to_tlmd_MOSAIC.nc),\ 
     22            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_v3.nc, rmp_tlmd_to_torc_MOSAIC.nc),\ 
     23            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_uorc_BILINEAR_Corrected.nc, .),\ 
     24            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_BILINEAR_Corrected.nc, .),\ 
     25            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_calving_nosouth_v3.nc, rmp_tlmd_to_torc_MOSAIC_calving_nosouth.nc),\ 
     26            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_calving_iceberg_v3.nc, rmp_tlmd_to_torc_MOSAIC_calving_iceberg.nc),\ 
     27            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_calving_iceshelf_v3.nc, rmp_tlmd_to_torc_MOSAIC_calving_iceshelf.nc),\ 
     28            (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_rivflu_v4.nc, rmp_tlmd_to_torc_MOSAIC_rivflu.nc) 
    2229 
    2330[SmoothFiles] 
     
    2835 
    2936[RestartFiles] 
    30 List=   (flxat.nc, flxat.nc, flxat.nc),\ 
    31         (sstoc.nc, sstoc.nc, sstoc.nc) 
     37List=   (flxat.nc, flxat.nc, flxat.nc),\ 
     38    (sstoc.nc, sstoc.nc, sstoc.nc),\ 
     39    (icbrg.nc, icbrg.nc, icbrg.nc),\ 
     40    (icshf.nc, icshf.nc, icshf.nc) 
    3241 
    3342[OutputText] 
     
    5968    (CODFLXDT_LMDZ_23.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_CODFLXDT.nc,    Post_ncks_cdo),\ 
    6069    (COCALVIN_LMDZ_24.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COCALVIN.nc,    Post_ncks_cdo),\ 
    61     (COLIQRUN_LMDZ_25.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COLIQRUN.nc,    Post_ncks_cdo),\ 
     70    (COLIQRUN_LMDZ_27.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COLIQRUN.nc,    Post_ncks_cdo),\ 
    6271    (O_SSTSST_oceanx_01.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_SSTSST.nc,    Post_ncks_cdo),\ 
    6372    (OIceFrc_oceanx_02.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OIceFrac.nc,    Post_ncks_cdo),\ 
     
    7988    (OIceEvap_oceanx_18.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OIceEvap.nc,    Post_ncks_cdo),\ 
    8089    (O_QsrMix_oceanx_19.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QsrMix.nc,    Post_ncks_cdo),\ 
    81     (O_QnsMix_oceanx_20.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QsrIce.nc,    Post_ncks_cdo),\ 
    82     (O_QsrIce_oceanx_21.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QnsMix.nc,    Post_ncks_cdo),\ 
     90    (O_QnsMix_oceanx_20.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QnsMix.nc,    Post_ncks_cdo),\ 
     91    (O_QsrIce_oceanx_21.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QsrIce.nc,    Post_ncks_cdo),\ 
    8392    (O_QnsIce_oceanx_22.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QnsIce.nc,    Post_ncks_cdo),\ 
    8493    (O_dQnsdT_oceanx_23.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_dQnsdT.nc,    Post_ncks_cdo),\ 
    8594    (OCalving_oceanx_24.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OCalving.nc,    Post_ncks_cdo),\ 
    86     (O_Runoff_oceanx_25.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_Runoff.nc,    Post_ncks_cdo),\ 
     95    (OIceberg_oceanx_25.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OIceberg.nc,    Post_ncks_cdo),\ 
     96    (OIcshelf_oceanx_26.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OIcshelf.nc,    Post_ncks_cdo),\ 
     97    (O_Runoff_oceanx_27.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_Runoff.nc,    Post_ncks_cdo),\ 
    8798    (TEMPO_1D_cpl_atm.nc,    ${R_OUT_CPL_O_D}/${PREFIX}_1D_cpl_atm.nc , Post_1D_cpl_atm), \ 
    8899    (TEMPO_1D_cpl_oce.nc,    ${R_OUT_CPL_O_D}/${PREFIX}_1D_cpl_oce.nc , Post_1D_cpl_oce), \ 
     
    120131Patches = (Patch_20091119_put_out) 
    121132GatherWithInternal = (lon, lat, time) 
    122 TimeSeriesVars2D = (SIICEALW, SIICECOV, SISUTESW, COCALVIN, COICEVAP, COLIQRUN, CONSFICE, COQNSMIX, COQSRMIX, COSHFICE, COTOTEVA, COTOTRAI, COTOTSNO) 
    123 ChunckJob2D = NONE 
     133TimeSeriesVars2D = (COTAUXXU, COTAUYYU, COTAUZZU, COTAUXXV, COTAUYYV, COTAUZZV, COWINDSP, COTOTRAI, COTOTSNO, COTOTEVA, COICEVAP, COQSRMIX, COQNSMIX, COSHFICE, CONSFICE, CODFLXDT, COCALVIN, COLIQRUN, SISUTESW, SIICECOV, SIICTEMW, SIICEALW, CURRENTX, CURRENTY, CURRENTZ) 
     134ChunckJob2D = OFF 
    124135TimeSeriesVars3D = () 
    125136ChunckJob3D = NONE 
    126 Seasonal=ON 
     137Seasonal=OFF 
    127138 
    128139[Post_1M_cpl_oce] 
    129140Patches = (Patch_20091119_put_out) 
    130141GatherWithInternal = (lon, lat, time) 
    131 TimeSeriesVars2D = (OCalving, OIceEvap, OIceFrac, OTotEvap, OTotRain, OTotSnow, O_AlbIce, O_QnsIce, O_QnsMix, O_QsrIce, O_QsrMix, O_Runoff) 
    132 ChunckJob2D = NONE 
     142TimeSeriesVars2D = (O_OTaux1, O_OTauy1, O_OTauz1, O_OTaux2, O_OTauy2, O_OTauz2, O_Wind10, OTotRain, OTotSnow, OTotEvap, OIceEvap, O_QsrMix, O_QnsMix, O_QsrIce, O_QnsIce, O_dQnsdT, OCalving, OIceberg, OIcshelf, O_Runoff, O_SSTSST, OIceFrc, O_TepIce, O_AlbIce, O_OCurx1, O_OCury1, O_OCurz1) 
     143ChunckJob2D = OFF 
    133144TimeSeriesVars3D = () 
    134145ChunckJob3D = NONE 
    135 Seasonal=ON 
     146Seasonal=OFF 
    136147 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/opa9.card

    r2519 r3688  
    33 
    44[UserChoices] 
    5 ORCA_version=ORCA2.3 
    6 mesh_mask=n 
    7 iceflx="linear" 
    8 # OUTPUT_LEVEL=2 for standard daily outputs 
    9 # OUTPUT_LEVEL=3 for more daily outputs 
    10 OUTPUT_LEVEL=2 
     5ORCA_version=${config_UserChoices_ORCA_version:-eORCA1.1} 
     6mesh_mask= n 
     7Reproducibility_after_restart= n 
     8TimeOrigin=1800 
     9Restart_TS_only= n 
    1110 
    1211[InitialStateFiles] 
     
    1514[BoundaryFiles] 
    1615List=   () 
    17 ListNonDel= (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/ahmcoef,        .), \ 
    18             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/bathy_meter.nc, .), \ 
    19             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/coordinates.nc, .), \ 
    20             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_1m_potential_temperature_nomask.nc, .), \ 
    21             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_1m_salinity_nomask.nc, .), \ 
    22             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/geothermal_heating.nc, .),\ 
    23             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/subbasins.nc, .),\ 
    24             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/chlorophyll_surface.nc, chlorophyll.nc),\ 
    25             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/Tides_K1_drg_ORCA.nc, K1rowdrg.nc),\ 
    26             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/Tides_M2_drg_ORCA.nc, M2rowdrg.nc),\ 
    27             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/tmaskitf_ORCA_bis.nc, mask_itf.nc),\ 
    28             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/kRGB61.txt, .) 
     16ListNonDel= (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/coordinates.nc                     , .  ), \ 
     17            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/coordinates_xios.nc                , .  ), \ 
     18            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/${opa9_UserChoices_ORCA_version}_bathy_meter.nc    , bathy_meter.nc ), \ 
     19            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/runoffs_${opa9_UserChoices_ORCA_version}_depths.nc    , runoffs_eORCA1.0_depths.nc   ), \ 
     20            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/ahmcoef.nc                         , .  ), \ 
     21            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/mask_itf.nc                        , .  ), \ 
     22            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/K1rowdrg.nc                        , K1rowdrg.nc     ), \ 
     23            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/M2rowdrg.nc                        , M2rowdrg.nc     ), \ 
     24            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/subbasins_v10.nc                   , subbasins.nc    ), \ 
     25            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Goutorbe_ghflux.nc                                   ,  . ), \ 
     26            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/conservative_temperature_WOA13_decav_Reg1L75_clim.nc ,  . ), \ 
     27            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/absolute_salinity_WOA13_decav_Reg1L75_clim.nc        ,  . ), \ 
     28            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/weights_3D_WOA13d1_2_eorca1_bilinear.nc              ,  . ), \ 
     29            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/weights_Goutorbe1_2_eorca1_bilinear.nc               ,  . ), \ 
     30            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/merged_ESACCI_BIOMER4V1R1_CHL_REG05.nc               ,  . ), \ 
     31            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/weights_reg05_2_eorca1_bilinear.nc                   ,  . ), \ 
     32            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/mixing_power_bot.nc                                  ,  . ), \ 
     33            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/mixing_power_pyc.nc                                  ,  . ), \ 
     34            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/mixing_power_cri.nc                                  ,  . ), \ 
     35            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/decay_scale_bot.nc                                   ,  . ), \ 
     36            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/decay_scale_cri.nc                                   ,  . ), \ 
     37            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/vosaline_360x180-ORCA1_WOA13_climatemonth.nc         , sali_ref_clim_monthly.nc ), \ 
     38            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/runoff-icb_DaiTrenberth_Depoorter_eORCA1_JD.nc       ,.) 
     39 
    2940 
    3041[SmoothFiles] 
     
    3243 
    3344[ParametersFiles] 
    34 List=   (${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_ref, namelist_ref),      \ 
    35         (${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg, namelist_cfg),      \ 
    36         (${SUBMIT_DIR}/PARAM/context_nemo.xml,   context_nemo.xml),         \ 
    37         (${SUBMIT_DIR}/PARAM/field_def_nemo.xml,   field_def_nemo.xml),     \ 
    38         (${SUBMIT_DIR}/PARAM/domain_def_nemo.xml,  domain_def_nemo.xml) 
     45List=   (${MODIPSL}/modeles/NEMOGCM/CONFIG/SHARED/namelist_ref                            , namelist_ref        ), \ 
     46        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/context_nemo.xml       , context_nemo.xml    ), \ 
     47        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/domain_def_nemo.xml    , domain_def_nemo.xml ), \ 
     48        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/axis_def_nemo.xml      , axis_def_nemo.xml   ), \ 
     49        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/grids_def_nemo.xml     , grids_def_nemo.xml  ), \ 
     50        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/field_def_nemo-opa.xml , field_def_nemo-opa.xml  ), \ 
     51        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/ping_ocean.xml         , ping_ocean.xml      ), \ 
     52        (${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg                                    , namelist_cfg        ), \ 
     53        (${SUBMIT_DIR}/PARAM/file_def_nemo-opa.xml                                        , file_def_nemo-opa.xml   ) 
     54 
     55    
    3956 
    4057[RestartFiles] 
     
    4259 
    4360[OutputText] 
    44 List=   (ocean.output, solver.stat, namelist, context_nemo.xml, field_def_nemo.xml, domain_def_nemo.xml, debug.02, out_opa.xx.out, out_opa.xx.err) 
     61List=   (ocean.output, solver.stat, namelist, output.namelist.*, context_nemo.xml, axis_def_nemo.xml, grids_def_nemo.xml, field_def_nemo.xml, domain_def_nemo.xml, out_opa.xx.out, out_opa.xx.err, debug_notroot.02, debug.root.02) 
    4562 
    4663[OutputFiles] 
    47 List=   (mesh_mask.nc      , ${R_OUT_OCE_O}/${config_UserChoices_JobName}_mesh_mask.nc, NONE),\ 
    48         (${config_UserChoices_JobName}_1y_scalar.nc, ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_scalar.nc, NONE),\ 
    49         (${config_UserChoices_JobName}_1y_grid_T.nc, ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_T.nc, NONE),\ 
    50         (${config_UserChoices_JobName}_1y_grid_U.nc, ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_U.nc, NONE),\ 
    51         (${config_UserChoices_JobName}_1y_grid_V.nc, ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_V.nc, NONE),\ 
    52         (${config_UserChoices_JobName}_1y_grid_W.nc, ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_W.nc, NONE),\ 
    53         (${config_UserChoices_JobName}_1m_scalar.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_scalar.nc, NONE),\ 
    54         (${config_UserChoices_JobName}_1m_grid_T.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_T.nc, Post_1M_grid_T),\ 
    55         (${config_UserChoices_JobName}_1m_grid_U.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_U.nc, Post_1M_grid_U),\ 
    56         (${config_UserChoices_JobName}_1m_grid_V.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_V.nc, Post_1M_grid_V),\ 
    57         (${config_UserChoices_JobName}_1m_grid_W.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_W.nc, NONE),\ 
    58         (${config_UserChoices_JobName}_1m_diaptr.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_diaptr.nc, Post_1M_diaptr),\ 
    59         (${config_UserChoices_JobName}_1d_grid_T.nc, ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_T.nc, Post_1D_grid_T),\ 
    60         (${config_UserChoices_JobName}_1d_grid_U.nc, ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_U.nc, Post_1D_grid_U),\ 
    61         (${config_UserChoices_JobName}_1d_grid_V.nc, ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_V.nc, Post_1D_grid_V),\ 
    62         (damping.coeff.nc , ${R_OUT_OCE_O_D}/${PREFIX}_damping.coeff.nc, NONE),\ 
    63         (output.abort.nc  , ${R_OUT_OCE_D}/${PREFIX}_output.abort.nc, NONE),\ 
     64List=   (${config_UserChoices_JobName}_1y_scalar.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_scalar.nc     , NONE          ),\ 
     65        (${config_UserChoices_JobName}_1y_grid_T.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_T.nc     , NONE          ),\ 
     66        (${config_UserChoices_JobName}_1y_grid_U.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_U.nc     , NONE          ),\ 
     67        (${config_UserChoices_JobName}_1y_grid_V.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_V.nc     , NONE          ),\ 
     68        (${config_UserChoices_JobName}_1y_grid_W.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_W.nc     , NONE          ),\ 
     69        (${config_UserChoices_JobName}_1y_diaptr.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_diaptr.nc     , Post_1Y_diaptr),\ 
     70        (${config_UserChoices_JobName}_1y_trdtra.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_trdtra.nc     , NONE)         ),\ 
     71        (${config_UserChoices_JobName}_1m_scalar.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_scalar.nc     , Post_1M_scalar),\ 
     72        (${config_UserChoices_JobName}_1m_grid_T.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_T.nc     , Post_1M_grid_T),\ 
     73        (${config_UserChoices_JobName}_1m_grid_U.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_U.nc     , Post_1M_grid_U),\ 
     74        (${config_UserChoices_JobName}_1m_grid_V.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_V.nc     , Post_1M_grid_V),\ 
     75        (${config_UserChoices_JobName}_1m_grid_W.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_W.nc     , Post_1M_grid_W),\ 
     76        (${config_UserChoices_JobName}_1m_diaptr.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_diaptr.nc     , Post_1M_diaptr),\ 
     77        (${config_UserChoices_JobName}_1m_trdtra.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_trdtra.nc     , Post_1M_trdtra),\ 
     78        (${config_UserChoices_JobName}_5d_grid_T.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_T.nc     , NONE          ),\ 
     79        (${config_UserChoices_JobName}_5d_grid_U.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_U.nc     , NONE          ),\ 
     80        (${config_UserChoices_JobName}_5d_grid_V.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_V.nc     , NONE          ),\ 
     81        (${config_UserChoices_JobName}_5d_grid_W.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_W.nc     , NONE          ),\ 
     82        (${config_UserChoices_JobName}_5d_trdtra.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_trdtra.nc     , NONE)         ),\ 
     83        (${config_UserChoices_JobName}_1d_grid_T.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_T.nc     , Post_1D_grid_T),\ 
     84        (${config_UserChoices_JobName}_1d_grid_U.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_U.nc     , Post_1D_grid_U),\ 
     85        (${config_UserChoices_JobName}_1d_grid_W.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_W.nc     , NONE          ),\ 
     86        (${config_UserChoices_JobName}_1d_SBC.nc       , ${R_OUT_OCE_O_D}/${PREFIX}_1D_SBC.nc        , NONE          ),\ 
     87        (${config_UserChoices_JobName}_1d_diaptr.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_diaptr.nc     , NONE          ),\ 
     88        (${config_UserChoices_JobName}_1d_scalar.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_scalar.nc     , NONE          ),\ 
     89        (mesh_mask.nc     , ${R_OUT_OCE_O}/${config_UserChoices_JobName}_mesh_mask.nc                       , NONE),\ 
     90        (runoffs.nc       , ${R_OUT_OCE_O}/${config_UserChoices_JobName}_runoffs.nc                         , NONE),\ 
     91        (damping.coeff.nc , ${R_OUT_OCE_O_D}/${PREFIX}_damping.coeff.nc                                     , NONE),\ 
     92        (output.abort.nc  , ${R_OUT_OCE_D}/${PREFIX}_output.abort.nc                                        , NONE),\ 
    6493        (output.init.nc   , ${R_OUT_OCE_O_I}/${config_UserChoices_JobName}_${PeriodDateBegin}_output.init.nc, NONE) 
    6594 
     
    6897[Post_1M_scalar] 
    6998Patches = () 
    70 GatherWithInternal = (time_counter, time_counter_bounds) 
    71 TimeSeriesVars2D = (masso, volo, zosga, zossga, zostoga, thetaoga, soga) 
     99GatherWithInternal = (time_counter, time_centered, time_centered_bounds) 
     100TimeSeriesVars2D = (scmastot, scvoltot, scsshtot, scsshste, scsshtst, sctemtot, scsaltot, ibgheat_tot, sbgheat_tot) 
    72101ChunckJob2D = NONE 
    73102TimeSeriesVars3D = () 
     
    77106[Post_1M_grid_T] 
    78107Patches = () 
    79 GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_counter_bounds) 
    80 TimeSeriesVars2D = (sohefldo, soicecov, somixhgt, somxl010, sosaline, soshfldo, sossheig, sosstsst, sowaflup, sowindsp) 
    81 ChunckJob2D = NONE 
    82 TimeSeriesVars3D = (vosaline,votemper) 
    83 ChunckJob3D = 50Y 
     108GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     109TimeSeriesVars2D = (zos, zossq, tos, sos, tossq, omlmax, mldkz5, mldr10_1, nshfls, rsntds, rsds, friver, hc300, wfo) 
     110ChunckJob2D = NONE 
     111TimeSeriesVars3D = (e3t, thetao, so) 
     112ChunckJob3D = 100Y 
    84113Seasonal=ON 
    85114 
    86115[Post_1M_grid_U] 
    87116Patches = () 
    88 GatherWithInternal = (nav_lon, nav_lat, depthu, time_counter, time_counter_bounds) 
    89 TimeSeriesVars2D = (sozotaux) 
    90 ChunckJob2D = NONE 
    91 TimeSeriesVars3D = (vozocrtx,vozoeivu) 
    92 ChunckJob3D = 50Y 
     117GatherWithInternal = (nav_lon, nav_lat, depthu, time_counter, time_centered, time_centered_bounds) 
     118TimeSeriesVars2D = (tauuo, sozohetr, sozosatr) 
     119ChunckJob2D = NONE 
     120TimeSeriesVars3D = (e3u, uo) 
     121ChunckJob3D = 100Y 
    93122Seasonal=ON 
    94123 
    95124[Post_1M_grid_V] 
    96125Patches = () 
    97 GatherWithInternal = (nav_lon, nav_lat, depthv, time_counter, time_counter_bounds) 
    98 TimeSeriesVars2D = (sometauy) 
    99 ChunckJob2D = NONE 
    100 TimeSeriesVars3D = (vomecrty, vomeeivv) 
    101 ChunckJob3D = 50Y 
     126GatherWithInternal = (nav_lon, nav_lat, depthv, time_counter, time_centered, time_centered_bounds) 
     127TimeSeriesVars2D = (tauvo, somehetr, somesatr) 
     128ChunckJob2D = NONE 
     129TimeSeriesVars3D = (e3v, vo) 
     130ChunckJob3D = 100Y 
    102131Seasonal=ON 
    103132 
    104133[Post_1M_grid_W] 
    105134Patches = () 
    106 GatherWithInternal = (nav_lon, nav_lat, depthw, time_counter, time_counter_bounds) 
    107 TimeSeriesVars2D = (soleaeiw, soleahtw) 
    108 ChunckJob2D = NONE 
    109 TimeSeriesVars3D = (difvmo, difvmto, difvtrto, voddmavs, voveeivw, votkeavt, vovecrtz, wmo, wmosq) 
    110 ChunckJob3D = 50Y 
    111 Seasonal=OFF 
     135GatherWithInternal = (nav_lon, nav_lat, depthw, time_counter, time_centered, time_centered_bounds) 
     136TimeSeriesVars2D = ( ) 
     137ChunckJob2D = NONE 
     138TimeSeriesVars3D = ( ) 
     139ChunckJob3D = 100Y 
     140Seasonal=ON 
    112141 
    113142[Post_1M_diaptr] 
    114143Patches = () 
    115 GatherWithInternal = (nav_lat, time_counter, deptht, time_counter_bounds) 
    116 TimeSeriesVars2D = (zotemglo, zosalglo, zomsfglo, zotematl, zosalatl, zomsfatl, zotempac, zosalpac, zomsfpac, zotemind, zosalind, zomsfind, zotemipc, zosalipc, zomsfipc, sophtadv, sophtldf, sopstadv) 
    117 ChunckJob2D = NONE 
    118 TimeSeriesVars3D = () 
    119 ChunckJob3D = NONE 
    120 Seasonal=ON 
     144GatherWithInternal = (nav_lat, deptht, depthw, time_counter, time_centered, time_centered_bounds) 
     145TimeSeriesVars2D = (zomsfglo, zomsfatl, zomsfpac, zomsfind, zomsfipc, zotemglo, zotematl, zotempac, zotemind, zotemipc, zosalglo, zosalatl, zosalpac, zosalind, zosalipc, zosrfglo, zosrfatl, zosrfpac, zosrfind, zosrfipc, sophtadv, sophtldf, sopstadv, sopstldf) 
     146ChunckJob2D = NONE 
     147TimeSeriesVars3D = () 
     148ChunckJob3D = NONE 
     149Seasonal=ON 
     150 
     151[Post_1M_trdtra] 
     152Patches = () 
     153GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     154TimeSeriesVars2D = NONE 
     155ChunckJob2D = NONE 
     156TimeSeriesVars3D = (ttrdtr_zdfp, ttrdtr_eivad, ttrdtr_iso, ttrdtr_totad, ttrdtr_tot, strdtr_zdfp, strdtr_eivad, strdtr_iso, strdtr_totad, strdtr_tot) 
     157ChunckJob3D = 100Y 
     158Seasonal=ON 
     159 
    121160 
    122161# Daily analysis 
     
    124163[Post_1D_grid_T] 
    125164Patches = () 
    126 GatherWithInternal = (nav_lon, nav_lat, time_counter, time_counter_bounds) 
    127 TimeSeriesVars2D = (sosstsst) 
    128 ChunckJob2D = 200Y 
    129 TimeSeriesVars3D = (vosaline,votemper) 
     165GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     166TimeSeriesVars2D = (tos, tosstd, sos, zos, zosstd, sstdcy, mldr10_1, mldr10_1dcy, mldkz5) 
     167ChunckJob2D = OFF 
     168TimeSeriesVars3D = () 
    130169ChunckJob3D = OFF 
    131170Seasonal=OFF 
     
    133172[Post_1D_grid_U] 
    134173Patches = () 
    135 GatherWithInternal = (nav_lon, nav_lat, depthu, time_counter, time_counter_bounds) 
     174GatherWithInternal = (nav_lon, nav_lat, depthu, time_counter, time_centered, time_centered_bounds) 
     175TimeSeriesVars2D = () 
     176ChunckJob2D = 100Y 
     177TimeSeriesVars3D = () 
     178ChunckJob3D = OFF 
     179Seasonal=OFF 
     180 
     181[Post_1D_grid_V] 
     182Patches = () 
     183GatherWithInternal = (nav_lon, nav_lat, depthv, time_counter, time_centered, time_centered_bounds) 
    136184TimeSeriesVars2D = () 
    137185ChunckJob2D = 200Y 
    138 TimeSeriesVars3D = (vozocrtx) 
     186TimeSeriesVars3D = () 
    139187ChunckJob3D = OFF 
    140188Seasonal=OFF 
    141189 
    142 [Post_1D_grid_V] 
    143 Patches = () 
    144 GatherWithInternal = (nav_lon, nav_lat, depthv, time_counter, time_counter_bounds) 
    145 TimeSeriesVars2D = () 
    146 ChunckJob2D = 200Y 
    147 TimeSeriesVars3D = (vomecrty) 
    148 ChunckJob3D = OFF 
    149 Seasonal=OFF 
    150  
    151190## Yearly analysis 
    152191 
    153192[Post_1Y_scalar] 
    154193Patches = () 
    155 GatherWithInternal = (time_counter, time_counter, time_counter_bounds) 
    156 TimeSeriesVars2D = (masso, volo, zosga, zossga, zostoga, thetaoga, soga) 
     194GatherWithInternal = (time_counter, time_centered, time_centered_bounds) 
     195TimeSeriesVars2D = (scmastot, scvoltot, scsshtot, scsshste, scsshtst, sctemtot, scsaltot, ibgheat_tot, sbgheat_tot) 
    157196ChunckJob2D = NONE 
    158197TimeSeriesVars3D = () 
     
    162201[Post_1Y_grid_T] 
    163202Patches = () 
    164 GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_counter_bounds) 
    165 TimeSeriesVars2D = (evs, ficeberg, friver, fsitherm, hfcorr, hfevapds, hfibthermds, hfrainds, hfrunoffds, hfsithermds, hfsnthermds, nshfls, omlmax, pbo, pr, prsn, sfdsi, so20chgt, so28chgt, sohefldo, sohtc300, soicecov, somixhgt, somxl010, sosaline, soshfldo, sossheig, sosstsst, sotaumod, sowaflcd, sowaflup, sowindsp, tossq, vsfsit, wfcorr, zossq) 
    166 ChunckJob2D = NONE 
    167 TimeSeriesVars3D = (rhopoto, rsds, thkcello, vosaline,votemper) 
     203GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     204TimeSeriesVars2D = ( ) 
     205ChunckJob2D = NONE 
     206TimeSeriesVars3D = (thetao, so) 
    168207ChunckJob3D = 50Y 
    169208Seasonal=OFF 
     
    171210[Post_1Y_grid_U] 
    172211Patches = () 
    173 GatherWithInternal = (nav_lon, nav_lat, depthu, time_counter, time_counter_bounds) 
     212GatherWithInternal = (nav_lon, nav_lat, depthu, time_counter, time_centered, time_centered_bounds) 
    174213TimeSeriesVars2D = (hfx, hfxba, hfxdiff, sozotaux) 
    175214ChunckJob2D = NONE 
     
    180219[Post_1Y_grid_V] 
    181220Patches = () 
    182 GatherWithInternal = (nav_lon, nav_lat, depthv, time_counter, time_counter_bounds) 
    183 TimeSeriesVars2D = (hfy, hfyba, hfydiff, sometauy) 
    184 ChunckJob2D = NONE 
    185 TimeSeriesVars3D = (vmo, vomecrty, vomeeivv) 
     221GatherWithInternal = (nav_lon, nav_lat, depthv, time_counter, time_centered, time_centered_bounds) 
     222TimeSeriesVars2D = ( ) 
     223ChunckJob2D = NONE 
     224TimeSeriesVars3D = ( ) 
    186225ChunckJob3D = 50Y 
    187226Seasonal=OFF 
     
    189228[Post_1Y_grid_W] 
    190229Patches = () 
    191 GatherWithInternal = (nav_lon, nav_lat, depthw, time_counter, time_counter_bounds) 
    192 TimeSeriesVars2D = (soleaeiw, soleahtw) 
    193 ChunckJob2D = NONE 
    194 TimeSeriesVars3D = (difvmo, difvmto, difvtrto, voddmavs, voveeivw, votkeavt, vovecrtz, wmo, wmosq) 
     230GatherWithInternal = (nav_lon, nav_lat, depthw, time_counter, time_centered, time_centered_bounds) 
     231TimeSeriesVars2D = ( ) 
     232ChunckJob2D = NONE 
     233TimeSeriesVars3D = ( ) 
    195234ChunckJob3D = 50Y 
    196235Seasonal=OFF 
     
    198237[Post_1Y_diaptr] 
    199238Patches = () 
    200 GatherWithInternal = (nav_lat, time_counter, deptht, time_counter_bounds) 
    201 TimeSeriesVars2D = (zotemglo, zosalglo, zomsfglo, zotematl, zosalatl, zomsfatl, zotempac, zosalpac, zomsfpac, zotemind, zosalind, zomsfind, zotemipc, zosalipc, zomsfipc, sophtadv, sophtldf, sopstadv) 
    202 ChunckJob2D = NONE 
    203 TimeSeriesVars3D = () 
    204 ChunckJob3D = NONE 
    205 Seasonal=OFF 
     239GatherWithInternal = (nav_lat, deptht, depthw, time_counter, time_centered, time_centered_bounds) 
     240TimeSeriesVars2D = (zomsfglo, zomsfatl, zotemglo, zotematl, zotempac, zosalglo, zosalatl, zosalpac, zosrfglo, zosrfatl, zosrfpac) 
     241ChunckJob2D = NONE 
     242TimeSeriesVars3D = () 
     243ChunckJob3D = NONE 
     244Seasonal=OFF 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/orchidee.card

    r2481 r3688  
    77# Sef DefSuffix=Choi (default) to activate default 2-layer Choisnel hydrology 
    88# Set DefSuffix=CWRR to activate 11-layer CWRR hydrology 
    9 DefSuffix=Choi 
     9DefSuffix=CWRR 
    1010 
    11 sechiba_LEVEL=11 
     11# VEGET_UPDATE_at_start=y : orchidee.driver will set VEGET_UPDATE=1Y at the first cumul period when starting a new simulation.  
     12#                           After the first period, VEGET_UPDATE will be set according to the choice done below.   
     13VEGET_UPDATE_at_start=y 
    1214 
    13 # Use XIOS as output library 
    14 XIOS=y 
     15# VEGET_UPDATE=0Y : default, do not update the vegetation and woodharvest file except if starting without restart file 
     16# VEGET_UPDATE=1Y : update the vegetation and woodharvest file 1st of January each year 
     17VEGET_UPDATE=0Y 
     18 
     19# Specify output level for output files 
     20# Only the files sechiba_history.nc, sechiba_out_2.nc and sechiba_history_4dim.nc can be set here. 
     21# output_level_filename=0     : lowest level writing only variables needed for the monitoring 
     22# output_level_filename=12    : highest level which will output all variables 
     23# output_level_filename=NONE  : deactivate the file 
     24output_level_sechiba_history = 11 
     25output_level_sechiba_out_2 = NONE 
     26output_level_sechiba_history_4dim = 11 
     27 
     28# Specify output frequency for each file [1y, 1mo, 1d, 10800s, 1ts] 
     29# Settings using WriteFrequency in config.card is not longer used 
     30output_freq_sechiba_history = 1mo 
     31output_freq_sechiba_out_2 = 10800s 
     32output_freq_sechiba_history_4dim = 1mo 
     33 
    1534 
    1635[InitialStateFiles] 
    17 List=   (${R_INIT}/SRF/${config_UserChoices_TagName}/routing.nc,          . ), \ 
    18         (${R_INIT}/SRF/${config_UserChoices_TagName}/cartepente2d_15min.nc, .), \ 
    19         (${R_INIT}/SRF/${config_UserChoices_TagName}/PFTmap_IPCC_1850.nc, PFTmap.nc) 
     36List=   (${R_IN}/SRF/soils_param.nc, . ), \ 
     37        (${R_IN}/SRF/reftemp.nc, . ), \ 
     38        (${R_IN}/SRF/routing.nc, . ), \ 
     39        (${R_IN}/SRF/albedo/alb_bg_modisopt_2D_ESA_v2.nc, alb_bg.nc ), \ 
     40        (${R_IN}/SRF/cartepente2d_15min.nc, .) 
    2041 
    2142[BoundaryFiles] 
    22 List=   (${R_INIT}/SRF/${config_UserChoices_TagName}/soils_param.nc,      . ) 
    23 ListNonDel= () 
     43List= () 
     44ListNonDel= (${R_IN}/SRF/PFTMAPS/CMIP6/ESA-LUH2v2/historical/15PFT.v1/PFTmap_1850.nc, PFTmap.nc),\ 
     45            (${R_IN}/SRF/WOODHARVEST/LUH2v2/historical/woodharvest_1850.nc,           woodharvest.nc),\ 
    2446 
    2547[SmoothFiles] 
    26 List=() 
     48List= () 
    2749 
    2850[ParametersFiles] 
    2951List=   (${SUBMIT_DIR}/PARAM/orchidee.def_${DefSuffix}, orchidee.def)   ,\ 
     52        (${MODIPSL}/modeles/ORCHIDEE/src_xml/file_def_orchidee.xml, .)  ,\ 
     53        (${MODIPSL}/modeles/ORCHIDEE/src_xml/file_def_input_orchidee.xml, .) ,\ 
    3054        (${MODIPSL}/modeles/ORCHIDEE/src_xml/context_orchidee.xml, .)   ,\ 
    31         (${MODIPSL}/modeles/ORCHIDEE/src_xml/field_def_orchidee.xml, .) ,\ 
    32         (${MODIPSL}/modeles/ORCHIDEE/src_xml/file_def_orchidee.xml, .) 
     55        (${MODIPSL}/modeles/ORCHIDEE/src_xml/field_def_orchidee.xml, .) 
    3356 
    3457[RestartFiles] 
    35 # List restart that have to be saved/restored each loop (file out, saved, and in) : 
    3658List=   (sechiba_rest_out.nc, sechiba_rest.nc, sechiba_rest_in.nc) 
    3759 
    3860[OutputText] 
    39 List=   (out_orchidee, orchidee.def, context_orchidee.xml, field_def_orchidee.xml, file_def_orchidee.xml) 
     61List=   (out_orchidee, orchidee.def, used_orchidee.def, iodef.xml, context_orchidee.xml, field_def_orchidee.xml, file_def_orchidee.xml, file_def_input_orchidee.xml, river_desc.nc) 
    4062 
    4163[OutputFiles] 
    42 List=   (sechiba_history.nc, ${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history.nc, Post_1M_sechiba_history), \ 
    43         (sechiba_out_2.nc, ${R_OUT_SRF_O_H}/${PREFIX}_HF_sechiba_out_2.nc, NONE), \ 
    44         (orchidee_watchout.nc, ${R_OUT_SRF_O_M}/${PREFIX}_1M_watchout.nc, NONE) 
     64List=   (sechiba_history.nc,  ${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history.nc, Post_1M_sechiba_history), \ 
     65        (sechiba_history_4dim.nc,${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history_4dim.nc, NONE), \ 
     66        (sechiba_out_2.nc,     ${R_OUT_SRF_O_H}/${PREFIX}_HF_sechiba_out_2.nc,  NONE) 
    4567 
    4668[Post_1M_sechiba_history] 
    4769Patches = () 
    48 GatherWithInternal = (lon, lat, time_counter, Areas, Contfrac, time_counter_bounds) 
    49 TimeSeriesVars2D = (nobiofrac, alb_nir, alb_vis, bqsb, evap, fluxlat, fluxsens, gqsb, netrad, qair, rain, runoff, snow, snownobio, snowf, subli, tair, temp_sol, tsol_max, tsol_min, drainage,mrsos, mrso, mrros, mrro, prveg, evspsblveg, evspsblsoi, tran, treeFrac, grassFrac, cropFrac, baresoilFrac, residualFrac) 
     70GatherWithInternal = (lon, lat, time_counter, Areas, Contfrac, time_centered, time_centered_bounds) 
     71TimeSeriesVars2D = (nobiofrac, alb_nir, alb_vis, evap, fluxlat, fluxsens, netrad, qair, rain, runoff, snow, snownobio, snowf, frac_snow, subli, tair, temp_sol, tsol_max, tsol_min, drainage,mrsos, mrso, mrros, mrro, prveg, evspsblveg, evspsblsoi, tran, treeFrac, grassFrac, cropFrac, baresoilFrac, residualFrac, TWBR, riverflow, coastalflow, DelSoilMoist_daily, DelIntercept_daily, DelSWE_daily, delstock_routing, snowmelt, LAImean, transpir, evapnu) 
    5072ChunckJob2D = NONE 
    5173TimeSeriesVars3D = (lai, maxvegetfrac, vegetfrac, ptn, nee) 
    5274ChunckJob3D = NONE 
    53 Seasonal=ON 
     75Seasonal = ON 
    5476 
    5577[Post_HF_sechiba_out_2] 
    56 Patches= () 
    57 GatherWithInternal= (lon, lat, time_counter, Areas, Contfrac, time_counter_bounds) 
    58 TimeSeriesVars2D= (mrsos, mrro) 
    59 ChunckJob2D= 50Y 
    60 TimeSeriesVars3D= (ptn) 
    61 ChunckJob3D= 10Y 
    62 Seasonal= OFF 
     78Patches = () 
     79GatherWithInternal = (lon, lat, time_counter, Areas, Contfrac, time_centered, time_centered_bounds) 
     80TimeSeriesVars2D = (mrsos, mrro) 
     81ChunckJob2D = 50Y 
     82TimeSeriesVars3D = (ptn) 
     83ChunckJob3D = 10Y 
     84Seasonal = OFF 
     85 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/pisces.card

    r2456 r3688  
    1010[BoundaryFiles] 
    1111List=   () 
    12 ListNonDel= (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/par.orca.nc,                               .), \ 
    13             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/solubility.orca.nc,                        .), \ 
    14             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_DIC_nomask.nc,                        .), \ 
    15             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_Alkalini_nomask.nc,                   .), \ 
    16             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_O2_nomask.nc,                         .), \ 
    17             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_NO3_nomask.nc,                        .), \ 
    18             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_PO4_nomask.nc,                        .), \ 
    19             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_Si_nomask.nc,                         .), \ 
    20             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_DOC_nomask.nc,                        .), \ 
    21             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/data_Fer_nomask.nc,                        .), \ 
    22             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/DUST_INCA_MONTHLY_2000_2006.nc, dust.orca.nc), \ 
    23             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/river_global_news.nc,          river.orca.nc), \ 
    24             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/bathy.orca.nc,                             .), \ 
    25             (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/ndeposition.orca.nc,                       .) 
    2612 
     13ListNonDel=  (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/DIC_GLODAPv2.1_annual_eORCA_R1.nc         , . ), \ 
     14             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Alkalini_GLODAPv2.1_annual_eORCA_R1.nc    , . ), \ 
     15             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/O2_WOA2009_monthly_eORCA_R1.nc            , . ), \ 
     16             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/PO4_WOA2009_monthly_eORCA_R1.nc           , . ), \ 
     17             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Si_WOA2009_monthly_eORCA_R1.nc            , . ), \ 
     18             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/DOC_PISCES_monthly_eORCA_R1.nc            , . ), \ 
     19             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Fer_PISCES_monthly_eORCA_R1.nc            , . ), \ 
     20             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/NO3_WOA2009_monthly_eORCA_R1.nc           , . ), \ 
     21             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Dust_inca_LOI/DUST_INCA_LOI6012-histAER_1M_1850.nc, dust.orca.nc       ), \ 
     22             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Dust_inca_LOI/weights_LMD144142_eORCA1_bilinear.nc, weights_lmd144142_bilin.nc ), \ 
     23             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/pmarge_etopo_eORCA_R1.nc                  , . ), \ 
     24             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/river_global_news_eORCA_R1.nc             , . ), \ 
     25             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Ndep_input4MIPs/Ndep_input4MIPs_surfaceFluxes_CMIP_NCAR-CCMI-2-0_gn_185001-185012-clim.nc , ndeposition.orca.nc ), \ 
     26             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Ndep_input4MIPs/weights_CMIP_NCAR-CCMI_eORCA1_bilinear.nc, weights_2d_bilin.nc ), \ 
     27             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/par_fraction_gewex_clim90s00s_366days_eORCA_R1.nc , par_fraction_gewex_clim90s00s_eORCA_R1.nc ), \ 
     28             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/Solubility_T62_Mahowald_eORCA_R1.nc       , . ) 
     29 
     30                                                                                   
    2731[SmoothFiles] 
    2832List=  () 
    2933 
    3034[ParametersFiles] 
    31 List=   (${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}_ref, namelist_top_ref), \ 
    32         (${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}_cfg, namelist_top_cfg), \ 
    33         (${SUBMIT_DIR}/PARAM/namelist_pisces_${RESOL_OCE}_ref, namelist_pisces_ref) ,\ 
    34         (${SUBMIT_DIR}/PARAM/namelist_pisces_${RESOL_OCE}_cfg, namelist_pisces_cfg) 
     35List=   (${MODIPSL}/modeles/NEMOGCM/CONFIG/SHARED/namelist_top_ref                             , namelist_top_ref           ), \ 
     36        (${MODIPSL}/modeles/NEMOGCM/CONFIG/SHARED/namelist_pisces_ref                          , namelist_pisces_ref        ), \ 
     37        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/field_def_nemo-pisces.xml   , field_def_nemo-pisces.xml  ), \ 
     38        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/field_def_nemo-inerttrc.xml , field_def_nemo-inerttrc.xml), \ 
     39        (${MODIPSL}/modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/EXP00/ping_ocnBgChem.xml          , ping_ocnBgChem.xml         ), \ 
     40        (${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}piC_cfg                                  , namelist_top_cfg           ), \ 
     41        (${SUBMIT_DIR}/PARAM/namelist_pisces_${RESOL_OCE}_cfg                                  , namelist_pisces_cfg        ), \ 
     42        (${SUBMIT_DIR}/PARAM/file_def_nemo-pisces.xml                                          , file_def_nemo-pisces.xml   ) 
     43         
    3544 
    3645[RestartFiles] 
     
    3847 
    3948[OutputText] 
    40 List=   (namelist_top_ref, namelist_cfg, namelist_pisces_ref, namelist_pisces_cfg) 
     49List=   (namelist_top_ref, namelist_cfg, namelist_pisces_ref, namelist_pisces_cfg, tracer.stat) 
    4150 
    4251[OutputFiles] 
    43 List=   (${config_UserChoices_JobName}_1m_ptrc_T.nc, ${R_OUT_MBG_O_M}/${PREFIX}_1M_ptrc_T.nc, Post_1M_ptrc_T), \ 
    44         (${config_UserChoices_JobName}_1m_diad_T.nc, ${R_OUT_MBG_O_M}/${PREFIX}_1M_diad_T.nc, Post_1M_diad_T), \ 
    45         (${config_UserChoices_JobName}_1m_dbio_T.nc, ${R_OUT_MBG_O_M}/${PREFIX}_1M_dbio_T.nc, NONE) 
     52List=   (${config_UserChoices_JobName}_1y_ptrc_T.nc        , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_ptrc_T.nc    , Post_1Y_ptrc_T   ) , \ 
     53        (${config_UserChoices_JobName}_1y_diad_T.nc        , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_diad_T.nc    , Post_1Y_diad_T   ) , \ 
     54        (${config_UserChoices_JobName}_1y_age.nc           , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_age.nc       , Post_1Y_age      ) , \ 
     55        (${config_UserChoices_JobName}_1m_bioscalar.nc     , ${R_OUT_MBG_O_M}/${PREFIX}_1M_bioscalar.nc , Post_1M_bioscalar) , \ 
     56        (${config_UserChoices_JobName}_1m_ptrc_T.nc        , ${R_OUT_MBG_O_M}/${PREFIX}_1M_ptrc_T.nc    , Post_1M_ptrc_T   ) , \ 
     57        (${config_UserChoices_JobName}_1m_diad_T.nc        , ${R_OUT_MBG_O_M}/${PREFIX}_1M_diad_T.nc    , Post_1M_diad_T   ) , \ 
     58        (${config_UserChoices_JobName}_1d_bioscalar.nc     , ${R_OUT_MBG_O_D}/${PREFIX}_1D_bioscalar.nc , NONE) 
     59 
     60 
     61 
     62[Post_1D_bioscalar] 
     63Patches = () 
     64GatherWithInternal = (time_counter, time_instant, time_instant_bounds) 
     65TimeSeriesVars2D = (pno3tot, ppo4tot, psiltot, palktot, pfertot, tcflx, tcflxcum, tcexp, tintpp, tnfix, tdenit) 
     66ChunckJob2D = NONE 
     67TimeSeriesVars3D = () 
     68ChunckJob3D = NONE 
     69Seasonal=OFF 
     70 
     71[Post_1M_bioscalar] 
     72Patches = () 
     73GatherWithInternal = (time_counter, time_instant, time_instant_bounds) 
     74TimeSeriesVars2D = (pno3tot, ppo4tot, psiltot, palktot, pfertot, tcflx, tcflxcum, tcexp, tintpp, tnfix, tdenit) 
     75ChunckJob2D = NONE 
     76TimeSeriesVars3D = () 
     77ChunckJob3D = NONE 
     78Seasonal=OFF 
    4679 
    4780[Post_1M_ptrc_T] 
    4881Patches = () 
    49 GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_counter_bounds) 
     82GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
    5083TimeSeriesVars2D = () 
    51 ChunckJob2D = OFF 
    52 TimeSeriesVars3D = (Alkalini, BFe, CaCO3, DCHL, DFe, DIC, DOC, DSi, Fer, GOC, GSi, NCHL, NFe, NH4, NO3, O2, PHY, PHY2, PO4, POC, SFe, Si, ZOO, ZOO2) 
     84ChunckJob2D = 50Y 
     85TimeSeriesVars3D = (Alkalini, NCHL, DCHL, DIC, Fer, NO3, O2, PO4, Si) 
    5386ChunckJob3D = 50Y 
    5487Seasonal=ON 
     
    5689[Post_1M_diad_T] 
    5790Patches = () 
    58 GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_counter_bounds) 
    59 TimeSeriesVars2D = (Cflx, Dpco2, Dpo2, EPC100, EPCAL100, EPFE100, EPSI100, Heup, Irondep, Kg, Nfix, Oflx) 
    60 ChunckJob2D = NONE 
    61 TimeSeriesVars3D = (PPPHY, PPPHY2, PPNEWN, PPNEWD, PAR, PH) 
     91GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     92TimeSeriesVars2D = (Cflx, Dpco2, EPC100, INTPP) 
     93ChunckJob2D = 50Y 
     94TimeSeriesVars3D = (TPP) 
    6295ChunckJob3D = 50Y 
    6396Seasonal=ON 
    6497 
    65 [Post_1M_dbio_T] 
     98[Post_1Y_ptrc_T] 
    6699Patches = () 
    67 GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_counter_bounds) 
    68 TimeSeriesVars2D = (INTDIC, INTNFIX, INTPBFE, INTPBSI, INTPCAL, INTPNEW, INTPP, INTPPPHY, INTPPPHY2, O2MIN, ZO2MIN ) 
    69 ChunckJob2D = NONE 
    70 TimeSeriesVars3D = (CHLT, EXPC, EXPCAL, EXPFE, EXPSI, PFET, PHYT, POCT, TPBFE, TPNEW, TPP, ZOOT) 
     100GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     101TimeSeriesVars2D = () 
     102ChunckJob2D = OFF 
     103TimeSeriesVars3D = (Alkalini, NCHL, DCHL, DIC, Fer, NO3, O2, PO4, Si ) 
     104ChunckJob3D = NONE 
     105Seasonal=OFF 
     106 
     107[Post_1Y_diad_T] 
     108Patches = () 
     109GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     110TimeSeriesVars2D = (Cflx, Dpco2, EPC100, Heup,  Nfix) 
     111ChunckJob2D = 50Y 
     112TimeSeriesVars3D = (PAR, TPP) 
    71113ChunckJob3D = 50Y 
    72 Seasonal=ON 
     114Seasonal=OFF 
     115 
     116[Post_1Y_age] 
     117Patches = () 
     118GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter, time_centered, time_centered_bounds) 
     119TimeSeriesVars2D = () 
     120ChunckJob2D = OFF 
     121TimeSeriesVars3D = (Age) 
     122ChunckJob3D = NONE 
     123Seasonal=OFF 
     124 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/stomate.card

    r2456 r3688  
    33 
    44[UserChoices] 
    5 stomate_LEVEL=10 
     5 
     6# Specify output level for output files 
     7# Only the files stomate_history.nc and stomate_ipcc_history.nc can be set here. 
     8# output_level_filname=0     : lowest level writing only variables needed for the monitoring 
     9# output_level_filname=1     : highest level which will output all variables 
     10# output_level_filname=NONE  : deactivate the file 
     11output_level_stomate_history = 1 
     12output_level_stomate_ipcc_history = 1 
     13 
     14# Specify output frequency for each file [1y, 1mo, 1d] 
     15# Settings using WriteFrequency in config.card are not longer used 
     16output_freq_stomate_history = 1mo 
     17output_freq_stomate_ipcc_history = 1mo 
     18 
    619 
    720[InitialStateFiles] 
     
    922 
    1023[BoundaryFiles] 
    11 List=   () 
    12 ListNonDel= (${R_BC}/SRF/${config_UserChoices_TagName}/reftemp.nc, .) 
     24List=   () 
     25ListNonDel= () 
    1326 
    1427[SmoothFiles] 
    15 List=   () 
     28List=   () 
    1629 
    1730[ParametersFiles] 
     
    1932 
    2033[RestartFiles] 
    21 # List restart that have to be saved/restored each loop (file out, saved, and in) : 
    22 List=   (stomate_rest_out.nc, stomate_rest.nc, stomate_rest_in.nc) 
     34List=   (stomate_rest_out.nc, stomate_rest.nc, stomate_rest_in.nc) 
    2335 
    2436[OutputText] 
     
    2638 
    2739[OutputFiles] 
    28 List=   (stomate_history.nc, ${R_OUT_SBG_O_M}/${PREFIX}_1M_stomate_history.nc, Post_1M_stomate_history) \ 
    29     (stomate_ipcc_history.nc, ${R_OUT_SBG_O_M}/${PREFIX}_1M_stomate_ipcc_history.nc, Post_1M_stomate_ipcc_history) 
     40List=   (stomate_history.nc,      ${R_OUT_SBG_O_M}/${PREFIX}_1M_stomate_history.nc,      Post_1M_stomate_history),    \ 
     41        (stomate_ipcc_history.nc, ${R_OUT_SBG_O_M}/${PREFIX}_1M_stomate_ipcc_history.nc, Post_1M_stomate_ipcc_history) 
    3042 
    3143[Post_1M_stomate_history] 
    32 Patches= () 
    33 GatherWithInternal= (lon, lat, PFT, time_counter, Areas, time_counter_bounds) 
    34 TimeSeriesVars2D= (T2M_MONTH,CONTFRAC,RESOLUTION_X,RESOLUTION_Y,CONVFLUX,CFLUX_PROD10,CFLUX_PROD100,HARVEST_ABOVE) 
     44Patches = () 
     45GatherWithInternal = (lon, lat, Areas, CONTFRAC, time_counter, time_centered, time_centered_bounds) 
     46TimeSeriesVars2D = (T2M_MONTH,RESOLUTION_X,RESOLUTION_Y,CONVFLUX,CFLUX_PROD10,CFLUX_PROD100,HARVEST_ABOVE) 
    3547ChunckJob2D = NONE 
    36 TimeSeriesVars3D = (LAI,VEGET_MAX,NPP,GPP,HET_RESP,MAINT_RESP,GROWTH_RESP,AGE,HEIGHT,TOTAL_M,TOTAL_BM_LITTER,TOTAL_SOIL_CARB,CO2_FIRE,TOTAL_TURN) 
     48TimeSeriesVars3D = (LAI,VEGET_COV_MAX,NPP,GPP,HET_RESP,MAINT_RESP,GROWTH_RESP,AGE,HEIGHT,TOTAL_M,TOTAL_BM_LITTER,TOTAL_SOIL_CARB,CO2_FIRE,TOTAL_TURN,WOOD_HARVEST_PFT) 
    3749ChunckJob3D = NONE 
    38 Seasonal=ON 
     50Seasonal = ON 
    3951 
    4052[Post_1M_stomate_ipcc_history] 
    41 Patches= () 
    42 GatherWithInternal= (lon, lat, PFT, time_counter, Areas, CONTFRAC, time_counter_bounds) 
    43 TimeSeriesVars2D=(cVeg, cLitter, cSoil, cProduct, lai, gpp, ra, npp, rh, fFire, fHarvest, fLuc, nbp, fVegLitter, fLitterSoil, cLeaf, cWood, cRoot, cMisc, cLitterAbove, cLitterBelow, cSoilFast, cSoilMedium, cSoilSlow, landCoverFrac, treeFracPrimDec, treeFracPrimEver, c3PftFrac, c4PftFrac, rGrowth, rMaint, nppLeaf, nppWood, nppRoot, nep) 
     53Patches = () 
     54GatherWithInternal = (lon, lat, Areas, CONTFRAC, time_counter, time_centered, time_centered_bounds) 
     55TimeSeriesVars2D = (cVeg, cLitter, cSoil, cProduct, lai, gpp, ra, npp, rh, fFire, fHarvest, fLuc, nbp, fVegLitter, fLitterSoil, cLeaf, cWood, cRoot, cMisc, cLitterAbove, cLitterBelow, cSoilFast, cSoilMedium, cSoilSlow, landCoverFrac, treeFracPrimDec, treeFracPrimEver, c3PftFrac, c4PftFrac, rGrowth, rMaint, nppLeaf, nppWood, nppRoot, nep, fWoodharvest) 
    4456ChunckJob2D = NONE 
    45 TimeSeriesVars3D=() 
     57TimeSeriesVars3D = () 
    4658ChunckJob3D = NONE 
    47 Seasonal=ON 
     59Seasonal = ON 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/COMP/xios.card

    r2456 r3688  
    2121 
    2222[OutputText] 
    23 List=   () 
     23List=   (out_xios.x.err.*, out_xios.x.out.*, debug_notroot.03, debug.root.03) 
    2424 
    2525[OutputFiles] 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/EXPERIMENTS/IPSLCM/piControl/config.card

    r2503 r3688  
    11# 
    2 # This is config.card file for IPSLCM5A configuration 
     2# This is config.card file for IPSLCM6 configuration 
    33# 
    44#======================================================================== 
     
    99[UserChoices] 
    1010#=========================== 
    11 JobName=CPL01 
     11JobName= CPL01 
    1212#----- Short Name of Experiment 
    1313ExperimentName=piControl 
    1414#----- DEVT TEST PROD 
    15 SpaceName=TEST 
    16 LongName="IPSLCM6_rc0" 
     15SpaceName=DEVT 
     16LongName="IPSLCM6.0.15" 
    1717TagName=IPSLCM6 
    18 #D- Choice of experiment in EXPERIEMENTS directory 
     18#D- Choice of experiment in EXPERIMENTS directory 
    1919ExpType=IPSLCM/piControl 
    2020#============================ 
    2121#-- leap, noleap, 360d 
    22 CalendarType=noleap 
     22CalendarType=leap 
    2323#-- Experiment dates : Beginning and ending 
    2424#-- "YYYY-MM-DD" 
    2525DateBegin=1850-01-01 
    26 DateEnd=1859-12-31 
     26DateEnd=1850-12-31 
     27#============================ 
     28ORCA_version=eORCA1.2 
    2729#============================ 
    2830#-- 1Y, 1M, 5D, 1D Period Length of one trunk of simulation 
    2931PeriodLength=1Y 
    30 #============================ 
    31 #-- Total Number of Processors (minimum is 2 for a coupled configuration) 
    32 #JobNumProcTot=4 
    33 JobNumProcTot=32 
    34 #============================ 
    35 # config.card configuration options : 
    36 #R_INIT=/u/rech/psl/rpsl035/IGCM/INIT 
    37 #R_INIT=/ccc/work/cont003/dsm/p86ipsl/IGCM/INIT 
    38 #R_BC=/u/rech/psl/rpsl035/IGCM/BC 
    39 #R_BC=/dmnfs/cont003/p86ipsl/IGCM/BC 
    40 #============================ 
    41  
     32 
     33#D- For curie, use ccc_mprun as suggested by TGCC 
     34#ExecutionModeOnCurie=ccc_mprun 
    4235#======================================================================== 
    4336#D-- Restarts - 
     
    4942OverRule=y 
    5043#D- Last day of the experience used as restart for all components 
    51 RestartDate=2499-12-31 
     44RestartDate=2569-12-31 
    5245#D- Define restart simulation name for all components 
    53 RestartJobName=piControl2 
    54 #D- Path Server Group Login 
    55 RestartPath=${R_IN}/RESTART/IPSLCM5A/PROD/piControl 
     46RestartJobName=CM6014-pi-ttop-ssh-03 
     47#D- Path Server Group Login 
     48RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl 
    5649 
    5750#======================================================================== 
    5851#D-- ATM - 
    5952[ATM] 
    60 # 
    6153WriteFrequency="1M 1D" 
    6254# If config_Restarts_OverRule == 'n' next 4 params are read 
    6355Restart= n 
    6456# Last day of the experience used as restart for this component if Restart=y 
    65 RestartDate=1899-12-31 
    66 # Define restart simulation name for this component 
    67 RestartJobName=EXP00 
    68 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    69 # Old component name for restart (if empty, use new name) 
    70 OldName= 
     57RestartDate=2319-12-31 
     58#D- Define restart simulation name for this component 
     59RestartJobName=CM607-LR-pdCtrl-01 
     60#D- Path Server Group Login 
     61RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl 
    7162 
    7263#======================================================================== 
    7364#D-- OCE - 
    7465[OCE] 
    75 WriteFrequency="1M 1D" 
    76 # If config_Restarts_OverRule == 'n' next 4 params are read 
    77 Restart= n 
    78 ##-- Last day of the experience used as restart for this component if Restart=y 
    79 RestartDate=1899-12-31 
    80 # Define restart simulation name for this component 
    81 RestartJobName=EXP00 
    82 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    83 # Old component name for restart (if empty, use new name) 
    84 OldName= 
     66WriteFrequency="5D 1M" 
     67# If config_Restarts_OverRule == 'n' next 4 params are read 
     68Restart= y 
     69#-- Last day of the experience used as restart for this component if Restart=y 
     70RestartDate=2699-12-31 
     71#D- Define restart simulation name for this component 
     72RestartJobName=CM6012.1-pi-split-D-02 
     73#D- Path Server Group Login 
     74RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl 
    8575 
    8676#======================================================================== 
    8777#D-- ICE - 
    8878[ICE] 
    89 WriteFrequency="1M 1D" 
    90 # If config_Restarts_OverRule == 'n' next 4 params are read 
    91 Restart= n 
     79WriteFrequency="1M" 
     80# If config_Restarts_OverRule == 'n' next 4 params are read 
     81Restart= y 
    9282##-- Last day of the experience used as restart for this component if Restart=y 
    93 RestartDate=1899-12-31 
    94 # Define restart simulation name for this component 
    95 RestartJobName=EXP00            
    96 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    97 # Old component name for restart (if empty, use new name) 
    98 OldName= 
     83RestartDate=2699-12-31 
     84#D- Define restart simulation name for this component 
     85RestartJobName=CM6012.1-pi-split-D-02 
     86#D- Path Server Group Login 
     87RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl 
    9988 
    10089#======================================================================== 
    10190#D-- MBG - 
    10291[MBG] 
    103 WriteFrequency="1M" 
    104 # If config_Restarts_OverRule == 'n' next 4 params are read 
     92WriteFrequency="1M 1Y" 
    10593Restart= n 
    10694##-- Last day of the experience used as restart for this component if Restart=y 
    107 RestartDate=1990-12-31 
    108 # Define restart simulation name 
    109 RestartJobName=EXP00 
    110 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    111 # Old component name for restart (if empty, use new name) 
    112 OldName= 
     95RestartDate=2079-12-31 
     96#D- Define restart simulation name for this component 
     97RestartJobName=CM6011.0-pdCtrl-blcv-02 
     98#D- Path Server Group Login 
     99RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl 
    113100 
    114101#======================================================================== 
     
    117104WriteFrequency="1M" 
    118105# If config_Restarts_OverRule == 'n' next 4 params are read 
    119 Restart=n 
    120 ##-- Last day of the experience used as restart for this component if Restart=y 
    121 RestartDate=1899-12-31 
    122 # Define restart simulation name for this component 
    123 RestartJobName=EXP00 
    124 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    125 #-- Old component name for restart (if empty, use new name) 
    126 OldName= 
     106Restart= n 
     107# Last day of the experience used as restart for this component if Restart=y 
     108RestartDate=2319-12-31 
     109#D- Define restart simulation name for this component 
     110RestartJobName=CM607-LR-pdCtrl-01 
     111#D- Path Server Group Login 
     112RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl 
    127113 
    128114#======================================================================== 
     
    131117WriteFrequency="1M" 
    132118# If config_Restarts_OverRule == 'n' next 4 params are read 
    133 Restart=n 
    134 #-- Last day of the experience used as restart for this component if Restart=y 
    135 RestartDate=1899-12-31 
    136 # Define restart simulation name for this component 
    137 RestartJobName=EXP00 
    138 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    139 #-- Old component name for restart (if empty, use new name) 
    140 OldName= 
     119Restart= n 
     120# Last day of the experience used as restart for this component if Restart=y 
     121RestartDate=2319-12-31 
     122#D- Define restart simulation name for this component 
     123RestartJobName=CM607-LR-pdCtrl-01 
     124#D- Path Server Group Login 
     125RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl 
    141126 
    142127#======================================================================== 
    143128#D-- CPL - 
    144129[CPL] 
    145 WriteFrequency="1M 1D" 
    146 # If config_Restarts_OverRule == 'n' next 4 params are read 
    147 Restart= n 
    148 ##-- Last day of the experience used as restart for this component if Restart=y 
    149 RestartDate=1899-12-31 
    150 # Define restart simulation name for this component 
    151 RestartJobName=EXP00 
    152 RestartPath=${ARCHIVE}/IGCM_OUT/IPSLCM5A/DEVT/piControl 
    153 # Old component name for restart (if empty, use new name) 
    154 OldName= 
     130WriteFrequency="1M" 
     131# If config_Restarts_OverRule == 'n' next 4 params are read 
     132Restart= n 
     133# Last day of the experience used as restart for this component if Restart=y 
     134RestartDate=2319-12-31 
     135#D- Define restart simulation name for this component 
     136RestartJobName=CM607-LR-pdCtrl-01 
     137#D- Path Server Group Login 
     138RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl 
    155139 
    156140#======================================================================== 
     
    165149RestartJobName= 
    166150RestartPath= 
    167 # Old component name for restart (if empty, use new name) 
    168 OldName= 
    169151 
    170152#======================================================================== 
     
    172154[ListOfComponents] 
    173155#D- For each component, Name of component, Tag of component 
    174 ATM= (lmdz, LMDZ4-dev) 
    175 SRF= (orchidee, ORCHIDEE_1_9_5) 
    176 SBG= (stomate, ORCHIDEE_1_9_5) 
    177 OCE= (opa9, CMIP5_IPSL) 
    178 ICE= (lim2, CMIP5_IPSL) 
    179 MBG= (pisces, CMIP5_IPSL) 
    180 CPL= (oasis, OASIS3-MCT) 
    181 IOS= (xios, XIOS) 
     156ATM= (lmdz, LMDZ-IPSLCM6.0.14-r3140) 
     157SRF= (orchidee, trunk-r4856) 
     158SBG= (stomate, trunk-r4856) 
     159OCE= (opa9, nemo_v3_6_STABLE-r8788) 
     160ICE= (lim3, nemo_v3_6_STABLE-r8788) 
     161MBG= (pisces, nemo_v3_6_STABLE-r8788) 
     162CPL= (oasis, oasis3-mct-r1818) 
     163IOS= (xios, dev-cmip6-r1309) 
    182164 
    183165#======================================================================== 
     
    185167[Executable] 
    186168#D- For each component, Real name of executable, Name of executable for oasis 
    187 ATM= (gcm.e, lmdz.x, 27MPI, 4OMP) 
     169ATM= (gcm.e, lmdz.x, 71MPI, 8OMP) 
    188170SRF= ("" ,"" ) 
    189171SBG= ("" ,"" ) 
    190 OCE= (opa, opa.xx, 19MPI) 
     172OCE= (opa, opa.xx, 360MPI) 
    191173ICE= ("" ,"" ) 
    192174MBG= ("" ,"" ) 
     
    197179#D-- Post - 
    198180[Post] 
     181ParserXIOS=FALSE 
    199182#D- Do we rebuild parallel output, this flag determines 
    200183#D- frequency of rebuild submission (use NONE for DRYRUN=3) 
    201 RebuildFrequency=1Y 
     184RebuildFrequency=NONE 
    202185#D- Do we pack restart and debug txt files, this flag determines 
    203186#D- frequency of pack submission (use NONE for DRYRUN=3) 
    204187PackFrequency=10Y 
     188#D- To have only the last period in RESTART/*.tar : save 90% of volume. 
     189#D- TRUE to be effective (nothing by default) 
     190LightRestartPack=TRUE 
    205191#D- If you want to produce time series, this flag determines 
    206 #D- frequency of post-processing submission (NONE if you don't want) 
     192#D- frequency of post-processing submission (NONE if you dont want) 
    207193TimeSeriesFrequency=10Y 
    208194#D- If you want to produce seasonal average, this flag determines 
    209 #D- the period of this average (NONE if you don't want) 
     195#D- the period of this average (NONE if you dont want) 
    210196SeasonalFrequency=10Y 
     197#D- If you want to produce compute PCMDI metrics from seasonal average 
     198#D- Set FALSE to deactivate the metrics computation. 
     199MetricsPCMDI=FALSE 
    211200#D- Offset for seasonal average first start dates ; same unit as SeasonalFrequency 
    212 #D- Usefull if you do not want to consider the first X simulation's years 
     201#D- Usefull if you do not want to consider the first X simulations years 
    213202SeasonalFrequencyOffset=0 
    214203 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/inca.driver

    r2547 r3688  
    3030    echo "INCA Tag : LMDZ-INCA" ${config_UserChoices_TagName} 
    3131 
     32    ##- LMDZ physics version 
     33    ##  Read LMDZ_Physics option in lmdz.card, if not present take default value AP (old physics)  
     34    if [ ! X${lmdz_UserChoices_LMDZ_Physics} = X ] ; then 
     35        LMDZ_Physics=${lmdz_UserChoices_LMDZ_Physics} 
     36    else 
     37        LMDZ_Physics=AP 
     38    fi 
     39    echo LMDZ physics version : ${LMDZ_Physics} 
     40 
     41    enable1=.FALSE. 
     42    enable2=.FALSE. 
     43 
     44    for frequency in ${config_CHM_WriteFrequency} ; do 
     45        case ${frequency} in  
     46            1D|1d) enable1=.TRUE. ;; 
     47        esac 
     48        case ${frequency} in 
     49            1M|1m) enable2=.TRUE. ;; 
     50        esac 
     51    done 
     52 
     53 
     54 
    3255    IGCM_debug_PopStack "CHM_Initialize" 
    3356} 
     
    4063    case ${CHEM} in  
    4164        AER) 
    42         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     65            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   forcage1     enabled ${enable1} 
     66            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml forcage2     enabled ${enable2} 
     67            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   aero1        enabled ${enable1} 
     68            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml aero2        enabled ${enable2} 
     69            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   chemistry1   enabled ${enable1} 
     70            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml chemistry2   enabled ${enable2} 
     71            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   emissions1   enabled ${enable1} 
     72            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml emissions2   enabled ${enable2} 
     73            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   species1     enabled ${enable1} 
     74            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml species2     enabled ${enable2} 
     75            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   dvel1        enabled ${enable1} 
     76            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml dvel2        enabled ${enable2} 
     77            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   washout1     enabled ${enable1} 
     78            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml washout2     enabled ${enable2} 
     79            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   reacflux1    enabled ${enable1} 
     80            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml reacflux2    enabled ${enable2} 
     81            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml   invariants1  enabled ${enable1} 
     82            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml invariants2  enabled ${enable2} 
     83 
     84            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     85                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     86            else 
     87                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     88            fi 
    4389        ;; 
    44         DUST) 
    45         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     90        DUSS) 
     91            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml forcage1     enabled ${enable1} 
     92            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero1        enabled ${enable1} 
     93            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml emissions1   enabled ${enable1} 
     94            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml species1     enabled ${enable1} 
     95            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml vegetation1  enabled ${enable1} 
     96 
     97            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml forcage2     enabled ${enable2} 
     98            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml aero2        enabled ${enable2} 
     99            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml emissions2   enabled ${enable2} 
     100            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml species2     enabled ${enable2} 
     101            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml vegetation2  enabled ${enable2} 
     102 
     103            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     104                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     105            else 
     106                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     107            fi 
    46108        ;; 
    47109        NMHC)  
    48         IGCM_comp_modifyDefFile nonblocker run.def config_inca chem 
     110            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml reacflux1    enabled ${enable1} 
     111            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml emissions1   enabled ${enable1} 
     112            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml species1     enabled ${enable1} 
     113            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml chemistry1   enabled ${enable1} 
     114            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml dvel1        enabled ${enable1} 
     115            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml washout1     enabled ${enable1} 
     116 
     117            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml reacflux2  enabled ${enable2}   
     118            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml emissions2 enabled ${enable2}   
     119            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml species2   enabled ${enable2}   
     120            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml chemistry2 enabled ${enable2}   
     121            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml dvel2      enabled ${enable2}   
     122            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml washout2   enabled ${enable2}   
     123 
     124            IGCM_comp_modifyDefFile nonblocker run.def config_inca chem 
     125            ;; 
     126        NMHC_AER) 
     127            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml forcage1     enabled ${enable1} 
     128            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero1        enabled ${enable1} 
     129            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml species1     enabled ${enable1} 
     130            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml chemistry1   enabled ${enable1} 
     131            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml emissions1   enabled ${enable1} 
     132            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml dvel1        enabled ${enable1} 
     133            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml phtrate1     enabled ${enable1} 
     134            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml washout1     enabled ${enable1} 
     135            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml reacflux1    enabled ${enable1} 
     136            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml vegetation1  enabled ${enable1} 
     137 
     138            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml forcage2    enabled ${enable2}   
     139            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml aero2       enabled ${enable2}  
     140            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml species2    enabled ${enable2}  
     141            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml chemistry2  enabled ${enable2}  
     142            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml emissions2  enabled ${enable2}  
     143            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml dvel2       enabled ${enable2}  
     144            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml phtrate2    enabled ${enable2}  
     145            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml washout2    enabled ${enable2}  
     146            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml reacflux2   enabled ${enable2}  
     147            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml vegetation2 enabled ${enable2}  
     148 
     149            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     150                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     151            else 
     152                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     153            fi 
    49154        ;; 
    50         NMHC_AER) 
    51         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
    52         ;; 
    53         CH4) 
    54         IGCM_comp_modifyDefFile nonblocker run.def config_inca chem 
    55         ;; 
    56         CH4_AER) 
    57         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     155 
     156        NMHC_AER_S) 
     157            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml forcage1     enabled ${enable1} 
     158            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero1        enabled ${enable1} 
     159            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml species1     enabled ${enable1} 
     160            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml chemistry1   enabled ${enable1} 
     161            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml emissions1   enabled ${enable1} 
     162            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml dvel1        enabled ${enable1} 
     163            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml phtrate1     enabled ${enable1} 
     164            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml washout1     enabled ${enable1} 
     165            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml reacflux1    enabled ${enable1} 
     166            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml vegetation1  enabled ${enable1} 
     167 
     168            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml forcage2    enabled ${enable2}  
     169            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml aero2       enabled ${enable2}  
     170            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml species2    enabled ${enable2}  
     171            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml chemistry2  enabled ${enable2}  
     172            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml emissions2  enabled ${enable2}  
     173            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml phtrate2    enabled ${enable2}  
     174            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml dvel2       enabled ${enable2}  
     175            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml washout2    enabled ${enable2}  
     176            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml reacflux2   enabled ${enable2}  
     177            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml vegetation2 enabled ${enable2}   
     178 
     179            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     180                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     181            else 
     182                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     183            fi 
    58184        ;; 
    59185        GES) 
    60         IGCM_comp_modifyDefFile nonblocker run.def config_inca chem 
     186            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml emissions1    enabled ${enable1} 
     187 
     188            IGCM_comp_modifyXmlFile nonblocker file_def_inca_monthly.xml emissions2    enabled ${enable2} 
     189 
     190            IGCM_comp_modifyDefFile nonblocker run.def config_inca chem 
    61191        esac 
     192 
    62193 
    63194    # inca.def : Activate reading of 10m wind in files if LMDZ_10m_winds=n in inca.card 
     
    68199    fi 
    69200 
     201    if [  X${inca_UserChoices_10m_winds_method} = X ] ; then 
     202    IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method  threshold 
     203    else 
     204    IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method ${inca_UserChoices_10m_winds_method} 
     205    fi 
     206 
     207 
     208    if [ ! X${inca_UserChoices_wind_parameter} = X ] ; then  
     209        if [  X${inca_UserChoices_10m_winds_method} = Xthreshold ] ; then  
     210            IGCM_comp_modifyDefFile nonblocker inca.def  tref ${inca_UserChoices_wind_parameter} 
     211            IGCM_comp_modifyDefFile nonblocker inca.def  kref DEFAULT 
     212        else 
     213            IGCM_comp_modifyDefFile nonblocker inca.def  kref ${inca_UserChoices_wind_parameter} 
     214            IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
     215        fi 
     216    else 
     217            IGCM_comp_modifyDefFile nonblocker inca.def  kref DEFAULT 
     218            IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
     219    fi 
     220 
     221    if [  X${inca_UserChoices_seasalt_corr} = X ] ; then 
     222    IGCM_comp_modifyDefFile nonblocker inca.def  ss_corr  DEFAULT 
     223    else 
     224    IGCM_comp_modifyDefFile nonblocker inca.def  ss_corr ${inca_UserChoices_seasalt_corr} 
     225    fi 
     226 
     227 
     228 
    70229    # inca.def : choose write frequency for inca_avgr in inca.card 
    71230    if [ ! X${inca_UserChoices_freq_write_chem} = X ] ; then 
     
    82241    fi 
    83242     
     243    #inca.def : choose coupled model with orchidee   
     244    if [ ! X${inca_UserChoices_CoupOrchInca} = X ]; then  
     245        IGCM_comp_modifyDefFile nonblocker inca.def CoupOrchInca ${inca_UserChoices_CoupOrchInca} 
     246    else 
     247        IGCM_comp_modifyDefFile nonblocker inca.def CoupOrchInca n 
     248    fi 
     249 
     250    #inca.def : choose sedimentation schema  
     251    if [ ! X${inca_UserChoices_multilayer_sedim} = X ]; then  
     252        IGCM_comp_modifyDefFile nonblocker inca.def multilayer_sediment ${inca_UserChoices_multilayer_sedim} 
     253    else 
     254        IGCM_comp_modifyDefFile nonblocker inca.def multilayer_sediment y 
     255    fi 
     256 
     257    #inca.def : choose calcul interactif des diagnostiques flux chimique ou non   
     258    if [ ! X${inca_UserChoices_calcul_flux} = X ]; then  
     259        IGCM_comp_modifyDefFile nonblocker inca.def calcul_flux ${inca_UserChoices_calcul_flux} 
     260    else 
     261        IGCM_comp_modifyDefFile nonblocker inca.def calcul_flux n 
     262    fi 
     263 
     264    #inca.def : choose aircraft emission  
     265    if [ ! X${inca_UserChoices_flag_plane} = X ]; then  
     266        IGCM_comp_modifyDefFile nonblocker inca.def flag_plane ${inca_UserChoices_flag_plane} 
     267    else 
     268        IGCM_comp_modifyDefFile nonblocker inca.def flag_plane 0 
     269    fi 
     270     
     271    #inca.def : choose time interpolation for sflx.nc 
     272    if [ ! X${inca_UserChoices_emi_interp_time} = X ]; then  
     273        IGCM_comp_modifyDefFile nonblocker inca.def emi_interp_time ${inca_UserChoices_emi_interp_time} 
     274    else 
     275        IGCM_comp_modifyDefFile nonblocker inca.def emi_interp_time 1 
     276    fi 
     277 
    84278    #inca.def : choose output library  
    85279    if [  X${inca_UserChoices_XIOS} = Xy ] ; then 
     
    95289    fi 
    96290 
    97  
    98     if [  X${inca_UserChoices_10m_winds_method} = X ] ; then 
    99     IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method  threshold 
    100     else 
    101     IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method ${inca_UserChoices_10m_winds_method} 
    102     fi 
    103291 
    104292 
     
    115303    fi 
    116304 
     305    # Add LongName as global attribute in XIOS output files (if LongName is not empty) 
     306    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     307        listfile=$(ls file_def*inca.xml) 
     308        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     309        for file in ${listfile} 
     310        do 
     311            cp ${file} ${file}.tmp 
     312            sed -e "/<file id/r add.tmp" \ 
     313                ${file}.tmp > ${file} 
     314            rm ${file}.tmp  
     315        done 
     316        rm add.tmp 
     317    fi 
     318 
    117319    IGCM_debug_PopStack "CHM_Update" 
    118320} 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/lim2.driver

    r2456 r3688  
    1616    IGCM_debug_PushStack "ICE_Update" 
    1717 
     18    ##--Write Frequency for iomput 
     19    ## Differents frequencies are allowed for ICE files 
     20 
     21    VI1D_ENABLE=".FALSE." 
     22    VI5D_ENABLE=".FALSE." 
     23    VI1M_ENABLE=".FALSE." 
     24    VI1Y_ENABLE=".FALSE." 
     25 
     26    for frequency in ${config_ICE_WriteFrequency} ; do 
     27        case ${frequency} in 
     28            ( 1D|1d ) VI1D_ENABLE=".TRUE." ;; 
     29            ( 5D|5d ) VI5D_ENABLE=".TRUE." ;; 
     30            ( 1M|1m ) VI1M_ENABLE=".TRUE." ;; 
     31            ( *[yY] ) VI1Y_ENABLE=".TRUE." ;; 
     32        esac 
     33    done 
     34 
     35 
     36  # Update iodef.xml 
     37 
     38    IGCM_debug_Print 1 'Informations into iodef.xml : VI1D_ENABLE VI5D_ENABLE VI1M_ENABLE VI1Y_ENABLE ' 
     39    IGCM_debug_Print 1 ${VI1D_ENABLE}  ${VI5D_ENABLE} ${VI1M_ENABLE} ${VI1Y_ENABLE} 
     40 
     41    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d_lim enabled ${VI1D_ENABLE} 
     42    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d_lim enabled ${VI5D_ENABLE} 
     43    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m_lim enabled ${VI1M_ENABLE} 
     44    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim enabled ${VI1Y_ENABLE} 
     45 
    1846    echo UPDATE ICE !!! 
    1947 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/lim3.driver

    r2456 r3688  
    1616    IGCM_debug_PushStack "ICE_Update" 
    1717 
     18    ##--Write Frequency for iomput 
     19    ## Differents frequencies are allowed for ICE files 
     20 
     21    VI1D_ENABLE=".FALSE." 
     22    VI5D_ENABLE=".FALSE." 
     23    VI1M_ENABLE=".FALSE." 
     24    VI1Y_ENABLE=".FALSE." 
     25 
     26    for frequency in ${config_ICE_WriteFrequency} ; do 
     27        case ${frequency} in 
     28            ( 1D|1d ) VI1D_ENABLE=".TRUE." ;; 
     29            ( 5D|5d ) VI5D_ENABLE=".TRUE." ;; 
     30            ( 1M|1m ) VI1M_ENABLE=".TRUE." ;; 
     31            ( *[yY] ) VI1Y_ENABLE=".TRUE." ;; 
     32        esac 
     33    done 
     34 
     35 
     36  # Update iodef.xml 
     37 
     38    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then        
     39        VI1D_ENABLE=".FALSE." 
     40        VI5D_ENABLE=".FALSE." 
     41        VI1M_ENABLE=".FALSE." 
     42        VI1Y_ENABLE=".FALSE." 
     43    fi 
     44 
     45    IGCM_debug_Print 1 'Informations into iodef.xml : VI1D_ENABLE VI5D_ENABLE VI1M_ENABLE VI1Y_ENABLE ' 
     46    IGCM_debug_Print 1 ${VI1D_ENABLE}  ${VI5D_ENABLE} ${VI1M_ENABLE} ${VI1Y_ENABLE} 
     47 
     48    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d_lim enabled ${VI1D_ENABLE} 
     49    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d_lim enabled ${VI5D_ENABLE} 
     50    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m_lim enabled ${VI1M_ENABLE} 
     51    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim enabled ${VI1Y_ENABLE} 
     52 
    1853    echo UPDATE ICE !!! 
    1954 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/lmdz.driver

    r2841 r3688  
    1313    RESOL_ATM_Y=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $2}' ) 
    1414    RESOL_ATM_XY="${RESOL_ATM_X}x${RESOL_ATM_Y}" 
    15  
    16     ##-- Calendar type for LMDZ and create_etat0_limit 
    17     case ${config_UserChoices_CalendarType} in 
    18         leap|gregorian) 
    19             CalendarTypeForLmdz=earth_366d 
    20             CalendarTypeForCreate=gregorian;; 
    21         noleap) 
    22             CalendarTypeForLmdz=earth_365d 
    23             CalendarTypeForCreate=${CalendarTypeForLmdz};; 
    24         360d) 
    25             CalendarTypeForLmdz=earth_360d 
    26             CalendarTypeForCreate=${CalendarTypeForLmdz};; 
    27         *) 
    28             CalendarTypeForLmdz=earth_360d 
    29             CalendarTypeForCreate=${CalendarTypeForLmdz} 
    30     esac 
    3115 
    3216    ##- LMDZ physics version 
     
    6347    ##-- Output frequency purpose .... 
    6448    ##--  Initialisation  .... 
    65     ok_mensuel=n 
    66     ok_journe=n 
    67     ok_hf=n 
    68     ok_hf3h=n 
    69     ok_hf3hm=n 
    70     ok_stn=n 
     49    ok_mensuel=.FALSE. 
     50    ok_journe=.FALSE. 
     51    ok_hf=.FALSE. 
     52    ok_hf3h=.FALSE. 
     53    ok_hf3hm=.FALSE. 
     54    ok_stn=.FALSE. 
     55 
    7156 
    7257    case ${config_UserChoices_PeriodLength} in 
    73         1Y|1y|1M|1m) ok_mensuel=y ;; 
    74         5D|5d|1D|1d) ok_journe=y ;; 
     58        1Y|1y|1M|1m) ok_mensuel=.TRUE. ;; 
     59        5D|5d|1D|1d) ok_journe=.TRUE. ;; 
    7560    esac 
    7661 
    7762    for frequency in ${config_ATM_WriteFrequency} ; do 
    7863        case ${frequency} in 
    79             1M|1m) ok_mensuel=y ;; 
     64            1M|1m) ok_mensuel=.TRUE. ;; 
    8065        esac 
    8166        case ${frequency} in 
    82             5D|5d|1D|1d) ok_journe=y ;; 
     67            5D|5d|1D|1d) ok_journe=.TRUE. ;; 
    8368        esac 
    8469        case ${frequency} in 
    85             HF|hf) ok_hf=y ;; 
     70            HF|hf) ok_hf=.TRUE. ;; 
    8671        esac 
    8772        case ${frequency} in  
    88             HF3h|hf3h) ok_hf3h=y ;; 
     73            HF3h|hf3h) ok_hf3h=.TRUE. ;; 
    8974        esac 
    9075        case ${frequency} in  
    91             HF3hm|hf3hm) ok_hf3hm=y ;; 
     76            HF3hm|hf3hm) ok_hf3hm=.TRUE. ;; 
    9277        esac 
    9378        case ${frequency} in 
    94             STN|stn) ok_stn=y ;; 
     79            STN|stn) ok_stn=.TRUE. ;; 
    9580        esac 
    9681    done 
    9782 
    98     ## Read LMDZ_NbPeriod_adjust option in lmdz.card  
    99     if [ X"${lmdz_UserChoices_LMDZ_NbPeriod_adjust}" = X"" ] ; then 
    100         # The variable is not in lmdz.card, set default value 
    101         LMDZ_NbPeriod_adjust=0 
    102     else         
    103         LMDZ_NbPeriod_adjust=${lmdz_UserChoices_LMDZ_NbPeriod_adjust} 
    104     fi 
    105  
    106     if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 
    107         LMDZ_Bands_file_name=${lmdz_UserChoices_LMDZ_Bands_file_name} 
    108     fi 
    109  
    110  
    111     ##  Read LMDZ_COSP_OK in lmdz.card 
    112     if [ ! X${lmdz_UserChoices_LMDZ_COSP_OK} = X ] ; then 
    113         LMDZ_COSP_OK=${lmdz_UserChoices_LMDZ_COSP_OK} 
    114     else 
    115         LMDZ_COSP_OK=n 
    116     fi 
    117     ##  Read LMDZ_COSP_monthly in lmdz.card 
    118     if [ ! X${lmdz_UserChoices_LMDZ_COSP_monthly} = X ] ; then 
    119         LMDZ_COSP_monthly=${lmdz_UserChoices_LMDZ_COSP_monthly} 
    120     else 
    121         LMDZ_COSP_monthly=n 
    122     fi 
    123     ##  Read LMDZ_COSP_daily in lmdz.card 
    124     if [ ! X${lmdz_UserChoices_LMDZ_COSP_daily} = X ] ; then 
    125         LMDZ_COSP_daily=${lmdz_UserChoices_LMDZ_COSP_daily} 
    126     else 
    127         LMDZ_COSP_daily=n 
    128     fi 
    129     ##  Read LMDZ_COSP_hf in lmdz.card 
    130     if [ ! X${lmdz_UserChoices_LMDZ_COSP_hf} = X ] ; then 
    131         LMDZ_COSP_hf=${lmdz_UserChoices_LMDZ_COSP_hf} 
    132     else 
    133         LMDZ_COSP_hf=n 
    134     fi 
     83    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     84        ok_mensuel=.FALSE. 
     85        ok_journe=.FALSE. 
     86        ok_hf=.FALSE. 
     87        ok_hf3h=.FALSE. 
     88        ok_hf3hm=.FALSE. 
     89        ok_stn=.FALSE. 
     90    fi 
     91 
     92##  Read LMDZ_COSP_OK in lmdz.card 
     93    if [ X${lmdz_UserChoices_LMDZ_COSP_OK} = Xy ] ; then 
     94        ##  LMDZ_COSP_OK=y, now read all other COSP variables 
     95        ##  Read LMDZ_COSP_monthly in lmdz.card 
     96        if [ X${lmdz_UserChoices_LMDZ_COSP_monthly} = Xy ] ; then 
     97            LMDZ_COSP_monthly=.TRUE. 
     98        else 
     99            LMDZ_COSP_monthly=.FALSE. 
     100        fi 
     101        ##  Read LMDZ_COSP_daily in lmdz.card 
     102        if [ X${lmdz_UserChoices_LMDZ_COSP_daily} = Xy ] ; then 
     103            LMDZ_COSP_daily=.TRUE. 
     104        else 
     105            LMDZ_COSP_daily=.FALSE. 
     106        fi 
     107        ##  Read LMDZ_COSP_hf in lmdz.card 
     108        if [ X${lmdz_UserChoices_LMDZ_COSP_hf} = Xy ] ; then 
     109            LMDZ_COSP_hf=.TRUE. 
     110        else 
     111            LMDZ_COSP_hf=.FALSE. 
     112        fi 
     113    else 
     114        # LMDZ_COSP_OK=n : All cosp output are deactivated 
     115        LMDZ_COSP_monthly=.FALSE. 
     116        LMDZ_COSP_daily=.FALSE. 
     117        LMDZ_COSP_hf=.FALSE. 
     118    fi   
    135119 
    136120    ##  Read LMDZ_NMC_monthly in lmdz.card 
    137     if [ ! X${lmdz_UserChoices_LMDZ_NMC_monthly} = X ] ; then 
    138         LMDZ_NMC_monthly=${lmdz_UserChoices_LMDZ_NMC_monthly} 
    139     else 
    140         LMDZ_NMC_monthly=n 
    141     fi 
    142  
     121    if [ X${lmdz_UserChoices_LMDZ_NMC_monthly} = Xy ] ; then 
     122        LMDZ_NMC_monthly=.TRUE. 
     123    else 
     124        LMDZ_NMC_monthly=.FALSE. 
     125    fi 
     126     
    143127    ## Read LMDZ_NMC_daily in lmdz.card 
    144     if [ ! X${lmdz_UserChoices_LMDZ_NMC_daily} = X ] ; then 
    145         LMDZ_NMC_daily=${lmdz_UserChoices_LMDZ_NMC_daily} 
    146     else 
    147         LMDZ_NMC_daily=n 
     128    if [ X${lmdz_UserChoices_LMDZ_NMC_daily} = Xy ] ; then 
     129        LMDZ_NMC_daily=.TRUE. 
     130    else 
     131        LMDZ_NMC_daily=.FALSE. 
    148132    fi 
    149133     
    150134    ## Read LMDZ_NMC_hf in lmdz.card 
    151     if [ ! X${lmdz_UserChoices_LMDZ_NMC_hf} = X ] ; then 
    152         LMDZ_NMC_hf=${lmdz_UserChoices_LMDZ_NMC_hf} 
    153     else 
    154         LMDZ_NMC_hf=n 
    155     fi 
    156  
     135    if [ X${lmdz_UserChoices_LMDZ_NMC_hf} = Xy ] ; then 
     136        LMDZ_NMC_hf=.TRUE. 
     137    else 
     138        LMDZ_NMC_hf=.FALSE. 
     139    fi 
     140     
    157141 
    158142    IGCM_debug_PopStack "ATM_Initialize" 
     
    164148    IGCM_debug_PushStack "ATM_Update" 
    165149 
    166  
    167     case ${config_UserChoices_PeriodLength} in 
    168         *Y|*y)  
    169                LMDZ_ecrit_ISCCP=30. 
    170                LMDZ_periodav=30. 
    171                if [ "${config_UserChoices_CalendarType}" != "360d" ] ; then 
    172                   echo Do not consider following warning if your running create_etat0_limit : 
    173                   echo WARNING !!! For lmdz : calendartype in config.card. PeriodLength=1Y allowed only for CalendarType=360d  
    174                fi 
    175                ;; 
    176         *) 
    177                LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 
    178                LMDZ_periodav=${PeriodLengthInDays}. 
    179                ;; 
    180     esac 
    181    
    182     ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 
    183     if [ ${CumulPeriod} -eq 1 ] ; then 
    184         RAZ_DATE=1 
    185     else 
    186         RAZ_DATE=0 
    187     fi 
    188  
    189     ## Algorithme for special treatment for Bands_xxx file 
    190     ## For CumulPeriod=1 ;  
    191     ##        IF NbPeriod_Adjust = 0 ; set LMDZ_adjust=n 
    192     ##                                IF LMDZ_Bands_file_name was given in lmdz.card THEN Get Bands file directly from server. Store it later with _0 suffix. 
    193     ##                                IF no LMDZ_Bands_file_name was given, start without Bands file. Store it later with _0 suffix. 
    194     ##        ELSE set LMDZ_adjust=y ; start without Bands file ; Store it later in PARAM/ directory in submit directory with suffix _1 ; 
    195     ## 
    196     ## For CumulPeriod=2 to LMDZ_NbPeriod_adjust ;  
    197     ##       Get Bands file from PARAM/ in submit directory (CumulPeriod-1) ; set LMDZ_adjust=y ; Store Bands file in PARAM/ ; 
    198     ## 
    199     ## For CumulPeriod > LMDZ_NbPeriod_adjust ; LMDZ_adjust=n ; Get Bands file from PARAM/ ; Do not store ; 
    200  
    201     if [ ${CumulPeriod} -eq 1 ] ; then 
    202         if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 
    203             if [ ! X${LMDZ_Bands_file_name} = X ] ; then 
    204                 IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat  
    205                 IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
    206                 IGCM_debug_Print 1 "Bands file forced to ${LMDZ_Bands_file_name} and stored in ${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0" 
    207             fi 
    208         fi 
    209     fi 
    210  
    211     LMDZ_adjust=n 
    212     [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && LMDZ_adjust=y 
    213  
    214     RefPeriod=${LMDZ_NbPeriod_adjust} #0 to use a Bands file from Restart 
    215     [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && (( RefPeriod = ${CumulPeriod} - 1 ))  
    216  
    217     # Get Bands file from PARAM directory if file exist 
    218     if ( [ ${CumulPeriod} -gt 1 ] && [ -f ${SUBMIT_DIR}/PARAM/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${RefPeriod} ] ) ; then 
    219         IGCM_sys_Cp ${SUBMIT_DIR}/PARAM/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${RefPeriod} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
    220         IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
    221     fi 
    222  
    223150    ##-- GHG forcing : 
    224151    ##   If forcing file exist in run directory, read values for the current year  
     
    226153 
    227154    # Read value for solaire from file SOLARANDVOLCANOES.txt. If file not existing, take DEFAULT value from file.  
     155    IGCM_debug_Print 1 "Note that the solaire parameter is here below changed but it is only used by LMDZ for old physics(AP and NPv3.2)" 
     156    IGCM_debug_Print 1 "For newer physics with iflag_rrtm=1 and ok_suntime_rrtm=y, the solar constant is instead taken from solarforcing.nc file" 
    228157    if [ -f SOLARANDVOLCANOES.txt ] ; then 
    229158        value=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 
     
    240169 
    241170    # Read value for co2_ppm from file CO2.txt. If file not existing, take DEFAULT value from file.  
     171    # Calculate co2_ppm_per as co2_ppm*4. 
    242172    if [ -f CO2.txt ] ; then 
    243173        value=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 
     
    247177            IGCM_debug_Verif_Exit 
    248178        fi 
     179        value4=`grep Annee_${year} CO2.txt | awk -F= '{print $2 * 4}'` 
    249180    else 
    250181        value=DEFAULT 
     182        value4=DEFAULT 
    251183    fi 
    252184    IGCM_comp_modifyDefFile nonblocker config.def co2_ppm $value 
     185    IGCM_comp_modifyDefFile nonblocker config.def co2_ppm_per $value4 
    253186 
    254187 
     
    322255    ##   COSP daily output for years 1979 and later (mandatory for historical CMIP5 run). 
    323256    if ([ X"${lmdz_UserChoices_LMDZ_COSP_daily1979}" = X"y" ] &&  [ ${year} -ge 1979 ]) ; then 
    324         LMDZ_COSP_daily=y 
    325     fi 
    326  
    327  
    328     ## output.def parameters 
    329     #  columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def :   
    330     #                                            histmth       histday        histhf    histhf3h   histhf3hm   histstn 
    331     IGCM_comp_modifyDefFile nonblocker output.def phys_out_filekeys "${ok_mensuel} ${ok_journe}   ${ok_hf}  ${ok_hf3h} ${ok_hf3hm} ${ok_stn}" 
    332     IGCM_comp_modifyDefFile nonblocker output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 
    333     IGCM_comp_modifyDefFile nonblocker output.def ok_cosp     ${LMDZ_COSP_OK} 
    334     IGCM_comp_modifyDefFile nonblocker output.def ok_mensuelCOSP  ${LMDZ_COSP_monthly} 
    335     IGCM_comp_modifyDefFile nonblocker output.def ok_journeCOSP   ${LMDZ_COSP_daily} 
    336     IGCM_comp_modifyDefFile nonblocker output.def ok_hfCOSP   ${LMDZ_COSP_hf} 
    337     IGCM_comp_modifyDefFile nonblocker output.def ok_histNMC  "${LMDZ_NMC_monthly} ${LMDZ_NMC_daily} ${LMDZ_NMC_hf}" 
    338  
    339     # XIOS XML definition 
    340     if [ X${lmdz_UserChoices_XIOS}  = Xy ] ; then 
    341     # Default init : files are desactivated 
    342         IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth enabled .FALSE.  
    343         IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday enabled .FALSE.  
    344         IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf enabled .FALSE. 
    345 #       IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h enabled .FALSE. 
    346 #       IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm enabled .FALSE. 
    347         IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn enabled .FALSE. 
    348         IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC enabled .FALSE. 
    349         IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC enabled .FALSE. 
    350         IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC enabled .FALSE. 
    351         IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .FALSE. 
    352         IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .FALSE. 
    353         IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .FALSE. 
    354  
    355     # Default output level : 5 
    356         IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_level 5  
    357         IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 5  
    358         IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 5 
    359 #       IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_level 5 
    360 #       IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_level 5 
    361         IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_level 5 
    362         IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_level 5 
    363         IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_level 5 
    364         IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC output_level 5 
    365         IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_level 5 
    366         IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_level 5 
    367         IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_level 5 
    368      # Filling of XML files  
    369         if [ X${ok_mensuel} = Xy ] ; then 
    370             IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth enabled .TRUE.  
    371             IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_freq 1mo 
    372             IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth name histmth 
    373         fi 
    374         if [ X${ok_journe} = Xy ] ; then         
    375             IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday enabled .TRUE.  
    376             IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_freq 1d 
    377             IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday name histday 
    378             if [ X${OutLevel} = Xlow ] || [ X${OutLevel} = Xmedium ] ; then 
    379                 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 2 
    380             fi 
    381         fi 
    382         if [ X${ok_hf} = Xy ] ; then 
    383             IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf enabled .TRUE.  
    384             IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_freq 6h 
    385             IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf name histhf 
    386             if [ X${OutLevel} = Xlow ] ; then 
    387                 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 2 
    388             fi 
    389         fi       
    390 #       if [ X${ok_hf3h} = Xy ] ; then 
    391 #           IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h enabled .TRUE.  
    392 #           IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_freq 3h 
    393 #           IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h name histhf3h 
    394 #       fi       
    395 #       if [ X${ok_hf3hm} = Xy ] ; then 
    396 #           IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm enabled .TRUE.  
    397 #           IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_freq 3h 
    398 #           IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm name histhf3hm 
    399 #       fi 
    400         if [ X${ok_stn} = Xy ] ; then 
    401             IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn enabled .TRUE.  
    402             IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_freq 1800s 
    403             IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn name histstn 
    404         fi 
    405         if [ X${LMDZ_NMC_monthly} = Xy ] ; then 
    406             IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC enabled .TRUE.  
    407             IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_freq 1mo 
    408             IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC name histmthNMC 
    409         fi 
    410         if [ X${LMDZ_NMC_daily} = Xy ] ; then 
    411             IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC enabled .TRUE.  
    412             IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_freq 1d 
    413             IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC name histdayNMC 
    414         fi 
    415         if [ X${LMDZ_NMC_hf} = Xy ] ; then 
    416             IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC enabled .TRUE.  
    417             IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC output_freq 6h 
    418             IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC name histhfNMC 
    419         fi 
    420  
    421         if [  X${LMDZ_COSP_OK} = Xy ] ; then 
    422             if [ X${LMDZ_COSP_monthly} = Xy ] ; then 
    423                 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .TRUE.  
    424                 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_freq 1mo 
    425                 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP name histmthCOSP 
    426             fi 
    427             if [ X${LMDZ_COSP_daily} = Xy ] ; then 
    428                 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .TRUE.  
    429                 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_freq 1d 
    430                 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP name histdayCOSP 
    431             fi 
    432             if [ X${LMDZ_COSP_hf} = Xy ] ; then 
    433                 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .TRUE.  
    434                 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_freq 6h 
    435                 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP name histhfCOSP 
    436             fi 
    437         fi 
    438  
    439     fi 
    440  
    441     ## gcm.def parameters :  
    442     # Modification of variable iphysiq depending on the physics 
    443     if [ X${LMDZ_Physics} = X"AP" ] ; then 
    444         if [ ${RESOL_ATM_3D} = 96x95x39 ]; then 
    445             value=10 
    446         elif [ ${RESOL_ATM_3D} = 144x142x39 ]; then 
    447             value=15 
    448         else 
    449             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    450             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    451             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    452         fi 
    453     elif [ X${LMDZ_Physics} = X"NPv3.1" ] ; then 
    454         if  [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
    455             value=5 
    456         elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
    457             value=5 
    458         else 
    459             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    460             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    461             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    462         fi 
    463     elif [ X${LMDZ_Physics} = X"NPv3.2" ] ; then 
    464         if [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
    465             value=5 
    466         elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
    467             value=5 
    468         elif [ ${RESOL_ATM_3D} = 128x118x39 ] ; then 
    469             value=15 
    470         else 
    471             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    472             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    473             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    474         fi 
    475     else 
    476         # Take default value set in gcm.def 
    477         value=DEFAULT 
    478     fi 
    479     IGCM_comp_modifyDefFile nonblocker gcm.def iphysiq $value 
    480      
     257        LMDZ_COSP_daily=.TRUE. 
     258    fi 
     259 
     260    ## Modifiy  
     261    IGCM_comp_modifyXmlFile nonblocker file_def_histmth_lmdz.xml histmth enabled ${ok_mensuel} 
     262     
     263    IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday enabled ${ok_journe} 
     264     
     265    if [ X${OutLevel} = Xlow ] || [ X${OutLevel} = Xmedium ] ; then 
     266        IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday output_level 2 
     267    else 
     268        IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday output_level 5 
     269    fi 
     270     
     271    IGCM_comp_modifyXmlFile nonblocker file_def_histhf_lmdz.xml histhf enabled ${ok_hf} 
     272     
     273    if [ X${OutLevel} = Xlow ] ; then 
     274        IGCM_comp_modifyXmlFile nonblocker file_def_histhf_lmdz.xml histhf output_level 5 
     275    elif [ X${OutLevel} = Xmedium ] ; then 
     276        IGCM_comp_modifyXmlFile nonblocker file_def_histhf_lmdz.xml histhf output_level 6 
     277    elif [ X${OutLevel} = Xhigh ] ; then 
     278        IGCM_comp_modifyXmlFile nonblocker file_def_histhf_lmdz.xml histhf output_level 7 
     279    fi 
     280         
     281    IGCM_comp_modifyXmlFile nonblocker file_def_histhf3h_lmdz.xml histhf3h enabled ${ok_hf3h} 
     282    IGCM_comp_modifyXmlFile nonblocker file_def_histhf3hm_lmdz.xml histhf3hm enabled ${ok_hf3hm} 
     283 
     284    IGCM_comp_modifyXmlFile nonblocker file_def_histstn_lmdz.xml histstn enabled ${ok_stn} 
     285 
     286    IGCM_comp_modifyXmlFile nonblocker file_def_histmthNMC_lmdz.xml histmthNMC enabled ${LMDZ_NMC_monthly} 
     287    IGCM_comp_modifyXmlFile nonblocker file_def_histdayNMC_lmdz.xml histdayNMC enabled ${LMDZ_NMC_daily} 
     288    IGCM_comp_modifyXmlFile nonblocker file_def_histhfNMC_lmdz.xml histhfNMC enabled ${LMDZ_NMC_hf} 
     289     
     290    IGCM_comp_modifyXmlFile nonblocker file_def_histmthCOSP_lmdz.xml histmthCOSP enabled ${LMDZ_COSP_monthly} 
     291    IGCM_comp_modifyXmlFile nonblocker file_def_histdayCOSP_lmdz.xml histdayCOSP enabled ${LMDZ_COSP_daily} 
     292    IGCM_comp_modifyXmlFile nonblocker file_def_histhfCOSP_lmdz.xml histhfCOSP enabled ${LMDZ_COSP_hf} 
     293 
     294    # Activate the histstrataer output file only for configuration with interactive stratospheric aersols  
     295    # done by setting the key word LMDZ_strataero=y in lmdz.card 
     296    if [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
     297        IGCM_comp_modifyXmlFile nonblocker file_def_histstrataer_lmdz.xml histstrataer enabled .TRUE. 
     298    else 
     299        IGCM_comp_modifyXmlFile nonblocker file_def_histstrataer_lmdz.xml histstrataer enabled .FALSE. 
     300    fi 
     301 
    481302 
    482303    ## run.def parameters 
    483     IGCM_comp_modifyDefFile blocker run.def dayref   ${InitDay} 
    484     IGCM_comp_modifyDefFile blocker run.def nday     ${PeriodLengthInDays} 
    485     IGCM_comp_modifyDefFile blocker run.def raz_date ${RAZ_DATE} 
    486     IGCM_comp_modifyDefFile blocker run.def periodav ${LMDZ_periodav} 
    487     IGCM_comp_modifyDefFile nonblocker run.def adjust   ${LMDZ_adjust} 
     304 
     305 
     306    ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 
     307    if [ ${CumulPeriod} -eq 1 ] ; then 
     308        IGCM_comp_modifyDefFile blocker run.def raz_date  1 
     309    else 
     310        IGCM_comp_modifyDefFile blocker run.def raz_date  0 
     311    fi 
     312 
     313    ##-- Calendar type for LMDZ and create_etat0_limit 
     314    case ${config_UserChoices_CalendarType} in 
     315        leap|gregorian) 
     316            IGCM_comp_modifyDefFile blocker run.def calend  gregorian ;; 
     317        noleap) 
     318            IGCM_comp_modifyDefFile blocker run.def calend  earth_365d ;; 
     319        360d) 
     320            IGCM_comp_modifyDefFile blocker run.def calend  earth_360d ;; 
     321        *) 
     322            IGCM_comp_modifyDefFile blocker run.def calend  earth_360d ;; 
     323    esac 
     324 
     325    IGCM_comp_modifyDefFile blocker run.def dayref    ${InitDay} 
     326    IGCM_comp_modifyDefFile blocker run.def nday      ${PeriodLengthInDays} 
    488327 
    489328    # Set anneeref different for gcm and ce0l 
    490     # Variable calend is different for a run with create_etat0_limit and the gcm 
    491329    # Test if executable create_etat0_limit is present and lmdz.x is not present 
    492330    if [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then 
    493331        # for case ce0l : always take current year 
    494332        IGCM_comp_modifyDefFile blocker run.def anneeref ${year} 
    495         IGCM_comp_modifyDefFile blocker run.def calend   ${CalendarTypeForCreate} 
    496333 
    497334        # Temporary, set use_filtre_fft=n because we now use dyn3d for ce0l version where fft is not implemented.  
     
    501338        # for case gcm : take first year of simulation 
    502339        IGCM_comp_modifyDefFile blocker run.def anneeref ${InitYear} 
    503         IGCM_comp_modifyDefFile blocker run.def calend   ${CalendarTypeForLmdz} 
    504     fi 
    505  
    506     # Activate creation of file grilles_gcm.nc only at first period 
    507     if [ ${CumulPeriod} -eq 1 ] ; then 
    508         IGCM_comp_modifyDefFile nonblocker run.def grilles_gcm_netcdf y 
    509     else 
    510         IGCM_comp_modifyDefFile nonblocker run.def grilles_gcm_netcdf n 
    511340    fi 
    512341 
     
    587416    else 
    588417        IGCM_comp_modifyDefFile nonblocker config.def ok_cdnc n  
     418    fi  
     419 
     420    # config.def : Activate COSP 
     421    if [ ! X${lmdz_UserChoices_LMDZ_COSP_OK} = X ]; then  
     422        IGCM_comp_modifyDefFile nonblocker config.def ok_cosp ${lmdz_UserChoices_LMDZ_COSP_OK} 
     423    else 
     424        IGCM_comp_modifyDefFile nonblocker config.def ok_cosp n  
     425    fi  
     426 
     427    # config.def : Modify parameter pmagic if it is set in lmdz.card 
     428    if [ ! X${lmdz_UserChoices_pmagic} = X ]; then  
     429        IGCM_comp_modifyDefFile nonblocker config.def pmagic ${lmdz_UserChoices_pmagic} 
     430    else 
     431        # Take default value set in config.def 
     432        IGCM_comp_modifyDefFile nonblocker config.def pmagic DEFAULT 
    589433    fi  
    590434 
     
    622466    fi 
    623467 
    624     if [ X${lmdz_UserChoices_XIOS}  = Xy ] ; then 
    625468    # Add include of LMDZ context in iodef.xml 
    626469    # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    627470    #  <context id="LMDZ" src="./context_lmdz.xml"/> 
    628         echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
    629         cp iodef.xml iodef.xml.tmp 
    630         sed -e "/COMPONENT CONTEXT/r add.tmp" \ 
    631             iodef.xml.tmp > iodef.xml 
    632         rm iodef.xml.tmp add.tmp 
    633  
    634         # Set ok_all_xml=y in run.def 
    635         IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml y 
    636     else 
    637         # Deactivate ok_all_xml in run.def 
    638         IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml n 
    639     fi 
    640      
     471    echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
     472    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     473        echo '<context id="LMDZ" src="./ping_lmdz.xml"/>' >> add.tmp 
     474        echo '<context id="LMDZ" src="./dr2xml_lmdz.xml"/>' >> add.tmp 
     475    fi 
     476    cp iodef.xml iodef.xml.tmp 
     477    sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
     478    rm iodef.xml.tmp add.tmp 
     479 
     480    #Long Name as global attribute (if LongName is not empty) 
     481    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     482        listfile=$(ls file_def*lmdz.xml) 
     483        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     484        for file in ${listfile} 
     485        do 
     486            cp ${file} ${file}.tmp 
     487            sed -e "/<file id/r add.tmp" \ 
     488                ${file}.tmp > ${file} 
     489            rm ${file}.tmp  
     490        done 
     491        rm add.tmp 
     492    fi 
     493             
    641494    IGCM_debug_PopStack "ATM_Update" 
    642495} 
     
    646499{ 
    647500    IGCM_debug_PushStack "ATM_Finalize" 
    648  
    649     # If the file exist, copy Bands_ file to PARAM/ in submit directory. This file will be used for the simulation. 
    650     # Copy also the same file into ATM/Restart at ARCHIVE directory for backup. 
    651     if [ -f Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ] ; then  
    652       if [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] ; then 
    653         IGCM_sys_Cp Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${SUBMIT_DIR}/PARAM/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${CumulPeriod} 
    654         IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_R}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${CumulPeriod} 
    655       elif [ ${CumulPeriod} -eq 1 ] && [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 
    656         # Special case : first period and no adjust => Save bands file with suffix _0 
    657         IGCM_sys_Cp Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${SUBMIT_DIR}/PARAM/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0 
    658         IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_R}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0 
    659       fi 
    660     fi 
    661501 
    662502    # Add special treatement for CARBON CYCLE 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/oasis.driver

    r2456 r3688  
    5151 
    5252    FreqCoupling=${oasis_UserChoices_FreqCoupling:-86400} 
     53    FreqCouplingRoffCalv=${oasis_UserChoices_FreqCouplingRoffCalv:-86400} 
    5354 
    5455    ## Calculate lag for transfer of fields from atmosphere -> ocean. 
     
    6566    IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ mis a jour " ${day_step} ${iphysiq} ${nsplit_phys} 
    6667                                                               
    67     (( LagAtm = 86400 / day_step * iphysiq / nsplit_phys )) 
     68    (( LagAtm = 86400 * iphysiq / day_step / nsplit_phys )) 
     69    (( LagAtmRoffCalv = $FreqCoupling + $LagAtm )) 
     70    (( LagOce = 86400 / OPA_NPDT_DAY )) 
    6871 
    69     (( LagOce = 86400 / ORCA_NPDT_JOUR )) 
     72    IGCM_debug_Print 1 "OPA_NPDT_DAY : ${OPA_NPDT_DAY}" 
     73    IGCM_debug_Print 1 "LagAtm        : ${LagAtm}" 
     74    IGCM_debug_Print 1 "LagAtmRoffCalv : ${LagAtmRoffCalv}" 
     75    IGCM_debug_Print 1 "LagOce        : ${LagOce}" 
    7076 
    7177    ## Use of Lucia ## 
     
    8086        -e "s/<output_mode>/${CPL_OutputVar}/g" \ 
    8187        -e "s/<freq_coupling>/${FreqCoupling}/g" \ 
     88        -e "s/<freq_coupling_roff_calv>/${FreqCouplingRoffCalv}/g" \ 
    8289        -e "s/<lag_atm>/${LagAtm}/g" \ 
     90        -e "s/<lag_atm_roff_calv>/${LagAtmRoffCalv}/g" \ 
    8391        -e "s/<lag_oce>/${LagOce}/g" \ 
    8492        namcouple > namcouple.tmp 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/opa9.driver

    r2456 r3688  
    99    RESOL_OCE_ICE=$( echo ${RESOL} | awk "-Fx" '{print $1}' ) 
    1010    case ${RESOL_OCE_ICE} in 
    11         ( *LIM2* ) 
    12         SEAICE_MODEL=LIM2  
    13         LIM_VERSION=2 
    14         ;; 
    15  
    16         ( *LIM3* ) 
    17         SEAICE_MODEL=LIM3 
    18         LIM_VERSION=3 
    19         ;; 
    20         ( *CICE*) SEAICE_MODEL=CICE ;; 
    21         ( *     ) SEAICE_MODEL=UNKNOWN ;; 
     11        ( *LIM2* ) SEAICE_MODEL=LIM2 ;  LIM_VERSION=2 ;; 
     12        ( *LIM3* ) SEAICE_MODEL=LIM3 ;  LIM_VERSION=3 ;; 
     13        ( *CICE* ) SEAICE_MODEL=CICE                  ;; 
     14        ( *      ) SEAICE_MODEL=UNKNOWN               ;; 
    2215    esac 
    2316    RESOL_OCE=$( echo ${RESOL_OCE_ICE} | sed "s/${SEAICE_MODEL}//" ) 
     
    3023 
    3124    # Local function to find namelists parameters 
    32     supergrep () { 
    33         grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
    34     } 
    35  
     25    #supergrep () { grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" ; } 
     26    supergrep () { grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" -e "s%^ *$1 *=%%" ; } 
    3627    ##--Variables used by OPA -- 
    37  
    38     # cn_exp    experience name 
    39     # nn_it000  number of the first time step 
    40     # nn_itend  number of the last time step 
    41     # nn_date0  initial calendar date yymmdd (used if  nn_rstctl=1) 
    42     # nn_leapy  Leap year calendar (1) or not (0), or 360 days calendar (30) 
    43     # nn_stock  frequency of creation of a restart file (modulo referenced to 1) 
    44     # nn_write  frequency of write in the output file   (modulo referenced to nn_it000) 
    45     # ln_rstart start from rest (F) or from a restart file (T) 
    46     # nn_rstctl restart control = 0 nn_it000 is not compared to the restart file value 
    47     #                           = 1 use nn_date0 in namelist_cfg (not the value in the restart file) 
    48     #                           = 2 calendar parameters read in the restart file 
    49     # nn_msh    =1 create a mesh file (coordinates, scale factors, masks) 
    50     # rn_rdt    time step in seconds for the dynamics (and tracer if nacc=0)   ==> 5760 (coming from namelist) 
    51     # nn_prg    time-step frequency of gap print in model output 
    52     # nn_fwri   frequency of zonal means and transport output 
    53  
    5428    NAMELIST_OPA_CFG=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg 
    55     NAMELIST_OPA_REF=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_ref 
    56     IGCM_debug_Print 1 "namelist_ref : ${NAMELIST_OPA_REF}" 
    57     if [ ! -r ${NAMELIST_OPA_REF} ] ; then 
    58         echo "${NAMELIST_OPA_REF} non trouve" 
    59     fi 
    6029    IGCM_debug_Print 1 "namelist_cfg : ${NAMELIST_OPA_CFG}" 
    6130    if [ ! -r ${NAMELIST_OPA_CFG} ] ; then 
    62         echo "${NAMELIST_OPA_CFG} non trouve" 
    63     fi 
    64  
    65     PAT_CEXPER=$(   supergrep cn_exp      ${NAMELIST_OPA_CFG} ) 
    66     PAT_NIT000=$(   supergrep nn_it000    ${NAMELIST_OPA_CFG} ) 
    67     PAT_NITEND=$(   supergrep nn_itend    ${NAMELIST_OPA_CFG} ) 
    68     PAT_NDATE0=$(   supergrep nn_date0    ${NAMELIST_OPA_CFG} ) 
    69     PAT_NLEAPY=$(   supergrep nn_leapy    ${NAMELIST_OPA_CFG} ) 
    70     PAT_NSTOCK=$(   supergrep nn_stock    ${NAMELIST_OPA_CFG} ) 
    71     PAT_NWRITE=$(   supergrep nn_write    ${NAMELIST_OPA_CFG} ) 
    72     PAT_RESTAR=$(   supergrep ln_rstart   ${NAMELIST_OPA_CFG} ) 
    73     PAT_NRSTAR=$(   supergrep nn_rstctl   ${NAMELIST_OPA_CFG} ) 
    74     PAT_NMSH=$(     supergrep nn_msh      ${NAMELIST_OPA_CFG} ) 
    75     PAT_NN_WRITE=$( supergrep nn_write    ${NAMELIST_OPA_CFG} ) 
    76     PAT_NN_FWRI=$(  supergrep nn_fwri     ${NAMELIST_OPA_CFG} ) 
    77     PAT_ICE_EMBD=$( supergrep nn_ice_embd ${NAMELIST_OPA_CFG} ) 
    78     PAT_ICEFLX=$(   supergrep cn_iceflx   ${NAMELIST_OPA_CFG} ) 
    79     PAT_JPNI=$(     supergrep jpni        ${NAMELIST_OPA_CFG} ) 
    80     PAT_JPNJ=$(     supergrep jpnj        ${NAMELIST_OPA_CFG} ) 
    81     PAT_JPNIJ=$(    supergrep jpnij       ${NAMELIST_OPA_CFG} ) 
    82     PAT_NN_FSBC=$(  supergrep nn_fsbc     ${NAMELIST_OPA_CFG} )  
    83  
    84     ORCA_RDT=$(       supergrep rn_rdt        ${NAMELIST_OPA_CFG} | sed 's/ *rn_rdt *=//'  | sed 's/\. *//' ) 
    85     ORCA_NN_FSBC=$(   supergrep nn_fsbc       ${NAMELIST_OPA_CFG} | sed 's/ *nn_fsbc *=//' | sed 's/\. *//' ) 
    86     (( ORCA_NPDT_JOUR  = 86400 / ORCA_RDT     )) 
    87     #(( ORCA_NPDT_SBC   = ORCA_NPDT_JOUR / ORCA_NN_FSBC )) 
    88     (( ORCA_RDT_SBC =  ORCA_RDT * ORCA_NN_FSBC )) 
     31        IGCM_debug_Exit "${NAMELIST_OPA_CFG} not found" 
     32        IGCM_debug_Verif_Exit 
     33    fi 
     34    OPA_RDT=$(       supergrep rn_rdt        ${NAMELIST_OPA_CFG} ) 
     35    OPA_NN_FSBC=$(   supergrep nn_fsbc       ${NAMELIST_OPA_CFG} ) 
     36    # 
     37    # OPA_RDT=$(       supergrep rn_rdt        namelist_cfg ) 
     38    # OPA_NN_FSBC=$(   supergrep nn_fsbc       namelist_cfg ) 
     39    (( OPA_NPDT_DAY   =  86400 / OPA_RDT        )) 
     40    (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 365     )) 
     41    (( OPA_RDT_SBC    =  OPA_RDT * OPA_NN_FSBC )) 
    8942  
    90  
    9143    # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
    9244    # /!\ Needed by OPA namelist to compute file names /!\ 
    9345    (( DaysSinceJC = $( IGCM_date_DaysSinceJC ${DateBegin} ) + 1 )) 
    9446 
    95     IGCM_debug_Print 1 "PAT_CEXPER   $PAT_CEXPER " 
    96     IGCM_debug_Print 1 "PAT_NIT000   $PAT_NIT000" 
    97     IGCM_debug_Print 1 "PAT_NITEND   $PAT_NITEND" 
    98     IGCM_debug_Print 1 "PAT_NDATE0   $PAT_NDATE0" 
    99     IGCM_debug_Print 1 "PAT_NLEAPY   $PAT_NLEAPY" 
    100     IGCM_debug_Print 1 "PAT_NSTOCK   $PAT_NSTOCK" 
    101     IGCM_debug_Print 1 "PAT_NWRITE   $PAT_NWRITE" 
    102     IGCM_debug_Print 1 "PAT_RESTAR   $PAT_RESTAR" 
    103     IGCM_debug_Print 1 "PAT_NRSTAR   $PAT_NRSTAR" 
    104     IGCM_debug_Print 1 "PAT_NMSH     $PAT_NMSH" 
    105     IGCM_debug_Print 1 "PAT_NN_WRITE $PAT_NN_WRITE" 
    106     IGCM_debug_Print 1 "PAT_NN_FWRI  $PAT_NN_FWRI" 
    107     IGCM_debug_Print 1 "PAT_ICE_EMBD $PAT_ICE_EMBD" 
    108     IGCM_debug_Print 1 "PAT_ICEFLX   $PAT_ICEFLX" 
    109     IGCM_debug_Print 1 "PAT_JPNI     $PAT_JPNI" 
    110     IGCM_debug_Print 1 "PAT_JPNJ     $PAT_JPNJ" 
    111     IGCM_debug_Print 1 "PAT_JPNIJ    $PAT_JPNIJ" 
    112     IGCM_debug_Print 1 "PAT_NN_FSBC  $PAT_NN_FSBC" 
    11347    IGCM_debug_Print 1 " " 
    114     IGCM_debug_Print 1 "ORCA_RDT        $ORCA_RDT" 
    115     IGCM_debug_Print 1 "ORCA_NN_FSBC    $ORCA_NN_FSBC" 
    116     IGCM_debug_Print 1 "ORCA_RDT_SBC    $ORCA_RDT_SBC" 
    117     IGCM_debug_Print 1 "ORCA_NPDT_JOUR  $ORCA_NPDT_JOUR" 
    118     IGCM_debug_Print 1 "DaysSinceJC     $DaysSinceJC" 
     48    IGCM_debug_Print 1 "OPA_RDT        ${OPA_RDT}" 
     49    IGCM_debug_Print 1 "OPA_NN_FSBC    ${OPA_NN_FSBC}" 
     50    IGCM_debug_Print 1 "OPA_RDT_SBC    ${OPA_RDT_SBC}" 
     51    IGCM_debug_Print 1 "OPA_NPDT_DAY   ${OPA_NPDT_DAY}" 
     52    IGCM_debug_Print 1 "OPA_NPDT_YEAR  ${OPA_NPDT_YEAR}" 
     53    IGCM_debug_Print 1 "DaysSinceJC    ${DaysSinceJC}" 
     54 
     55    ## Check that nn_fsbc is correct compare to coupling frequency 
     56    FreqCoupling=${oasis_UserChoices_FreqCoupling:-86400} 
     57     
     58    ## This informations are used for diaptr, trends and diagap files 
     59    ## only the first frequency is used for this files 
     60     
     61    IGCM_debug_Print 1 "FreqCoupling    ${FreqCoupling}" 
     62    IGCM_debug_Print 1 "OPA_NN_FSBC    ${OPA_NN_FSBC}" 
     63    IGCM_debug_Print 1 "OPA_RDT        ${OPA_RDT}" 
     64    IGCM_debug_Print 1 "OPA_RDT_SBC    ${OPA_RDT_SBC}" 
     65     
     66    if [[ ${OPA_RDT_SBC} -gt ${FreqCoupling} ]] ; then 
     67        IGCM_debug_Exit "OPA_RDT_SBC=${OPA_RDT_SBC} is greater than FreqCoupling=${FreqCoupling}" 
     68        IGCM_debug_Verif_Exit 
     69    fi 
    11970     
    12071    IGCM_debug_PopStack "OCE_Initialize" 
     
    12677{ 
    12778    IGCM_debug_PushStack "OCE_Update" 
    128  
    129     ## Check that nn_fsbc is correct compare to coupling frequency 
    130  
    131     FreqCoupling=${oasis_UserChoices_FreqCoupling:-86400} 
    132  
    133     ## This informations are used for diaptr, trends and diagap files 
    134     ## only the first frequency is used for this files 
    135     
    136     IGCM_debug_Print 1 "FreqCoupling    $FreqCoupling" 
    137     IGCM_debug_Print 1 "ORCA_NN_FSBC    $ORCA_NN_FSBC" 
    138     IGCM_debug_Print 1 "ORCA_RDT        $ORCA_RDT" 
    139     IGCM_debug_Print 1 "ORCA_RDT_SBC    $ORCA_RDT_SBC" 
    140  
    141     if [[ ${ORCA_RDT_SBC} -gt ${FreqCoupling} ]] ; then 
    142         IGCM_debug_Exit "ORCA_RDT_SBC=${ORCA_RDT_SBC} is greater than FreqCoupling=${FreqCoupling}" 
    143         IGCM_debug_Verif_Exit 
    144     fi 
    145      
    146     ##--Write Frequency Purpose .... 
    147     frequency=$( echo ${config_OCE_WriteFrequency} | awk "-F " '{print $1}' ) 
    148     factor=$( echo ${frequency} | sed -e "s/[yYmMdD]//" ) 
    149     case ${frequency} in 
    150         1Y|1y) 
    151             (( ORCA_NWRITE = ORCA_NPDT_JOUR * factor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
    152             PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}y ; 
    153             R_OUT_OCE_NWRITE=${R_OUT_OCE_O_Y} ; 
    154             WF1=${factor}Y ;; 
    155         1M|1m) 
    156             (( ORCA_NWRITE = ORCA_NPDT_JOUR * factor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
    157             PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}m ; 
    158             R_OUT_OCE_NWRITE=${R_OUT_OCE_O_M} ; 
    159             WF1=${factor}M ;; 
    160         *D|*d) 
    161             (( ORCA_NWRITE = ORCA_NPDT_JOUR * factor  ))  ; 
    162             PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}d ; 
    163             R_OUT_OCE_NWRITE=${R_OUT_OCE_O_D} ; 
    164             WF1=${factor}D ;; 
    165         *) 
    166             (( ORCA_NWRITE = 0 ))                                                            ;; 
    167     esac 
    168  
     79   
    16980    ##--Write Frequency for iomput 
    170     ## Differents frequencies are allowed for grid_[TUVW] and icemod files 
     81    ## Differents frequencies are allowed for OCE files 
    17182 
    17283    V1D_ENABLE=".FALSE." 
     84    V5D_ENABLE=".FALSE." 
    17385    V1M_ENABLE=".FALSE." 
    17486    V1Y_ENABLE=".FALSE." 
     
    17688    for frequency in ${config_OCE_WriteFrequency} ; do 
    17789        case ${frequency} in 
    178             1D|1d) V1D_ENABLE=".TRUE." ;; 
    179         esac 
    180         case ${frequency} in 
    181             1M|1m) V1M_ENABLE=".TRUE." ;; 
    182         esac 
    183         case ${frequency} in 
    184             *[yY]) V1Y_ENABLE=".TRUE." ;; 
     90            ( 1D|1d ) V1D_ENABLE=".TRUE." ;; 
     91            ( 5D|5d ) V5D_ENABLE=".TRUE." ;; 
     92            ( 1M|1m ) V1M_ENABLE=".TRUE." ;; 
     93            ( *[yY] ) V1Y_ENABLE=".TRUE." ;; 
    18594        esac 
    18695    done 
    187  
    188  
    189     ##-- Output level : 3 for more 1D variables 
    190     eval opa9_OUTPUT_LEVEL=\${opa9_UserChoices_OUTPUT_LEVEL} > /dev/null 2>&1 
    191     OUTPUT_LEVEL=${opa9_OUTPUT_LEVEL} 
    192  
    19396 
    19497    # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
     
    197100 
    198101    ##-- Number of time steps updated : the first, the last and the number of time steps 
    199     (( ORCA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * ORCA_NPDT_JOUR + 1 )) 
    200     (( ORCA_NPDT   = PeriodLengthInDays * ORCA_NPDT_JOUR )) 
    201     (( ORCA_NITEND = ORCA_NIT000 + ORCA_NPDT - 1)) 
     102    (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NPDT_DAY + 1 )) 
     103    (( OPA_NPDT   = PeriodLengthInDays * OPA_NPDT_DAY )) 
     104    (( OPA_NITEND = OPA_NIT000 + OPA_NPDT - 1)) 
    202105 
    203106    ##-- We force one restart file at the end of the trunk 
    204     ORCA_NSTOCK="${ORCA_NITEND}" 
    205  
    206     ##-- Restart configuration 
    207     if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "n" ] ) ; then 
    208         ORCA_LRSTAR=.FALSE. 
    209         ORCA_NRSTDT=0 
    210         # Put ORCA_NMSH=0 when OPA running in parallel mode 
    211         ORCA_NMSH=1 
    212         #echo "NO OPA RESTART" 
     107    OPA_NSTOCK="${OPA_NITEND}" 
     108 
     109 
     110    ##-- Additionnal Restart Option to force reproducibility ; force kt to kt red in restart file 
     111    ## ${opa9_UserChoices_Reproducibility_after_restart} 
     112 
     113    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/opa9.card UserChoices Reproducibility_after_restart 
     114 
     115   ##-- Restart configuration 
     116    if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
     117      OPA_LRSTAR=.TRUE. 
     118      OPA_NRSTDT=2 
     119      #echo "OPA RESTART" 
     120      IGCM_debug_Print 1 'WARNING : dangerous option' 
     121      IGCM_debug_Print 1 'Reproducibility_after_Restart forced ie kt forced to kt red in restart file : ' ${opa9_UserChoices_Reproducibility_after_restart} 
     122    elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "n" ] ) ; then 
     123      OPA_LRSTAR=.FALSE. 
     124      OPA_NRSTDT=0 
     125      #echo "NO OPA RESTART" 
    213126    elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "y" ] ) ; then 
    214         ORCA_LRSTAR=.TRUE. 
    215         ORCA_NRSTDT=0 
    216         ORCA_NMSH=1 
    217         #echo "OPA RESTART" 
     127      OPA_LRSTAR=.TRUE. 
     128      OPA_NRSTDT=0 
     129      #echo "OPA RESTART" 
    218130    else 
    219         ORCA_LRSTAR=.TRUE. 
    220         ORCA_NRSTDT=2 
    221         ORCA_NMSH=0 
    222         #echo "OPA RESTART" 
    223     fi 
    224  
    225     ##-- Meshmask option 
     131      OPA_LRSTAR=.TRUE. 
     132      OPA_NRSTDT=2 
     133      #echo "OPA RESTART" 
     134    fi 
     135 
     136    if ( [ "${CumulPeriod}" -eq 1 ] && [ "${opa9_UserChoices_Restart_TS_only}" = "y" ] ) ; then 
     137      OPA_LRSTAR_TS=.TRUE. 
     138    else 
     139      OPA_LRSTAR_TS=.FALSE. 
     140    fi 
     141 
     142    ##-- Meshmask option. Forced only once. 
    226143    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/opa9.card UserChoices mesh_mask 
    227144 
     145    OPA_NMSH=0 
    228146    if [ "${opa9_UserChoices_mesh_mask}" = "y" ]; then 
    229         ORCA_NMSH=1 
     147        OPA_NMSH=1 
    230148        IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/opa9.card UserChoices mesh_mask "n" 
    231149    fi 
     
    233151    # nleapy configuration 
    234152    case ${config_UserChoices_CalendarType} in 
    235         leap|gregorian) 
    236             ORCA_NLEAPY=1;; 
    237         noleap) 
    238             ORCA_NLEAPY=0;; 
    239         360d) 
    240             ORCA_NLEAPY=30;; 
    241         *) 
    242             ORCA_NLEAPY=30 
     153        ( leap|gregorian) OPA_NLEAPY=1  ;; 
     154        ( noleap        ) OPA_NLEAPY=0  ;; 
     155        ( 360d          ) OPA_NLEAPY=30 ;; 
     156        ( *             ) OPA_NLEAPY=30 ;; 
    243157    esac 
    244158 
     159    if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
     160      NEMO_KT_FROM_RESTART=$(ncdump -v kt restartopa_0000.nc|grep 'kt ='|awk '{print $3}' ) 
     161      (( NEMO_NIT000 = NEMO_KT_FROM_RESTART + 1 )) 
     162      (( NEMO_NITEND = NEMO_KT_FROM_RESTART + OPA_NITEND - OPA_NIT000 + 1 )) 
     163      IGCM_debug_Print 1 "NEMO_NIT000 (from Restart)        : ${NEMO_NIT000}" 
     164      IGCM_debug_Print 1 "NEMO_NITEND (from Restart + ... ) : ${NEMO_NITEND}" 
     165      ##-- We force one restart file at the end of the trunk 
     166      OPA_NSTOCK="${NEMO_NITEND}" 
     167      OPA_NIT000="${NEMO_NIT000}" 
     168      OPA_NITEND="${NEMO_NITEND}" 
     169    fi 
     170 
    245171    typeset -r PRECIS=8 
    246     NEMO_END=$( echo $( awk "BEGIN { printf \"%0${PRECIS}d\",${ORCA_NITEND} }" ) )  
    247  
    248  
    249     case ${SEAICE_MODEL} in 
    250         ( LIM2 )  
    251         NN_ICE_EMBD=0 
    252         ICEFLX=none 
    253         ;; 
    254         ( LIM3 )  
    255         NN_ICE_EMBD=2 
    256         ICEFLX=${opa9_UserChoices_iceflx:-linear} 
    257         ;; 
    258     esac 
    259  
    260     IGCM_debug_Print 1 "NUM_PROC_OCE : " ${NUM_PROC_OCE} 
    261  
    262     sed -e "s/${PAT_CEXPER}/       cn_exp=\"${config_UserChoices_JobName}\"/"   \ 
    263         -e "s/${PAT_NIT000}/       nn_it000=${ORCA_NIT000}/"                    \ 
    264         -e "s/${PAT_NITEND}/       nn_itend=${ORCA_NITEND}/"                    \ 
    265         -e "s/${PAT_NDATE0}/       nn_date0=${PeriodDateBegin}/"                \ 
    266         -e "s%${PAT_NLEAPY}%       nn_leapy=${ORCA_NLEAPY}%"                    \ 
    267         -e "s/${PAT_NSTOCK}/       nn_stock=${ORCA_NSTOCK}/"                    \ 
    268         -e "s/${PAT_NWRITE}/       nn_write=${ORCA_NWRITE}/"                    \ 
    269         -e "s/${PAT_RESTAR}/       ln_rstart=${ORCA_LRSTAR}/"                   \ 
    270         -e "s/${PAT_NRSTAR}/       nn_rstctl=${ORCA_NRSTDT}/"                   \ 
    271         -e "s/${PAT_NMSH}/         nn_msh=${ORCA_NMSH}/"                        \ 
    272         -e "s/${PAT_NN_WRITE}/     nn_prg=${ORCA_NWRITE}/"                      \ 
    273         -e "s/${PAT_NN_FWRI}/      nn_fwri=${ORCA_NWRITE}/"                     \ 
    274         -e "s/${PAT_NN_FSBC}/      nn_fsbc=${ORCA_NN_FSBC}/"                    \ 
    275         -e "s/${PAT_ICE_EMBD}/     nn_ice_embd=${NN_ICE_EMBD}/"                 \ 
    276         -e "s/${PAT_ICEFLX}/       cn_iceflx=\'${ICEFLX}'/"                     \ 
    277         -e "s/${PAT_JPNI}/         jpni=1/"                                     \ 
    278         -e "s/${PAT_JPNJ}/         jpnj=${NUM_PROC_OCE}/"                       \ 
    279         -e "s/${PAT_JPNIJ}/        jpnij=${NUM_PROC_OCE}/"                      \ 
    280         namelist_cfg > namelist_cfg.tmp 
    281  
    282     IGCM_sys_Mv namelist_cfg.tmp namelist_cfg 
    283  
    284     IGCM_debug_Print 1 'Variables automatically updated in ORCA namelist_cfg' 
    285     grep AUTO namelist_cfg 
    286  
    287     # update iodef.xml 
    288  
    289     IGCM_debug_Print 1 'Informations into iodef.xml : V1D_ENABLE V1M_ENABLE V1Y_ENABLE OUTPUT_LEVEL' 
    290     IGCM_debug_Print 1 ${V1D_ENABLE} ${V1M_ENABLE} ${V1Y_ENABLE} ${OUTPUT_LEVEL} 
    291  
    292     sed -e "s/_1D_ENABLE_/${V1D_ENABLE}/" \ 
    293         -e "s/_1M_ENABLE_/${V1M_ENABLE}/" \ 
    294         -e "s/_1Y_ENABLE_/${V1Y_ENABLE}/" \ 
    295         -e "s/_OUTPUT_LEVEL_/${OUTPUT_LEVEL}/" \ 
    296         context_nemo.xml > context_nemo.xml.tmp 
    297  
    298     IGCM_sys_Mv context_nemo.xml.tmp context_nemo.xml 
    299  
     172    NEMO_END=$( echo $( awk "BEGIN { printf \"%0${PRECIS}d\",${OPA_NITEND} }" ) )  
     173 
     174    IGCM_comp_modifyNamelist blocker    namelist_cfg cn_exp       ${config_UserChoices_JobName} 
     175    IGCM_comp_modifyNamelist blocker    namelist_cfg nn_it000     ${OPA_NIT000} 
     176    IGCM_comp_modifyNamelist blocker    namelist_cfg nn_itend     ${OPA_NITEND} 
     177    IGCM_comp_modifyNamelist blocker    namelist_cfg ln_rstart    ${OPA_LRSTAR} 
     178    IGCM_comp_modifyNamelist blocker    namelist_cfg ln_rstart_ts ${OPA_LRSTAR_TS} 
     179    IGCM_comp_modifyNamelist blocker    namelist_cfg nn_stock     ${OPA_NSTOCK} 
     180    IGCM_comp_modifyNamelist blocker    namelist_cfg nn_rstctl    ${OPA_NRSTDT} 
     181    IGCM_comp_modifyNamelist blocker    namelist_cfg nn_date0     ${PeriodDateBegin} 
     182    IGCM_comp_modifyNamelist nonblocker namelist_cfg nn_msh       ${OPA_NMSH} 
     183    IGCM_comp_modifyNamelist nonblocker namelist_cfg nn_rnf_depth_file  ${OPA_NMSH} 
     184    IGCM_comp_modifyNamelist blocker    namelist_cfg nn_leapy     ${OPA_NLEAPY} 
     185     
     186    # Update iodef.xml 
     187 
     188    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then        
     189        V1D_ENABLE=".FALSE." 
     190        V5D_ENABLE=".FALSE." 
     191        V1M_ENABLE=".FALSE." 
     192        V1Y_ENABLE=".FALSE." 
     193    fi 
     194 
     195    IGCM_debug_Print 1 'Informations into iodef.xml : V1D_ENABLE V5D_ENABLE V1M_ENABLE V1Y_ENABLE ' 
     196    IGCM_debug_Print 1 ${V1D_ENABLE}  ${V5D_ENABLE} ${V1M_ENABLE} ${V1Y_ENABLE} 
     197 
     198    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1d_opa enabled ${V1D_ENABLE} 
     199    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 5d_opa enabled ${V5D_ENABLE} 
     200    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1m_opa enabled ${V1M_ENABLE} 
     201    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1y_opa enabled ${V1Y_ENABLE} 
     202 
     203    IGCM_comp_modifyXmlFile force context_nemo.xml ref_year NONE ${opa9_UserChoices_TimeOrigin} 
     204         
     205  
    300206    # vargas/titane/MPP and switch from 1 proc to 5 procs. We need to suppres restartopa the second month, if restartopa_0000 exist 
    301207    # same thing for restart_trc and restart_ice_in 
     
    309215    #  <context id="nemo" src="./context_nemo.xml"/> 
    310216    echo '<context id="nemo" src="./context_nemo.xml"/>' > add.tmp 
     217    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     218        echo '<context id="nemo" src="./ping_nemo.xml"/>' >> add.tmp 
     219        echo '<context id="nemo" src="./dr2xml_opa9.xml"/>' >> add.tmp 
     220    fi 
    311221    cp iodef.xml iodef.xml.tmp 
    312222    sed -e "/COMPONENT CONTEXT/r add.tmp" \ 
     
    314224    rm iodef.xml.tmp add.tmp 
    315225 
     226    #Long Name as global attribute (if LongName is not empty) 
     227    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     228        listfile=$(ls file_def_nemo*.xml) 
     229        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     230        for file in ${listfile} 
     231        do 
     232            cp ${file} ${file}.tmp 
     233            sed -e "/<file id/r add.tmp" \ 
     234                ${file}.tmp > ${file} 
     235            rm ${file}.tmp  
     236        done  
     237        rm add.tmp 
     238    fi 
    316239 
    317240    IGCM_debug_PopStack "OCE_Update" 
     
    323246    IGCM_debug_PushStack "OCE_Finalize" 
    324247 
    325     if [ -f date.file ] ; then 
    326         # Prefix use in opa9.card AND in lim2.card : 
    327         DATE_OPA=$( cat date.file | \ 
    328             sed "s/\ ${config_UserChoices_JobName}_[0-9]*[a-z]_\([0-9]*_[0-9]*\)_\ */\1/g" ) 
    329         MainPrefix=${config_UserChoices_JobName}_1d_${DATE_OPA} 
    330         SecondPrefix=${config_UserChoices_JobName}_1m_${DATE_OPA} 
    331     fi 
    332  
    333248    IGCM_debug_Print 1 FINALIZE OCE !!! 
    334249 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/orchidee.driver

    r2456 r3688  
    11#!/bin/ksh 
    2 #D- Driver du script pour ORCHIDEE 
     2## Driver for the component SRF corresponding to the sechiba part of ORCHIDEE 
    33#----------------------------------------------------------------- 
    44function SRF_Initialize 
     
    66    IGCM_debug_PushStack "SRF_Initialize" 
    77 
    8     RESOL_SRF=ALL 
    9  
    10     for frequency in ${config_SRF_WriteFrequency} ; do 
    11         case ${frequency} in 
    12             HF|hf) SRF_ok_hf=y ;; 
    13         esac 
    14     done 
    15  
    168    ##- Define variable DefSuffix set in orchidee.card 
    17     ##  This variable is used in orchidee.card to choose  
    18     ##  parameter file(orchidee.def_DefSuffix).  
     9    ##  This variable is used in orchidee.card to choose 
     10    ##  parameter file(orchidee.def_DefSuffix). 
    1911    if [ ! X${orchidee_UserChoices_DefSuffix} = X ] ; then 
    20         DefSuffix=${orchidee_UserChoices_DefSuffix} 
     12        DefSuffix=${orchidee_UserChoices_DefSuffix} 
    2113    else 
    22         DefSuffix=Choi 
     14        DefSuffix=Choi 
    2315    fi 
    2416 
     
    3123    IGCM_debug_PushStack "SRF_Update" 
    3224 
     25    ## 1. Modifications in orchidee.def parameter file 
     26 
    3327    # Activate STOMATE if the compontent SBG=stomate is set in config.card 
    3428    if [ X${config_ListOfComponents_SBG} = Xstomate ] ; then 
    35         IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_OK_STOMATE y 
     29        # Activate stomate in orchidee.def 
     30        IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_OK_STOMATE y 
    3631    else 
    37         IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_OK_STOMATE n 
     32        # Deactivate stomate in orchidee.def 
     33        IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_OK_STOMATE n 
     34        # Deactivate output files for stomate 
     35        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 enabled .FALSE. 
     36        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level 0 
     37        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq 1mo 
     38        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 enabled .FALSE. 
     39        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 
     40        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq 1mo 
    3841    fi 
    3942 
    40     typeset SECHIBA_WRITE_STEP 
    41  
    42     if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    43         IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .FALSE.  
    44         IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 enabled .FALSE.  
    45         IGCM_comp_modifyDefFile nonblocker orchidee.def XIOS_ORCHIDEE_OK y 
     43    # Define in orchidee.def if restart file should be used 
     44    if ( [ ${CumulPeriod} -ne 1 ] || [ "${config_SRF_Restart}" != "n" ] ) ; then 
     45        IGCM_comp_modifyDefFile blocker orchidee.def SECHIBA_restart_in sechiba_rest_in.nc 
    4646    else 
    47         IGCM_comp_modifyDefFile nonblocker orchidee.def XIOS_ORCHIDEE_OK n 
    48     fi     
    49  
    50     SRF_WriteFrequency=$( echo ${config_SRF_WriteFrequency} | sed -e 's/\([0-9]*[yYmMdDs]\).*/\1/' )  
    51     case ${SRF_WriteFrequency} in 
    52         *Y|*y)  
    53             WriteInYears=$( echo ${SRF_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 
    54             PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 
    55             (( SECHIBA_WRITE_STEP = PeriodLengthInDays * WriteInYears / PeriodLengthInYears * 86400 ))  
    56             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    57                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    58                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInYears}y 
    59                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    60             fi 
    61             ;; 
    62         1M) 
    63             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    64                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    65                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 1mo 
    66                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    67             fi 
    68             case ${config_UserChoices_PeriodLength} in 
    69             *Y|*y) 
    70                 SECHIBA_WRITE_STEP=-1. 
    71                 ;; 
    72             *M|*m) 
    73                 SECHIBA_WRITE_STEP=-1. 
    74                 ;; 
    75             *) 
    76                 (( SECHIBA_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) * 86400 )) 
    77                 ;; 
    78             esac 
    79             ;; 
    80         *M|*m)  
    81             WriteInMonths=$( echo ${SRF_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 
    82             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    83                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    84                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInMonths}mo 
    85                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    86             fi 
    87             case ${config_UserChoices_PeriodLength} in 
    88             *Y|*y) 
    89                 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 
    90                 (( SECHIBA_WRITE_STEP = PeriodLengthInDays * 86400 / PeriodLengthInYears / 12  )) 
    91                 ;; 
    92             *M|*m) 
    93                 PeriodLengthInMonths=$( echo ${config_UserChoices_PeriodLength} | awk -F '[mM]' '{print $1}' ) 
    94                 (( SECHIBA_WRITE_STEP = PeriodLengthInDays * WriteInMonths  * 86400 / PeriodLengthInMonths  )) 
    95                 ;; 
    96             *) 
    97                 (( SECHIBA_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) * 86400 )) 
    98                 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    99                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    100                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${SECHIBA_WRITE_STEP}s 
    101                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 
    102                 fi 
    103                 ;; 
    104             esac 
    105             ;; 
    106         5D|5d)  
    107             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    108                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    109                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 5d 
    110                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    111             fi 
    112             (( SECHIBA_WRITE_STEP = 5 * 86400 ))  
    113             ;; 
    114         1D|1d)  
    115             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    116                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    117                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 1d 
    118                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    119             fi 
    120             (( SECHIBA_WRITE_STEP = 86400 ))  
    121             ;; 
    122         *s) 
    123             WriteInSeconds=$( echo ${SRF_WriteFrequency} | awk -F '[s]' '{print $1}' ) 
    124             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    125                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    126                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInSeconds}s 
    127                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    128             fi 
    129             (( SECHIBA_WRITE_STEP = WriteInSeconds )) ;; 
    130         *)  
    131             IGCM_debug_Exit "SRF_Update " ${SRF_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D."  
    132             IGCM_debug_Verif_Exit ;; 
    133     esac 
    134  
    135 #Use of XIOS ouputs only 
    136  
    137     if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    138         (( SECHIBA_WRITE_STEP = 0 )) 
    139     fi 
    140     IGCM_comp_modifyDefFile nonblocker orchidee.def WRITE_STEP ${SECHIBA_WRITE_STEP} 
    141     IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTLEVEL ${orchidee_UserChoices_sechiba_LEVEL} 
    142  
    143     # Outputs HF in HISTFILE2 if required 
    144     if [ X${SRF_ok_hf} = Xy ] ; then 
    145         IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTFILE2 y 
    146         if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    147             IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 enabled .TRUE.  
    148             IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 output_freq 10800s 
    149             IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 name sechiba_out_2 
    150         fi 
    151     else 
    152         IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTFILE2 n 
    153     fi 
    154     IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTLEVEL2 1 
    155     IGCM_comp_modifyDefFile nonblocker orchidee.def WRITE_STEP2 10800.0 
    156  
    157     if ( [ ${CumulPeriod} -ne 1 ] || [ "${config_SRF_Restart}" != "n" ] ) ; then 
    158         IGCM_comp_modifyDefFile blocker orchidee.def SECHIBA_restart_in sechiba_rest_in.nc 
    159     else 
    160         IGCM_comp_modifyDefFile blocker orchidee.def SECHIBA_restart_in NONE 
     47        IGCM_comp_modifyDefFile blocker orchidee.def SECHIBA_restart_in NONE 
    16148    fi 
    16249 
    163 # Modify in orchidee.def VEGET_UPDATE and LAND_COVER_CHANGE if they are set in orchidee.card section UserChoices 
    164     if [ ! X${orchidee_UserChoices_VEGET_UPDATE} = X ] ; then 
    165         IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE   ${orchidee_UserChoices_VEGET_UPDATE} 
    166     else 
    167         IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE 0Y 
    168     fi 
    169     if [ ! X${orchidee_UserChoices_LAND_COVER_CHANGE} = X ] ; then 
    170         IGCM_comp_modifyDefFile nonblocker orchidee.def LAND_COVER_CHANGE ${orchidee_UserChoices_LAND_COVER_CHANGE} 
    171     else 
    172         IGCM_comp_modifyDefFile nonblocker orchidee.def LAND_COVER_CHANGE n 
     50    # Set VEGET_UPDATE=1Y in orchidee.def if VEGET_UPDATE_at_start=y in orchidee.card and if it is the first cumul periond (start of new simulation) 
     51    if [ X${orchidee_UserChoices_VEGET_UPDATE_at_start} = Xy ] && [ ${CumulPeriod} -eq 1 ] ; then 
     52        IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE   1Y 
    17353    fi 
    17454 
    175     #IGCM_sys_Cp ${RUN_DIR}/orchidee.def ${RUN_DIR}/run.def 
    176     #IGCM_sys_Put_Out ${RUN_DIR}/run.def ${R_SAVE}/${PREFIX}_run.def 
     55    # Modify in orchidee.def VEGET_UPDATE if it is set in orchidee.card section UserChoices 
     56    # Note: if the variable has been set by VEGET_UPDATE_at_start, this section will not overwrite it. 
     57    if [ ! X${orchidee_UserChoices_VEGET_UPDATE} = X ] ; then 
     58        IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE   ${orchidee_UserChoices_VEGET_UPDATE} 
     59    else 
     60        IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE 0Y 
     61    fi 
    17762 
    178 #Temporary way to fix bug on cimean variable 
    179     IGCM_comp_modifyXmlFile force field_def_orchidee.xml cimean enabled .FALSE.  
     63    # Activate creation of river description file only for the first period 
     64    if [ ${CumulPeriod} -eq 1 ] ; then 
     65        IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC y 
     66    else 
     67        IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC n 
     68    fi 
    18069 
    181     if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
     70 
     71    ## 2. Mangement of output and modifications of related xml files 
     72    # Modify file_def_orchidee.xml file using settings from orchidee.card 
     73    # We here suppose that for each file, in orchidee.card UserChoices section, if the parameter  
     74    # output_level_filename is set, then also output_freq_filename must be set. The existance of output_freq_filename will not be checked.  
     75    # If output_level_filename=NONE or if it is not set, the corresponding file will be deactivated. 
     76    # Settings in config.card WriteFrequency are not used any more. 
     77     
     78    if [ X${orchidee_UserChoices_output_level_sechiba_history} = X ] || [ X${orchidee_UserChoices_output_level_sechiba_history} = XNONE ] ; then 
     79        # output_level_sechiba_history is not set in orchidee.card or it is set to NONE. 
     80        # Deactivate the file. 
     81        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 enabled .FALSE. 
     82        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 output_level 0 
     83        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 output_freq 1mo 
     84    else 
     85        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 enabled      .TRUE. 
     86        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 output_level ${orchidee_UserChoices_output_level_sechiba_history} 
     87        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 output_freq  ${orchidee_UserChoices_output_freq_sechiba_history} 
     88    fi 
     89     
     90    if [ X${orchidee_UserChoices_output_level_sechiba_out_2} = X ] || [ X${orchidee_UserChoices_output_level_sechiba_out_2} = XNONE ] ; then 
     91        # output_level_sechiba_out_2 is not set in orchidee.card or it is set to NONE. 
     92        # Deactivate the file. 
     93        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 enabled .FALSE. 
     94        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 output_level 0 
     95        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 output_freq 1mo 
     96    else 
     97        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 enabled      .TRUE. 
     98        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 output_level ${orchidee_UserChoices_output_level_sechiba_out_2} 
     99        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 output_freq  ${orchidee_UserChoices_output_freq_sechiba_out_2} 
     100    fi 
     101     
     102    if [ X${orchidee_UserChoices_output_level_sechiba_history_4dim} = X ] || [ X${orchidee_UserChoices_output_level_sechiba_history_4dim} = XNONE ] ; then 
     103        # output_level_sechiba_history_4dim is not set in orchidee.card or it is set to NONE. 
     104        # Deactivate the file. 
     105        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba3 enabled .FALSE. 
     106        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba3 output_level 0 
     107        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba3 output_freq 1mo 
     108    else 
     109        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba3 enabled      .TRUE. 
     110        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba3 output_level ${orchidee_UserChoices_output_level_sechiba_history_4dim} 
     111        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba3 output_freq  ${orchidee_UserChoices_output_freq_sechiba_history_4dim} 
     112    fi 
     113         
     114 
    182115    # Add include of orchidee context in iodef.xml 
    183116    # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    184117    #  <context id="orchidee" src="./context_orchidee.xml"/> 
    185         echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 
    186         cp iodef.xml iodef.xml.tmp 
    187         sed -e "/COMPONENT CONTEXT/r add.tmp" \ 
    188             iodef.xml.tmp > iodef.xml 
    189         rm iodef.xml.tmp add.tmp 
     118    echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 
     119    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     120        echo '<context id="orchidee" src="./ping_orchidee.xml"/>' >> add.tmp 
     121        echo '<context id="orchidee" src="./dr2xml_orchidee.xml"/>' >> add.tmp 
    190122    fi 
     123    cp iodef.xml iodef.xml.tmp 
     124    sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
     125    rm iodef.xml.tmp add.tmp 
     126 
     127    # Add LongName as global attribute in XIOS output files (if LongName is not empty) 
     128    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     129        listfile=$(ls file_def*orchidee.xml) 
     130        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     131        for file in ${listfile} 
     132        do 
     133            cp ${file} ${file}.tmp 
     134            sed -e "/<file id/r add.tmp" \ 
     135                ${file}.tmp > ${file} 
     136            rm ${file}.tmp  
     137        done  
     138        rm add.tmp 
     139    fi 
     140 
    191141 
    192142    IGCM_debug_PopStack "SRF_Update" 
     
    198148    IGCM_debug_PushStack "SRF_Finalize" 
    199149 
    200     #IGCM_sys_Put_Out ${RUN_DIR}/used_run.def ${R_SAVE}/${PREFIX}_used_run.def 
    201  
    202     echo FINALIZE SRF !!! 
    203  
    204150    IGCM_debug_PopStack "SRF_Finalize" 
    205151} 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/pisces.driver

    r2456 r3688  
    66    IGCM_debug_PushStack "MBG_Initialize" 
    77 
    8 # Local function to find namelists parameters 
    9 supergrep () { 
    10     grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
    11 } 
     8    # Local function to find parameters in LMDZ .def files 
    129 
    13 # Local function to find parameters in LMDZ .def files 
    14  
    15 lmdzgrep () { 
    16     grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
     10lmdzgrep2 () { 
     11     grep -w ${1} ${2} | grep -v "#"  | sed -e 's/=//g' -e 's/://g' -e 's/_AUTO_//' -e 's/DEFAULT//' | sed -e "s/${1}//"  
    1712} 
    1813 
     
    2217    # nrsttr    control of the time step (0, 1 or 2) 
    2318     
    24     ##--Variables used by PISCES -- 
    25   
    26     NAMELIST_TOP_CFG=${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}_cfg 
    27     NAMELIST_PISCES_CFG=${SUBMIT_DIR}/PARAM/namelist_pisces_${RESOL_OCE}_cfg 
    28  
    29     PAT_TOP_LRSTTR=$( supergrep ln_rsttr          ${NAMELIST_TOP_CFG} ) 
    30     PAT_TOP_NRSTTR=$( supergrep nn_rsttr          ${NAMELIST_TOP_CFG} ) 
    31     PAT_PIS_ATCCO2=$( supergrep atcco2            ${NAMELIST_PISCES_CFG} ) 
    32     PAT_PIS_LRIVER=$( supergrep ln_river          ${NAMELIST_PISCES_CFG} ) 
    33  
    3419    IGCM_debug_PopStack "MBG_Initialize" 
    3520} 
     
    4025    IGCM_debug_PushStack "MBG_Update" 
    4126 
     27    ##--Write Frequency for iomput 
     28    ## Differents frequencies are allowed for MBG files 
     29 
     30    VT1D_ENABLE=".FALSE." 
     31    VT5D_ENABLE=".FALSE." 
     32    VT1M_ENABLE=".FALSE." 
     33    VT1Y_ENABLE=".FALSE." 
     34 
     35    for frequency in ${config_MBG_WriteFrequency} ; do 
     36        case ${frequency} in 
     37            ( 1D|1d ) VT1D_ENABLE=".TRUE." ;; 
     38            ( 5D|5d ) VT5D_ENABLE=".TRUE." ;; 
     39            ( 1M|1m ) VT1M_ENABLE=".TRUE." ;; 
     40            ( *[yY] ) VT1Y_ENABLE=".TRUE." ;; 
     41        esac 
     42    done 
     43 
    4244    ##-- Restart configuration 
    4345    if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "n" ] ) ; then 
    4446 
    4547        #echo "NO RESTART FOR TOP" 
    46         TOP_LRSTTR=.FALSE. 
    47         TOP_NRSTTR=0 
    48  
    49         PISCES_LRIVER=.FALSE. 
     48        TOP_LN_RSTR=.FALSE. 
     49        TOP_NN_RSTR=0 
    5050 
    5151    elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "y" ] ) ; then 
    5252 
    5353        #echo "RESTART TOP" 
    54         TOP_LRSTTR=.TRUE. 
    55         TOP_NRSTTR=0 
    56  
    57         PISCES_LRIVER=.TRUE. 
     54        TOP_LN_RSTR=.TRUE. 
     55        TOP_NN_RSTR=0 
    5856 
    5957        # If we start from IPSLCM5* restart files. 
     
    6563 
    6664        #echo "RESTART TOP" 
    67         TOP_LRSTTR=.TRUE. 
    68         TOP_NRSTTR=2 
    69  
    70         PISCES_LRIVER=.FALSE. 
     65        TOP_LN_RSTR=.TRUE. 
     66        TOP_NN_RSTR=2 
    7167 
    7268    fi 
     
    8177    # update iodef.xml 
    8278 
    83     echo 'Informations into iodef.xml : DBIO_ENABLE' 
    84     echo ${DBIO_ENABLE} 
     79    IGCM_debug_Print 1 " 'Informations into iodef.xml : DBIO_ENABLE : ${DBIO_ENABLE}" 
    8580 
    8681    sed -e "s/<DBIO_ENABLE>/${DBIO_ENABLE}/" \ 
     
    9186    ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg 
    9287    if [ "${pisces_UserChoices_CARBON_CYCLE}" = "y" ]; then 
    93         # Special case for carbon cycle 
     88        IGCM_debug_Print 1 "Special case for carbon cycle" 
    9489        # Activate this case by putting CARBON_CYCLE=y in pisces.card section UserChoices 
    95         echo 'Update atcco2 in namelist_pisces_cfg with value from file co2.log' 
     90        IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with value from file co2.log' 
    9691        PathCO2log=${SUBMIT_DIR} 
    9792        PreviousLinelog=$( tail -1 ${PathCO2log}/co2.log ) 
    9893        IPCC_PIS_CO2=$( echo "${PreviousLinelog[*]}" | gawk -F '|' '{gsub(" ",""); print $4}' ) 
    99         sed -e "s%${PAT_PIS_ATCCO2}%          atcco2=${IPCC_PIS_CO2}%"             \ 
    100             namelist_pisces_cfg > namelist_pisces_cfg.tmp 
    101         IGCM_sys_Mv namelist_pisces_cfg.tmp namelist_pisces_cfg 
     94        IGCM_debug_Print 1 "IPCC_PIS_CO2 : ${IPCC_PIS_CO2} " 
     95        IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 
    10296    else 
    103         # Take same CO2 as for LMDZ, in parameter file config.def. 
    104         # ATM_Update is done before MBG_Update and therefor config.def file contains the correct value for CO2. 
    105         echo 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 
    106         LMDZ_CO2=$( lmdzgrep co2_ppm config.def ) 
    107         sed -e "s%${PAT_PIS_ATCCO2}%          atcco2=${LMDZ_CO2}%"             \ 
    108             namelist_pisces_cfg > namelist_pisces_cfg.tmp 
    109         IGCM_sys_Mv namelist_pisces_cfg.tmp namelist_pisces_cfg 
     97        IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 
     98        # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 
     99        IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 
     100        LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 
     101        IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 
     102        IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${LMDZ_CO2} 
    110103    fi 
    111104 
    112105    ##-- Update namelist_top_cfg and namelist_pisces_cfg 
     106    IGCM_comp_modifyNamelist blocker  namelist_top_cfg     ln_rsttr   ${TOP_LN_RSTR} 
     107    IGCM_comp_modifyNamelist blocker  namelist_top_cfg     nn_rsttr   ${TOP_NN_RSTR} 
     108    IGCM_comp_modifyNamelist blocker  namelist_pisces_cfg  nn_pisdmp  ${OPA_NPDT_YEAR} 
     109  
     110    # Update iodef.xml 
    113111 
    114     sed -e "s%${PAT_TOP_LRSTTR}%          ln_rsttr=${TOP_LRSTTR}%"                   \ 
    115         -e "s%${PAT_TOP_NRSTTR}%          nn_rsttr=${TOP_NRSTTR}%"                   \ 
    116         namelist_top_cfg > namelist_top_cfg.tmp 
     112    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then        
     113        VT1D_ENABLE=".FALSE." 
     114        VT5D_ENABLE=".FALSE." 
     115        VT1M_ENABLE=".FALSE." 
     116        VT1Y_ENABLE=".FALSE." 
     117    fi 
    117118 
    118     IGCM_sys_Mv namelist_top_cfg.tmp namelist_top_cfg 
     119    IGCM_debug_Print 1 'Informations into iodef.xml : VT1D_ENABLE VT5D_ENABLE VT1M_ENABLE VT1Y_ENABLE ' 
     120    IGCM_debug_Print 1 ${VT1D_ENABLE}  ${VT5D_ENABLE} ${VT1M_ENABLE} ${VT1Y_ENABLE} 
    119121 
    120     sed -e "s%${PAT_PIS_LRIVER}%          ln_river=${PISCES_LRIVER}%"                \ 
    121         namelist_pisces_cfg > namelist_pisces_cfg.tmp 
    122  
    123     IGCM_sys_Mv namelist_pisces_cfg.tmp namelist_pisces_cfg 
    124  
    125  
     122    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1d_pis enabled ${VT1D_ENABLE} 
     123    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 5d_pis enabled ${VT5D_ENABLE} 
     124    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m_pis enabled ${VT1M_ENABLE} 
     125    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis enabled ${VT1Y_ENABLE} 
     126    
    126127    IGCM_debug_PopStack "MBG_Update" 
    127128} 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/stomate.driver

    r2456 r3688  
    11#!/bin/ksh 
    22 
    3 #D- Driver du script pour ORCHIDEE 
     3#D- Driver for ORCHIDEE stomate component (SBG) 
    44 
    55#----------------------------------------------------------------- 
     
    88    IGCM_debug_PushStack "SBG_Initialize" 
    99 
    10     RESOL_SBG=ALL 
    11      
    1210    IGCM_debug_PopStack "SBG_Initialize" 
    1311} 
     
    1715{ 
    1816    IGCM_debug_PushStack "SBG_Update" 
    19  
    20     typeset STOMATE_WRITE_STEP 
    21  
    22     if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    23         IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .FALSE.  
    24         IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .FALSE.  
    25     fi    
    26     case ${config_SBG_WriteFrequency} in 
    27         *Y|*y)  
    28             WriteInYears=$( echo ${config_SBG_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 
    29             PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 
    30             (( STOMATE_WRITE_STEP = PeriodLengthInDays * WriteInYears / PeriodLengthInYears ))  
    31             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    32                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE.  
    33                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${WriteInYears}y 
    34                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history  
    35                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    36                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInYears}y 
    37                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history  
    38  
    39             fi 
    40             ;; 
    41         1M|1m)  
    42             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    43                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE.  
    44                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 1mo 
    45                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history  
    46                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    47                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 1mo 
    48                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history  
    49             fi 
    50             case ${config_UserChoices_PeriodLength} in 
    51             *Y|*y) 
    52                 STOMATE_WRITE_STEP=-1. 
    53                 ;; 
    54             *M|*m) 
    55                 STOMATE_WRITE_STEP=-1. 
    56                 ;; 
    57             *) 
    58                 (( STOMATE_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) )) ;; 
    59             esac 
    60             ;; 
    61         *M|*m)  
    62             WriteInMonths=$( echo ${config_SBG_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 
    63             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    64                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE.  
    65                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${WriteInMonths}mo 
    66                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history  
    67                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    68                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInMonths}mo 
    69                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history  
    70             fi 
    71             case ${config_UserChoices_PeriodLength} in 
    72             *Y|*y) 
    73                 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 
    74                 (( STOMATE_WRITE_STEP = 30 )) 
    75                 ;; 
    76             *M|*m) 
    77                 PeriodLengthInMonths=$( echo ${config_UserChoices_PeriodLength} | awk -F '[mM]' '{print $1}' ) 
    78                 (( STOMATE_WRITE_STEP = PeriodLengthInDays * WriteInMonths / PeriodLengthInMonths )) 
    79                 ;; 
    80             *) 
    81                 (( STOMATE_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) ))  
    82                 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    83                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE.  
    84                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${STOMATE_WRITE_STEP}s 
    85                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 
    86                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    87                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${STOMATE_WRITE_STEP}s 
    88                     IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 
    89                 fi 
    90                 ;; 
    91             esac 
    92             ;; 
    93         5D|5d)  
    94             (( STOMATE_WRITE_STEP = 5 )) 
    95             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    96                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE.  
    97                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 5d 
    98                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history  
    99                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    100                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 5d 
    101                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history  
    102             fi 
    103             ;; 
    104         1D|1d)  
    105             (( STOMATE_WRITE_STEP = 1 ))  
    106             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    107                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE.  
    108                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 1d 
    109                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history  
    110                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    111                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 1d 
    112                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history  
    113             fi 
    114             ;; 
    115         *s) 
    116             WriteInSeconds=$( echo ${config_SBG_WriteFrequency} | awk -F '[s]' '{print $1}' ) 
    117             if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    118                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE.  
    119                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInSeconds}s 
    120                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history  
    121                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE.  
    122                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInSeconds}s 
    123                 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history  
    124             fi 
    125             (( STOMATE_WRITE_STEP = 1 )) ;; 
    126         *)  
    127             IGCM_debug_Exit "SBG_Update " ${config_SBG_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D."  
    128             IGCM_debug_Verif_Exit ;; 
    129     esac 
    130  
    131  
    132 #Use of XIOS library only 
    133  
    134     if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 
    135         (( STOMATE_WRITE_STEP = 0 )) 
     17     
     18    # Output management 
     19    # Modify file_def_orchidee.xml file using settings from stomate.card 
     20    # We here suppose that for each file, in stomate.card UserChoices section, if the parameter  
     21    # output_level_filename is set, then also output_freq_filename must be set. The existance of output_freq_filename will not be checked.  
     22    # If output_level_filename=NONE or if it is not set, the corresponding file will be deactivated. 
     23     
     24    if [ X${stomate_UserChoices_output_level_stomate_history} = X ] || [ X${stomate_UserChoices_output_level_stomate_history} = XNONE ] ; then 
     25        # output_level_stomate_history is not set in stomate.card or it is set to NONE. 
     26        # Deactivate the file. 
     27        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 enabled .FALSE. 
     28        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level 0 
     29        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq 1mo 
     30    else 
     31        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 enabled      .TRUE. 
     32        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level ${stomate_UserChoices_output_level_stomate_history} 
     33        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq  ${stomate_UserChoices_output_freq_stomate_history} 
     34    fi 
     35     
     36    if [ X${stomate_UserChoices_output_level_stomate_ipcc_history} = X ] || [ X${stomate_UserChoices_output_level_stomate_ipcc_history} = XNONE ] ; then 
     37        # output_level_stomate_ipcc_history is not set in stomate.card or it is set to NONE. 
     38        # Deactivate the file. 
     39        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 enabled .FALSE. 
     40        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 
     41        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq 1mo 
     42    else 
     43        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 enabled      .TRUE. 
     44        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level ${stomate_UserChoices_output_level_stomate_ipcc_history} 
     45        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq  ${stomate_UserChoices_output_freq_stomate_ipcc_history} 
    13646    fi 
    13747 
    138     IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_HIST_DT ${STOMATE_WRITE_STEP} 
    139     IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_HISTLEVEL ${stomate_UserChoices_stomate_LEVEL} 
     48         
    14049 
     50    # Define in orchidee.def if restart file should be used 
    14151    if ( [ ${CumulPeriod} -eq 1 ] && [ "${config_SBG_Restart}" = "n" ] ) ; then 
    142         echo "STOMATE : without restart" 
    143         IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN NONE 
     52        echo "STOMATE : without restart" 
     53        IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN NONE 
    14454    else 
    145         IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN stomate_rest_in.nc 
     55        IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN stomate_rest_in.nc 
    14656    fi 
    14757 
     
    15262function SBG_Finalize 
    15363{ 
    154 #set -vx 
    15564    IGCM_debug_PushStack "SBG_Finalize" 
    156  
    157     if [ $( IGCM_date_DaysBetweenGregorianDate ${PeriodDateEnd} ${year}1230 ) -ge 0 ] ; then 
    158         IGCM_sys_Put_Out stomate_Cforcing.nc ${R_OUT_SBG_R}/${config_UserChoices_JobName}_${PeriodDateEnd}_stomate_Cforcing.nc 
    159         IGCM_sys_Put_Out stomate_forcing.nc  ${R_OUT_SBG_R}/${config_UserChoices_JobName}_${PeriodDateEnd}_stomate_forcing.nc 
    160 #       rm -f stomate_Cforcing.nc 
    161 #       rm -f stomate_forcing.nc 
    162     fi 
    163  
     65     
    16466    IGCM_debug_PopStack "SBG_Finalize" 
    16567} 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/DRIVER/xios.driver

    r2456 r3688  
    1818# Activate server mode 
    1919    IGCM_comp_modifyXmlFile force iodef.xml using_server NONE true 
    20 # If lmdz_UserChoices_XIOS=y add LMDZ as component id : 
    21     if [ X${lmdz_UserChoices_XIOS}  = Xy ] ; then 
    22         IGCM_comp_modifyXmlFile force iodef.xml oasis_codes_id NONE LMDZ,oceanx 
    23     fi  
     20 
    2421    if [ -f namcouple ] ; then 
    2522        sed -e "s/2  LMDZ oceanx/3 LMDZ oceanx ${config_Executable_IOS[1]}/" namcouple > namcouple.tmp  
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/config.def_actuel

    r2505 r3688  
    77 
    88## Nombre  d'appels des routines de rayonnements ( par jour)                  
    9 nbapp_rad=24 
     9nbapp_rad=16 
    1010 
    1111##  Facteur additif pour l'albedo 
    12 pmagic=0.0 
     12pmagic =  _AUTO_: DEFAULT = 0.0 
    1313 
    1414# 
     
    2222R_incl = 23.441 
    2323### solaire =    Constante solaire 
    24 solaire = _AUTO_ : DEFAULT = 1366.0896 
     24#solaire = _AUTO_ : DEFAULT = 1366.0896 
     25solaire = _AUTO_ : DEFAULT = 1361.20  
     26### constante solaire lue dans un fichier par defaut 
     27ok_suntime_rrtm=y 
    2528# 
    2629# Taux gaz a effet de serre 
    2730# 
    28 ### co2_ppm =    taux CO2 en ppm 
    29 co2_ppm = _AUTO_: DEFAULT = 0.36886500E+03 
    30 ### CH4_ppb =    taux CH4 en ppb 
    31 CH4_ppb = _AUTO_ : DEFAULT = 0.17510225E+04 
    32 ### N2O_ppb =    taux N2O en ppb 
    33 N2O_ppb = _AUTO_ : DEFAULT = 0.31585000E+03 
    34 ### CFC11_ppt =  taux CFC11 en ppt 
    35 CFC11_ppt = _AUTO_ : DEFAULT = 5.18015181E+01 
    36 ### CFC12_ppt =  taux CFC12 en ppt 
    37 CFC12_ppt = _AUTO_ : DEFAULT = 0.99862742E+03 
     31### co2_ppm =    taux CO2 en ppm, l'année 2000 forcage CMIP6 
     32co2_ppm = _AUTO_: DEFAULT = 3.6912e+02 
     33### co2_ppm_per =    taux 4xCO2 en ppm (uniqument pour calcul des diags) 
     34co2_ppm_per = _AUTO_: DEFAULT = 14.7648e+02 
     35### CH4_ppb =    taux CH4 en ppb, l'année 2000 forcage CMIP6 
     36CH4_ppb = _AUTO_ : DEFAULT = 1.7780e+03 
     37### N2O_ppb =    taux N2O en ppb, l'année 2000 forcage CMIP6 
     38N2O_ppb = _AUTO_ : DEFAULT = 3.1576e+02 
     39### CFC11_ppt = taux en ppt, l'année 2000 forcage CFC11eq_CMIP6 
     40CFC11_ppt = _AUTO_ : DEFAULT = 6.3990e+01 
     41### CFC12_ppt =  taux en ppt, l'année 2000 forcage CFC12eq_CMIP6 
     42CFC12_ppt = _AUTO_ : DEFAULT = 1.0511e+03 
    3843# 
    3944# Parametres effets directs/indirects des "aerosols" 
     
    5257### ok_cdnc=y/n   Cloud droplet number concentration 
    5358ok_cdnc=_AUTO_ 
    54 ### bl95_b0 =    Parameter in CDNC-maer link (Boucher&Lohmann 1995) 
    55 bl95_b0=1.7 
    56 ### bl95_b1 =    Parameter in CDNC-maer link (Boucher&Lohmann 1995) 
    57 bl95_b1=0.2 
     59# ok_alw=y flag pour activer l effet LW des poussieres 
     60ok_alw=y 
    5861# 
    5962# Parametre de lecture de l'ozone 
     
    6467# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6568read_climoz=_AUTO_ 
     69#  
     70# Aerosols stratospheriques utilises par defaut  
     71flag_aerosol_strat=2 
     72# 
     73# COSP 
     74ok_cosp=_AUTO_ 
     75 
     76 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/config.def_annuel

    r2456 r3688  
    77 
    88## Nombre  d'appels des routines de rayonnements ( par jour)                  
    9 nbapp_rad=24 
     9nbapp_rad=16 
    1010 
    1111##  Facteur additif pour l'albedo 
    12 pmagic=0.0 
     12pmagic =  _AUTO_: DEFAULT = 0.0 
    1313 
    1414# 
     
    2222R_incl = 23.441 
    2323### solaire =    Constante solaire 
    24 solaire = _AUTO_  
     24# solaire est modifie avec les valeurs du fichier SOLARANDVOLCANOES.txt 
     25# solaire parameter est utilise uniquement avec si iflag_rrtm=0 et ok_suntime_rrtm=n 
     26solaire = _AUTO_: DEFAULT = 0.0  
     27### constante solaire lue dans un fichier par defaut 
     28ok_suntime_rrtm=y 
    2529# 
    2630# Taux gaz a effet de serre 
     
    2832### co2_ppm =    taux CO2 en ppm 
    2933co2_ppm = _AUTO_ 
     34### co2_ppm_per =    taux 4xCO2 en ppm (uniqument pour calcul des diags) 
     35co2_ppm_per = _AUTO_ 
    3036### CH4_ppb =    taux CH4 en ppb 
    3137CH4_ppb = _AUTO_ 
     
    5258### ok_cdnc=y/n   Cloud droplet number concentration 
    5359ok_cdnc=_AUTO_ 
    54 ### bl95_b0 =    Parameter in CDNC-maer link (Boucher&Lohmann 1995) 
    55 bl95_b0=1.7 
    56 ### bl95_b1 =    Parameter in CDNC-maer link (Boucher&Lohmann 1995) 
    57 bl95_b1=0.2 
     60# ok_alw=y flag pour activer l effet LW des poussieres 
     61ok_alw=y 
     62# 
    5863# 
    5964# Parametre de lecture de l'ozone 
     
    6469# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6570read_climoz=_AUTO_ 
     71#  
     72# Aerosols stratospheriques utilises par defaut  
     73flag_aerosol_strat=2 
     74# COSP 
     75ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/config.def_preind

    r2505 r3688  
    99 
    1010## Nombre  d'appels des routines de rayonnements ( par jour)                  
    11 nbapp_rad=24 
     11nbapp_rad=16 
    1212 
    1313##  Facteur additif pour l'albedo 
    14 pmagic=0.0 
     14pmagic =  _AUTO_: DEFAULT = 0.0 
    1515 
    1616# 
     
    2424R_incl = 23.441 
    2525### solaire =    Constante solaire 
    26 solaire = _AUTO_: DEFAULT = 1365.6537 
     26solaire = _AUTO_: DEFAULT = 1361.20 
     27### constante solaire lue dans un fichier par defaut 
     28ok_suntime_rrtm=y 
    2729# 
    2830# Taux gaz a effet de serre 
    2931# 
    30 ### co2_ppm =    taux CO2 en ppm 
    31 co2_ppm = _AUTO_: DEFAULT = 0.28472500E+03 
    32 ### CH4_ppb =    taux CH4 en ppb 
    33 CH4_ppb = _AUTO_: DEFAULT = 0.79097924E+03 
    34 ### N2O_ppb =    taux N2O en ppb 
    35 N2O_ppb = _AUTO_: DEFAULT = 0.27542506E+03 
    36 ### CFC11_ppt =  taux CFC11 en ppt 
    37 CFC11_ppt = _AUTO_: DEFAULT = 0. 
    38 ### CFC12_ppt =  taux CFC12 en ppt 
    39 CFC12_ppt = _AUTO_: DEFAULT = 0. 
     32### co2_ppm =    taux CO2 en ppm, l'année 1850 forcage CMIP6 
     33co2_ppm = _AUTO_: DEFAULT  = 2.8432e+02 
     34### co2_ppm_per =    taux 4xCO2 en ppm (uniqument pour calcul des diags) 
     35co2_ppm_per = _AUTO_: DEFAULT  =11.3728e+02 
     36### CH4_ppb =    taux CH4 en ppb, l'année 1850 forcage CMIP6 
     37CH4_ppb = _AUTO_: DEFAULT = 8.0825e+02 
     38### N2O_ppb =    taux N2O en ppb, l'année 1850 forcage CMIP6 
     39N2O_ppb = _AUTO_: DEFAULT = 2.7302e+02 
     40### CFC11_ppt = taux en ppt, l'année 1850 forcage CFC11eq_CMIP6 
     41CFC11_ppt = _AUTO_: DEFAULT = 1.1726e+01 
     42### CFC12_ppt = taux en ppt, l'année 1850 forcage CFC12eq_CMIP6 
     43CFC12_ppt = _AUTO_: DEFAULT = 1.6513e+01 
    4044# 
    4145# Parametres effets directs/indirects des "aerosols" 
     
    5458### ok_cdnc=y/n   Cloud droplet number concentration 
    5559ok_cdnc=_AUTO_ 
    56 ### bl95_b0 =    Parameter in CDNC-maer link (Boucher&Lohmann 1995) 
    57 bl95_b0=1.7 
    58 ### bl95_b1 =    Parameter in CDNC-maer link (Boucher&Lohmann 1995) 
    59 bl95_b1=0.2 
     60# ok_alw=y flag pour activer l effet LW des poussieres 
     61ok_alw=y 
    6062# 
    6163# Parametre de lecture de l'ozone 
     
    6668# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6769read_climoz=_AUTO_ 
     70# 
     71# Aerosols stratospheriques utilises par defaut  
     72# 
     73flag_aerosol_strat=2 
     74# 
     75# COSP 
     76# 
     77ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/inca.def

    r2547 r3688  
    22# parametres pour INCA 
    33####################################################################### 
    4 #climatological=y --> use 10m wind from LMDZ, =n --> use 10m wind from output file 
     4#LMDZ_10m_winds=y --> use 10m wind from LMDZ, =n --> use 10m wind from output file 
    55LMDZ_10m_winds=_AUTO_ 
    6610m_winds_method=_AUTO_ 
    7 #freq_write_chem --> write frequency for inca_inst and inca_avgr (86400 = 1/day) 
    8 freq_write_chem=_AUTO_ 
    97#choose if there is a feedback with the areosol effect 
    108feedb=_AUTO_ 
     
    1210XIOS_INCA_OK=_AUTO_ 
    1311IOIPSL_INCA_OK=_AUTO_ 
    14 #weibull 10m wind parameter 
    15 kref=4.0 
    16 #threshold 10m wind parameter 
    17 tref=0.85 
     12#weibull 10m wind parameter / def 4 
     13kref=_AUTO_: DEFAULT =4 
     14#threshold 10m wind parameter / def 0.78 
     15tref=_AUTO_: DEFAULT =0.78 
     16#seasalt_correctif / def = 1  
     17ss_corr=_AUTO_: DEFAULT =1  
     18#sedimentation  
     19multilayer_sediment=_AUTO_ 
     20#coupled model with orchidee 
     21CoupOrchInca=_AUTO_ 
     22#use or not the deposition from orchidee 
     23DepOrch=n 
     24# uncomment two next line if we want to coupled with orchidee without transfer any flux 
     25#nbFlux_FromOrch=0 
     26#emi_FromOrch= 
     27#output diagnostic for chemistry flux 
     28calcul_flux=_AUTO_ 
     29# 
     30flag_plume=0 
     31#choose which type of aircraft you will use (0 - 1 - 2 - 3) (no aircraft / old inca aircraft / new subsonic inca aircraft / subsonic + hypersonic inca aircraft) 
     32flag_plane=_AUTO_ 
     33#choose which time interpolation you want to interpolate sflx file. ( 0 - 1 - 2) (no interpolation / point to point interpolation / Sheng & Zwiers interpolation)  
     34emi_interp_time=_AUTO_ 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/iodef.xml

    r2456 r3688  
    1313  <context id="xios"> 
    1414 
    15     <variable_definition> 
    16          
    17      <!-- We must have buffer_size > jpi*jpj*jpk*8 (with jpi and jpj the subdomain size) --> 
    18           <variable id="buffer_size"               type="integer">10000000</variable> 
    19           <variable id="buffer_server_factor_size" type="integer">2</variable> 
    20           <variable id="info_level"                type="integer">1</variable> 
    21           <variable id="using_server"              type="boolean">false</variable> 
    22           <variable id="using_oasis"               type="boolean">false</variable> 
    23           <variable id="oasis_codes_id"            type="string" >oceanx</variable> 
    24          
    25       </variable_definition> 
    26                 
     15    <variable_definition>        
     16      <variable id="optimal_buffer_size" type="string">performance</variable> 
     17      <variable id="buffer_size_factor" type="double">1.0</variable> 
     18      <variable id="min_buffer_size" type="int">10000000</variable> 
     19      <variable id="info_level"            type="int">1</variable> 
     20      <variable id="using_server"          type="bool">false</variable> 
     21      <variable id="using_oasis"           type="bool">false</variable> 
     22      <variable id="oasis_codes_id"        type="string" >LMDZ,oceanx</variable>         
     23    </variable_definition> 
     24     
    2725  </context> 
    2826 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/namcouple_ORCA1xLMD144142

    r2456 r3688  
    1919# 
    2020 $NFIELDS 
    21             25 
     21            27 
    2222 $END 
    2323############################################################################### 
     
    4040# 
    4141 $NLOGPRT 
    42    2 <lucia_ok> 
     42   0 <lucia_ok> 
    4343 $END 
    4444#  
     
    5151# Field 1 : Weighted sea surface temperature (o->a 1) 
    5252#  
    53 O_SSTSST  SISUTESW 1 <freq_coupling>  4  sstoc.nc  <output_mode>  
    54 362 292 144 143 torc  tlmd  LAG=<lag_oce> 
    55 P  2 P  0 
    56 LOCTRANS CHECKIN MAPPING CHECKOUT 
     53O_SSTSST  SISUTESW 1 <freq_coupling>  2  sstoc.nc  <output_mode>  
     54362 332 144 143 torc  tlmd  LAG=<lag_oce> 
     55P  2 P  0 
     56LOCTRANS MAPPING 
    5757# LOCTRANS: AVERAGE to average value over coupling period 
    5858 AVERAGE 
    5959# CHECKIN: indicate computation of global, land and sea field integrals. 
    60  INT=1 
    6160# Mozaic: 1) mapping filename 2) connected unit 3) dataset rank 4) Maximum 
    6261#         number of overlapped neighbors 
    6362rmp_torc_to_tlmd_MOSAIC.nc src 
    6463# CHECKOUT: indicate computation of global, land and sea field integrals. 
    65  INT=1 
    6664# 
    6765############################################################################ 
     
    6967# Field 2 : Sea ice extent  (o->a 2) 
    7068# 
    71 OIceFrc SIICECOV 44 <freq_coupling>  4  sstoc.nc <output_mode> 
    72 362 292 144 143 torc  tlmd   LAG=<lag_oce> 
    73 P  2 P  0 
    74 # 
    75 LOCTRANS CHECKIN MAPPING  CHECKOUT  
    76  AVERAGE 
    77 # CHECKIN: indicate computation of global, land and sea field integrals. 
    78  INT=1 
    79 # 
    80 rmp_torc_to_tlmd_MOSAIC.nc src 
    81 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    82  INT=1 
     69OIceFrc SIICECOV 44 <freq_coupling>  2  sstoc.nc <output_mode> 
     70362 332 144 143 torc  tlmd   LAG=<lag_oce> 
     71P  2 P  0 
     72# 
     73LOCTRANS MAPPING 
     74 AVERAGE 
     75# CHECKIN: indicate computation of global, land and sea field integrals. 
     76# 
     77rmp_torc_to_tlmd_MOSAIC.nc src 
     78# CHECKOUT: indicate computation of global, land and sea field integrals. 
    8379# 
    8480# 
     
    8783# Field 3 : Weighted Sea Ice Temperature (o->a 3) 
    8884# 
    89 O_TepIce  SIICTEMW 34 <freq_coupling>  4  sstoc.nc  <output_mode> 
    90 362 292 144 143 torc  tlmd   LAG=<lag_oce> 
    91 P  2 P  0 
    92 LOCTRANS CHECKIN MAPPING CHECKOUT 
    93  AVERAGE 
    94 # CHECKIN: indicate computation of global, land and sea field integrals. 
    95  INT=1 
    96 #  
    97 rmp_torc_to_tlmd_MOSAIC.nc src 
    98 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    99  INT=1 
     85O_TepIce  SIICTEMW 34 <freq_coupling>  2  sstoc.nc  <output_mode> 
     86362 332 144 143 torc  tlmd   LAG=<lag_oce> 
     87P  2 P  0 
     88LOCTRANS MAPPING 
     89 AVERAGE 
     90# CHECKIN: indicate computation of global, land and sea field integrals. 
     91#  
     92rmp_torc_to_tlmd_MOSAIC.nc src 
     93# CHECKOUT: indicate computation of global, land and sea field integrals. 
    10094# 
    10195############################################################################ 
     
    10397# Field 4 : Weighted Sea ice albedo (o->a 4) 
    10498# 
    105 O_AlbIce  SIICEALW 17 <freq_coupling>  4  sstoc.nc  <output_mode> 
    106 362 292 144 143 torc  tlmd  LAG=<lag_oce>   
    107 P  2 P  0 
    108 # 
    109 LOCTRANS CHECKIN MAPPING CHECKOUT 
    110  AVERAGE 
    111 # CHECKIN: indicate computation of global, land and sea field integrals. 
    112  INT=1 
    113 # 
    114 rmp_torc_to_tlmd_MOSAIC.nc src 
    115 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    116  INT=1 
     99O_AlbIce  SIICEALW 17 <freq_coupling>  2  sstoc.nc  <output_mode> 
     100362 332 144 143 torc  tlmd  LAG=<lag_oce>   
     101P  2 P  0 
     102# 
     103LOCTRANS MAPPING 
     104 AVERAGE 
     105# CHECKIN: indicate computation of global, land and sea field integrals. 
     106# 
     107rmp_torc_to_tlmd_MOSAIC.nc src 
     108# CHECKOUT: indicate computation of global, land and sea field integrals. 
    117109# 
    118110# 
     
    120112# 
    121113# Field 5 : Current surface (o->a 5) 
    122 O_OCurx1 CURRENTX 321 <freq_coupling>  4  sstoc.nc  <output_mode> 
    123 362 292 144 143 torc    tlmd  LAG=<lag_oce> 
    124 P  2 P  0 
    125 LOCTRANS CHECKIN MAPPING CHECKOUT 
    126  AVERAGE 
    127 # CHECKIN: indicate computation of global, land and sea field integrals. 
    128  INT=1 
    129 # 
    130 rmp_torc_to_tlmd_MOSAIC.nc src 
    131 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    132  INT=1   
     114O_OCurx1 CURRENTX 321 <freq_coupling>  2  sstoc.nc  <output_mode> 
     115362 332 144 143 torc    tlmd  LAG=<lag_oce> 
     116P  2 P  0 
     117LOCTRANS MAPPING 
     118 AVERAGE 
     119# CHECKIN: indicate computation of global, land and sea field integrals. 
     120# 
     121rmp_torc_to_tlmd_MOSAIC.nc src 
     122# CHECKOUT: indicate computation of global, land and sea field integrals. 
    133123# 
    134124# 
     
    136126# 
    137127# Field 6 : Current surface (o->a 6) 
    138 O_OCury1 CURRENTY 321 <freq_coupling>  4  sstoc.nc  <output_mode> 
    139 362 292 144 143 torc    tlmd  LAG=<lag_oce> 
    140 P  2 P  0 
    141 LOCTRANS CHECKIN MAPPING CHECKOUT 
    142  AVERAGE 
    143 # CHECKIN: indicate computation of global, land and sea field integrals. 
    144  INT=1 
    145 # 
    146 rmp_torc_to_tlmd_MOSAIC.nc src 
    147 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    148  INT=1 
     128O_OCury1 CURRENTY 321 <freq_coupling>  2  sstoc.nc  <output_mode> 
     129362 332 144 143 torc    tlmd  LAG=<lag_oce> 
     130P  2 P  0 
     131LOCTRANS MAPPING 
     132 AVERAGE 
     133# CHECKIN: indicate computation of global, land and sea field integrals. 
     134# 
     135rmp_torc_to_tlmd_MOSAIC.nc src 
     136# CHECKOUT: indicate computation of global, land and sea field integrals. 
    149137 
    150138############################################################################ 
    151139# 
    152140# Field 7 : Current surface (o->a 7) 
    153 O_OCurz1 CURRENTZ 321 <freq_coupling>  4  sstoc.nc  <output_mode> 
    154 362 292 144 143 torc    tlmd  LAG=<lag_oce> 
    155 P  2 P  0 
    156 LOCTRANS CHECKIN MAPPING CHECKOUT 
    157  AVERAGE 
    158 # CHECKIN: indicate computation of global, land and sea field integrals. 
    159  INT=1 
    160 # 
    161 rmp_torc_to_tlmd_MOSAIC.nc src 
    162 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    163  INT=1 
     141O_OCurz1 CURRENTZ 321 <freq_coupling>  2  sstoc.nc  <output_mode> 
     142362 332 144 143 torc    tlmd  LAG=<lag_oce> 
     143P  2 P  0 
     144LOCTRANS MAPPING 
     145 AVERAGE 
     146# CHECKIN: indicate computation of global, land and sea field integrals. 
     147# 
     148rmp_torc_to_tlmd_MOSAIC.nc src 
     149# CHECKOUT: indicate computation of global, land and sea field integrals. 
    164150# 
    165151# 
     
    172158# Field 8 : wind stress along X axis (a->o 1) 
    173159# 
    174 COTAUXXU O_OTaux1 23 <freq_coupling>  3  flxat.nc   <output_mode> 
    175 144 143 362 292 tlmd    uorc  LAG=<lag_atm>  
    176 P  0 P  2 
    177 CHECKIN SCRIPR CHECKOUT 
    178 # CHECKIN: indicate computation of global, land and sea field integrals. 
    179  INT=1 
     160COTAUXXU O_OTaux1 23 <freq_coupling>  1  flxat.nc   <output_mode> 
     161144 143 362 332 tlmd    uorc  LAG=<lag_atm>  
     162P  0 P  2 
     163MAPPING 
     164# CHECKIN: indicate computation of global, land and sea field integrals. 
     165# Interpolation method ou parametres mozaic 
     166rmp_tlmd_to_uorc_BILINEAR_Corrected.nc dst 
     167# CHECKOUT: indicate computation of global, land and sea field integrals. 
     168# 
     169########################################################################### 
     170# 
     171# Field 9 : stress along Y axis (a->o 2) 
     172# 
     173COTAUYYU O_OTauy1 23 <freq_coupling>  1  flxat.nc  <output_mode> 
     174144 143 362 332 tlmd    uorc  LAG=<lag_atm>  
     175P  0 P  2 
     176MAPPING 
     177# CHECKIN: indicate computation of global, land and sea field integrals. 
     178# Interpolation method ou parametres mozaic 
     179rmp_tlmd_to_uorc_BILINEAR_Corrected.nc dst 
     180# CHECKOUT: indicate computation of global, land and sea field integrals. 
     181# 
     182########################################################################### 
     183# 
     184# Field 10 :wind stress along Z axis (a->o 3) 
     185# 
     186COTAUZZU O_OTauz1 23 <freq_coupling>  1  flxat.nc  <output_mode> 
     187144 143 362 332 tlmd    uorc  LAG=<lag_atm>  
     188P  0 P  2 
     189MAPPING 
     190# CHECKIN: indicate computation of global, land and sea field integrals. 
     191# Interpolation method ou parametres mozaic 
     192rmp_tlmd_to_uorc_BILINEAR_Corrected.nc dst 
     193# CHECKOUT: indicate computation of global, land and sea field integrals. 
     194# 
     195########################################################################## 
     196# 
     197# Field 11 : wind stress along X axis 2 (a->o 4) 
     198# 
     199COTAUXXV O_OTaux2  24 <freq_coupling>  1    flxat.nc  <output_mode> 
     200144 143 362 332 tlmd    vorc  LAG=<lag_atm>  
     201P  0 P  2 
     202SCRIPR 
     203# CHECKIN: indicate computation of global, land and sea field integrals. 
    180204BILINEAR LR SCALAR LATLON 10 
    181205# CHECKOUT: indicate computation of global, land and sea field integrals. 
    182  INT=1 
     206# 
     207########################################################################## 
     208# 
     209# Field 12 : wind stress along Y axis 2 (a->o 5)  
     210# 
     211COTAUYYV O_OTauy2  24 <freq_coupling>  1    flxat.nc  <output_mode> 
     212144 143 362 332 tlmd    vorc  LAG=<lag_atm> 
     213P  0 P  2 
     214SCRIPR 
     215# CHECKIN: indicate computation of global, land and sea field integrals. 
     216BILINEAR LR SCALAR LATLON 10 
     217# CHECKOUT: indicate computation of global, land and sea field integrals. 
     218# 
     219########################################################################## 
     220# 
     221# Field 13 :  wind stress along Z axis 2 (a->o 6)  
     222# 
     223COTAUZZV O_OTauz2  24 <freq_coupling>  1    flxat.nc  <output_mode> 
     224144 143 362 332 tlmd    vorc  LAG=<lag_atm> 
     225P  0 P  2 
     226SCRIPR 
     227# CHECKIN: indicate computation of global, land and sea field integrals. 
     228BILINEAR LR SCALAR LATLON 10 
     229# CHECKOUT: indicate computation of global, land and sea field integrals. 
     230# 
     231######################################################################### 
     232# Field 14 :  wind speed 10m (a->o 7)  
     233# 
     234COWINDSP O_Wind10  56 <freq_coupling>  1    flxat.nc  <output_mode> 
     235144 143 362 332 tlmd    torc  LAG=<lag_atm> 
     236P  0 P  2 
     237MAPPING 
     238# CHECKIN: indicate computation of global, land and sea field integrals. 
     239# Interpolation method ou parametres mozaic 
     240rmp_tlmd_to_torc_BILINEAR_Corrected.nc dst 
     241# CHECKOUT: indicate computation of global, land and sea field integrals. 
     242#  
     243######################################################################### 
     244# 
     245# Field 15 : Total rain (a->o 8) 
     246# 
     247COTOTRAI OTotRain 26 <freq_coupling>  1   flxat.nc   <output_mode> 
     248144 143 362 332 tlmd    torc  LAG=<lag_atm>  
     249P  0 P  2 
     250MAPPING 
     251# CHECKIN: indicate computation of global, land and sea field integrals. 
     252# Interpolation method ou parametres mozaic 
     253rmp_tlmd_to_torc_MOSAIC.nc dst 
     254# CHECKOUT: indicate computation of global, land and sea field integrals. 
     255# 
     256########################################################################## 
     257# 
     258# Field 16 :  Total snow (a->o 9) 
     259# 
     260COTOTSNO  OTotSnow 28 <freq_coupling>  1   flxat.nc   <output_mode> 
     261144 143 362 332 tlmd    torc  LAG=<lag_atm>  
     262P  0 P  2 
     263MAPPING 
     264# CHECKIN: indicate computation of global, land and sea field integrals. 
     265# Interpolation method ou parametres mozaic 
     266rmp_tlmd_to_torc_MOSAIC.nc dst 
     267# CHECKOUT: indicate computation of global, land and sea field integrals. 
     268# 
     269######################################################################### 
     270# 
     271# Field 17 : Total evap (a->o 10) 
     272# 
     273COTOTEVA  OTotEvap 25 <freq_coupling>  1   flxat.nc   <output_mode> 
     274144 143 362 332 tlmd    torc  LAG=<lag_atm>  
     275P  0 P  2 
     276MAPPING 
     277# CHECKIN: indicate computation of global, land and sea field integrals. 
     278# Interpolation method ou parametres mozaic 
     279rmp_tlmd_to_torc_MOSAIC.nc dst 
     280# CHECKOUT: indicate computation of global, land and sea field integrals. 
     281# 
     282########################################################################## 
     283# 
     284# Field 18 : Evaporation Ice  (a->o 11) 
     285# 
     286COICEVAP OIceEvap 41 <freq_coupling>  1   flxat.nc   <output_mode> 
     287144 143 362 332 tlmd    torc  LAG=<lag_atm>  
     288P  0 P  2 
     289MAPPING 
     290# CHECKIN: indicate computation of global, land and sea field integrals. 
     291# Interpolation method ou parametres mozaic 
     292rmp_tlmd_to_torc_MOSAIC.nc dst 
     293# CHECKOUT: indicate computation of global, land and sea field integrals. 
     294# 
     295########################################################################## 
     296# 
     297# Field 19 : Total solar heat flux (a->o 12) 
     298# 
     299COQSRMIX O_QsrMix  7 <freq_coupling> 1   flxat.nc  <output_mode> 
     300144 143 362 332 tlmd    torc  LAG=<lag_atm> 
     301P  0 P  2 
     302MAPPING 
     303# CHECKIN: indicate computation of global, land and sea field integrals. 
     304# Interpolation method or mozaic parameters 
     305rmp_tlmd_to_torc_MOSAIC.nc dst 
     306# CHECKOUT: indicate computation of global, land and sea field integrals. 
     307# 
     308######################################################################### 
     309# 
     310# Field 20 : Total Non solar heat flux (a->o 13) 
     311# 
     312COQNSMIX O_QnsMix 6 <freq_coupling>  1   flxat.nc  <output_mode> 
     313144 143 362 332 tlmd    torc   LAG=<lag_atm> 
     314P  0 P  2 
     315MAPPING 
     316# CHECKIN: indicate computation of global, land and sea field integrals. 
     317# Interpolation method ou parametres mozaic 
     318rmp_tlmd_to_torc_MOSAIC.nc dst 
     319# CHECKOUT: indicate computation of global, land and sea field integrals. 
    183320# 
    184321########################################################################### 
    185322# 
    186 # Field 9 : stress along Y axis (a->o 2) 
    187 # 
    188 COTAUYYU O_OTauy1 23 <freq_coupling>  3  flxat.nc  <output_mode> 
    189 144 143 362 292 tlmd    uorc  LAG=<lag_atm>  
    190 P  0 P  2 
    191 CHECKIN SCRIPR CHECKOUT 
    192 # CHECKIN: indicate computation of global, land and sea field integrals. 
    193  INT=1 
    194 BILINEAR LR SCALAR LATLON 10 
    195 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    196  INT=1 
    197 # 
    198 ########################################################################### 
    199 # 
    200 # Field 10 :wind stress along Z axis (a->o 3) 
    201 # 
    202 COTAUZZU O_OTauz1 23 <freq_coupling>  3  flxat.nc  <output_mode> 
    203 144 143 362 292 tlmd    uorc  LAG=<lag_atm>  
    204 P  0 P  2 
    205 CHECKIN SCRIPR CHECKOUT 
    206 # CHECKIN: indicate computation of global, land and sea field integrals. 
    207  INT=1 
    208 BILINEAR LR SCALAR LATLON 10 
    209 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    210  INT=1 
    211 # 
    212 ########################################################################## 
    213 # 
    214 # Field 11 : wind stress along X axis 2 (a->o 4) 
    215 # 
    216 COTAUXXV O_OTaux2  24 <freq_coupling>  3    flxat.nc  <output_mode> 
    217 144 143 362 292 tlmd    vorc  LAG=<lag_atm>  
    218 P  0 P  2 
    219 CHECKIN SCRIPR CHECKOUT 
    220 # CHECKIN: indicate computation of global, land and sea field integrals. 
    221  INT=1 
    222 BILINEAR LR SCALAR LATLON 10 
    223 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    224  INT=1 
    225 # 
    226 ########################################################################## 
    227 # 
    228 # Field 12 : wind stress along Y axis 2 (a->o 5)  
    229 # 
    230 COTAUYYV O_OTauy2  24 <freq_coupling>  3    flxat.nc  <output_mode> 
    231 144 143 362 292 tlmd    vorc  LAG=<lag_atm> 
    232 P  0 P  2 
    233 CHECKIN SCRIPR CHECKOUT 
    234 # CHECKIN: indicate computation of global, land and sea field integrals. 
    235  INT=1 
    236 BILINEAR LR SCALAR LATLON 10 
    237 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    238  INT=1 
    239 # 
    240 ########################################################################## 
    241 # 
    242 # Field 13 :  wind stress along Z axis 2 (a->o 6)  
    243 # 
    244 COTAUZZV O_OTauz2  24 <freq_coupling>  3    flxat.nc  <output_mode> 
    245 144 143 362 292 tlmd    vorc  LAG=<lag_atm> 
    246 P  0 P  2 
    247 CHECKIN SCRIPR CHECKOUT 
    248 # CHECKIN: indicate computation of global, land and sea field integrals. 
    249  INT=1 
    250 BILINEAR LR SCALAR LATLON 10 
    251 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    252  INT=1 
    253 # 
    254 ######################################################################### 
    255 # Field 14 :  wind speed 10m (a->o 7)  
    256 # 
    257 COWINDSP O_Wind10  56 <freq_coupling>  3    flxat.nc  <output_mode> 
    258 144 143 362 292 tlmd    torc  LAG=<lag_atm> 
    259 P  0 P  2 
    260 CHECKIN SCRIPR CHECKOUT 
    261 # CHECKIN: indicate computation of global, land and sea field integrals. 
    262  INT=1 
    263 BILINEAR LR SCALAR LATLON 10 
    264 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    265  INT=1 
    266 #  
    267 ######################################################################### 
    268 # 
    269 # Field 15 : Total rain (a->o 8) 
    270 # 
    271 COTOTRAI OTotRain 26 <freq_coupling>  3   flxat.nc   <output_mode> 
    272 144 143 362 292 tlmd    torc  LAG=<lag_atm>  
    273 P  0 P  2 
    274 CHECKIN MAPPING CHECKOUT 
    275 # CHECKIN: indicate computation of global, land and sea field integrals. 
    276  INT=1 
    277 # Interpolation method ou parametres mozaic 
    278 rmp_tlmd_to_torc_MOSAIC.nc src 
    279 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    280  INT=1 
    281 # 
    282 ########################################################################## 
    283 # 
    284 # Field 16 :  Total snow (a->o 9) 
    285 # 
    286 COTOTSNO  OTotSnow 28 <freq_coupling>  3   flxat.nc   <output_mode> 
    287 144 143 362 292 tlmd    torc  LAG=<lag_atm>  
    288 P  0 P  2 
    289 CHECKIN MAPPING CHECKOUT 
    290 # CHECKIN: indicate computation of global, land and sea field integrals. 
    291  INT=1 
    292 # Interpolation method ou parametres mozaic 
    293 rmp_tlmd_to_torc_MOSAIC.nc src 
    294 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    295  INT=1 
    296 # 
    297 ######################################################################### 
    298 # 
    299 # Field 17 : Total evap (a->o 10) 
    300 # 
    301 COTOTEVA  OTotEvap 25 <freq_coupling>  3   flxat.nc   <output_mode> 
    302 144 143 362 292 tlmd    torc  LAG=<lag_atm>  
    303 P  0 P  2 
    304 CHECKIN MAPPING CHECKOUT 
    305 # CHECKIN: indicate computation of global, land and sea field integrals. 
    306  INT=1 
    307 # Interpolation method ou parametres mozaic 
    308 rmp_tlmd_to_torc_MOSAIC.nc src 
    309 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    310  INT=1 
    311 # 
    312 ########################################################################## 
    313 # 
    314 # Field 18 : Evaporation Ice  (a->o 11) 
    315 # 
    316 COICEVAP OIceEvap 41 <freq_coupling>  3   flxat.nc   <output_mode> 
    317 144 143 362 292 tlmd    torc  LAG=<lag_atm>  
    318 P  0 P  2 
    319 CHECKIN MAPPING CHECKOUT 
    320 # CHECKIN: indicate computation of global, land and sea field integrals. 
    321  INT=1 
    322 # Interpolation method ou parametres mozaic 
    323 rmp_tlmd_to_torc_MOSAIC.nc src 
    324 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    325  INT=1 
    326 # 
    327 ########################################################################## 
    328 # 
    329 # Field 19 : Total solar heat flux (a->o 12) 
    330 # 
    331 COQSRMIX O_QsrMix  7 <freq_coupling> 3   flxat.nc  <output_mode> 
    332 144 143 362 292 tlmd    torc  LAG=<lag_atm> 
    333 P  0 P  2 
    334 CHECKIN MAPPING CHECKOUT 
    335 # CHECKIN: indicate computation of global, land and sea field integrals. 
    336  INT=1 
     323# Field 21 : solar heat flux on ice (a->o 14) 
     324# 
     325COSHFICE O_QsrIce  7 <freq_coupling> 1   flxat.nc  <output_mode> 
     326144 143 362 332 tlmd    torc  LAG=<lag_atm> 
     327P  0 P  2 
     328MAPPING 
     329# CHECKIN: indicate computation of global, land and sea field integrals. 
    337330# Interpolation method or mozaic parameters 
    338 rmp_tlmd_to_torc_MOSAIC.nc src 
    339 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    340  INT=1 
    341 # 
    342 ######################################################################### 
    343 # 
    344 # Field 20 : Total Non solar heat flux (a->o 13) 
    345 # 
    346 COQNSMIX O_QnsMix 6 <freq_coupling>  3   flxat.nc  <output_mode> 
    347 144 143 362 292 tlmd    torc   LAG=<lag_atm> 
    348 P  0 P  2 
    349 CHECKIN MAPPING CHECKOUT 
    350 # CHECKIN: indicate computation of global, land and sea field integrals. 
    351  INT=1 
    352 # Interpolation method ou parametres mozaic 
    353 rmp_tlmd_to_torc_MOSAIC.nc src 
    354 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    355  INT=1 
    356 # 
    357 ########################################################################### 
    358 # 
    359 # Field 21 : solar heat flux on ice (a->o 14) 
    360 # 
    361 COSHFICE O_QsrIce  7 <freq_coupling> 3   flxat.nc  <output_mode> 
    362 144 143 362 292 tlmd    torc  LAG=<lag_atm> 
    363 P  0 P  2 
    364 CHECKIN MAPPING CHECKOUT 
    365 # CHECKIN: indicate computation of global, land and sea field integrals. 
    366  INT=1 
    367 # Interpolation method or mozaic parameters 
    368 rmp_tlmd_to_torc_MOSAIC.nc src 
    369 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    370  INT=1 
     331rmp_tlmd_to_torc_MOSAIC.nc dst 
     332# CHECKOUT: indicate computation of global, land and sea field integrals. 
    371333# 
    372334############################################################################ 
     
    374336# Field 22 : Non solar heat flux on ice (a->o 15) 
    375337# 
    376 CONSFICE O_QnsIce 6 <freq_coupling>  3  flxat.nc  <output_mode> 
    377 144 143 362 292 tlmd    torc  LAG=<lag_atm> 
    378 P  0 P  2 
    379 CHECKIN MAPPING CHECKOUT 
    380 # CHECKIN: indicate computation of global, land and sea field integrals. 
    381  INT=1 
    382 # Interpolation method ou parametres mozaic 
    383 rmp_tlmd_to_torc_MOSAIC.nc src 
    384 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    385  INT=1 
     338CONSFICE O_QnsIce 6 <freq_coupling>  1  flxat.nc  <output_mode> 
     339144 143 362 332 tlmd    torc  LAG=<lag_atm> 
     340P  0 P  2 
     341MAPPING 
     342# CHECKIN: indicate computation of global, land and sea field integrals. 
     343# Interpolation method ou parametres mozaic 
     344rmp_tlmd_to_torc_MOSAIC.nc dst 
     345# CHECKOUT: indicate computation of global, land and sea field integrals. 
    386346# 
    387347############################################################################ 
     
    389349# Field 23 : Non solar heat flux derivative (a->o 16) 
    390350# 
    391 CODFLXDT O_dQnsdT  35 <freq_coupling>  3   flxat.nc  <output_mode> 
    392 144 143 362 292 tlmd    torc  LAG=<lag_atm> 
    393 P  0 P  2 
    394 CHECKIN MAPPING CHECKOUT 
    395 # CHECKIN: indicate computation of global, land and sea field integrals. 
    396  INT=1 
    397 # Interpolation method ou parametres mozaic 
    398 rmp_tlmd_to_torc_MOSAIC.nc src 
    399 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    400  INT=1 
    401 # 
    402 ######################################################################### 
    403 # 
    404 # Field 24 : iceberg calving (a->o 17) 
    405 # 
    406 COCALVIN OCalving  36 <freq_coupling>  4  flxat.nc  <output_mode> 
    407 144 143 362 292 tlmd    torc  LAG=<lag_atm>  
    408 P  0 P  2 
    409 CHECKIN MAPPING BLASNEW CHECKOUT 
    410 # CHECKIN: indicate computation of global, land and sea field integrals. 
    411  INT=1 
    412 # Interpolation method ou parametres mozaic 
    413 rmp_tlmd_to_torc_MOSAIC_calvin.nc src 
    414 # Set to ZERO \!/ 
    415 0.0 0 
    416 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    417  INT=1 
    418 # 
    419 ######################################################################### 
    420 # 
    421 # Field 25 : liquid run-off (river + direct)  (a->o 18) 
    422 # 
    423 COLIQRUN  O_Runoff 32 <freq_coupling>  5  flxat.nc   <output_mode> 
    424 144 143 362 292 aone    otot  LAG=<lag_atm>  
    425 P  0 P  2 
    426 CHECKIN MAPPING CONSERV BLASNEW CHECKOUT 
    427 # CHECKIN: indicate computation of global, land and sea field integrals. 
    428  INT=1 
     351CODFLXDT O_dQnsdT  35 <freq_coupling>  1   flxat.nc  <output_mode> 
     352144 143 362 332 tlmd    torc  LAG=<lag_atm> 
     353P  0 P  2 
     354MAPPING 
     355# CHECKIN: indicate computation of global, land and sea field integrals. 
     356# Interpolation method ou parametres mozaic 
     357rmp_tlmd_to_torc_MOSAIC.nc dst 
     358# CHECKOUT: indicate computation of global, land and sea field integrals. 
     359# 
     360######################################################################### 
     361# 
     362# Field 24 : iceberg calving north (a->o 17) 
     363# 
     364COCALVIN OCalving  36 <freq_coupling_roff_calv>  2  flxat.nc  <output_mode> 
     365144 143 362 332 tlmd    torc  LAG=<lag_atm_roff_calv>  
     366P  0 P  2 
     367LOCTRANS MAPPING 
     368AVERAGE 
     369# CHECKIN: indicate computation of global, land and sea field integrals. 
     370# Interpolation method ou parametres mozaic 
     371rmp_tlmd_to_torc_MOSAIC_calving_nosouth.nc dst 
     372# CHECKOUT: indicate computation of global, land and sea field integrals. 
     373# 
     374######################################################################### 
     375# 
     376# Field 25 : iceberg melting (a->o 17) 
     377# 
     378COCALVIN OIceberg  36 <freq_coupling_roff_calv>  3  icbrg.nc  <output_mode> 
     379144 143 362 332 tlmd    torc  LAG=<lag_atm_roff_calv>  
     380P  0 P  2 
     381LOCTRANS MAPPING BLASNEW 
     382AVERAGE 
     383# CHECKIN: indicate computation of global, land and sea field integrals. 
     384# Interpolation method ou parametres mozaic 
     385rmp_tlmd_to_torc_MOSAIC_calving_iceberg.nc dst 
     3860.5 0 
     387# CHECKOUT: indicate computation of global, land and sea field integrals. 
     388######################################################################### 
     389# 
     390# Field 26 : ice shelf melting (a->o 17) 
     391# 
     392COCALVIN OIcshelf  36 <freq_coupling_roff_calv>  3  icshf.nc  <output_mode> 
     393144 143 362 332 tlmd    torc  LAG=<lag_atm_roff_calv>  
     394P  0 P  2 
     395LOCTRANS MAPPING BLASNEW 
     396AVERAGE 
     397# CHECKIN: indicate computation of global, land and sea field integrals. 
     398# Interpolation method ou parametres mozaic 
     399rmp_tlmd_to_torc_MOSAIC_calving_iceshelf.nc dst 
     4000.5 0 
     401# CHECKOUT: indicate computation of global, land and sea field integrals. 
     402########################################################################## 
     403# 
     404# Field 27 : liquid run-off (river + direct)  (a->o 18) 
     405# 
     406COLIQRUN  O_Runoff 32 <freq_coupling_roff_calv>  4  flxat.nc   <output_mode> 
     407144 143 362 332 aone  torc  LAG=<lag_atm_roff_calv>  
     408P  0 P  2 
     409LOCTRANS MAPPING CONSERV BLASNEW 
     410AVERAGE 
    429411# Interpolation method ou parametres mozaic 
    430412# weights convert from kg/s to kg/m^2/s 
     
    433415GLOBAL bfb 
    434416# change units from m/s to kg/s 
    435 0.0 0 
    436 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    437  INT=1 
     4171000.0 0 
     418# CHECKOUT: indicate computation of global, land and sea field integrals. 
    438419# 
    439420######################################################################### 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/namcouple_ORCA1xLMD9695

    r2456 r3688  
    413413rmp_tlmd_to_torc_MOSAIC_calvin.nc src 
    414414# Set to ZERO \!/ 
    415 0.0 0 
     4151.0 0 
    416416# CHECKOUT: indicate computation of global, land and sea field integrals. 
    417417 INT=1 
     
    422422# 
    423423COLIQRUN  O_Runoff 32 <freq_coupling>  5  flxat.nc   <output_mode> 
    424 96 96 362 292 aone    otot  LAG=<lag_atm>  
     42496 96 362 292 aone torc  LAG=<lag_atm>  
    425425P  0 P  2 
    426426CHECKIN MAPPING CONSERV BLASNEW CHECKOUT 
     
    433433GLOBAL bfb 
    434434# change units from m/s to kg/s 
    435 0.0 0 
     4351000.0 0 
    436436# CHECKOUT: indicate computation of global, land and sea field integrals. 
    437437 INT=1 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/namcouple_ORCA2xLMD144142

    r2456 r3688  
    420420# 
    421421COLIQRUN  O_Runoff 32 <freq_coupling>  5  flxat.nc   <output_mode> 
    422 144 143 182 149 aone    otot  LAG=<lag_atm>  
     422144 143 182 149 aone torc  LAG=<lag_atm>  
    423423P  0 P  2 
    424424CHECKIN MAPPING CONSERV BLASNEW CHECKOUT 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/namcouple_ORCA2xLMD9695

    r2456 r3688  
    420420# 
    421421COLIQRUN  O_Runoff 32 <freq_coupling>  5  flxat.nc   <output_mode> 
    422 96 96 182 149 aone    otot  LAG=<lag_atm>  
     42296 96 182 149 aone torc  LAG=<lag_atm>  
    423423P  0 P  2 
    424424CHECKIN MAPPING CONSERV BLASNEW CHECKOUT 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/namelist_ORCA1_cfg

    r2456 r3688  
     1 
    12!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    23!! NEMO/OPA  Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_ref 
     
    67&namrun        !   parameters of the run 
    78!----------------------------------------------------------------------- 
    8    cn_exp      = "ORCA1"   !  AUTO - experience name 
    9    nn_it000    =       1   !  AUTO - first time step 
    10    nn_itend    =    5475   !  AUTO - last  time step (std 5475) 
    11    nn_date0    =  010101   !  AUTO - date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
    12    nn_leapy    =       0   !  AUTO - Leap year calendar (1) or not (0) 
    13    ln_rstart   = .false.   !  AUTO - start from rest (F) or from a restart file (T) 
    14    nn_rstctl   =       0   !  AUTO - restart control => activated only if ln_rstart = T 
     9   cn_exp      = _AUTOBLOCKER_    !  Experience name 
     10   nn_it000    = _AUTOBLOCKER_    !  First time step 
     11   nn_itend    = _AUTOBLOCKER_    !  Last  time step 
     12   nn_date0    = _AUTOBLOCKER_    !  Date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
     13   nn_leapy    = _AUTOBLOCKER_    !  Leap year calendar (1) or not (0) 
     14   ln_rstart   = _AUTOBLOCKER_    !  start from rest (F) or from a restart file (T) 
     15   ln_rstart_ts = _AUTOBLOCKER_   !  start from rest for current only (F) or from a restart file (T) 
     16   nn_rstctl   = _AUTOBLOCKER_    !  Restart control => activated only if ln_rstart = T 
    1517                           !    = 0 nn_date0 read in namelist ; nn_it000 : read in namelist 
    1618                           !    = 1 nn_date0 read in namelist ; nn_it000 : check consistancy between namelist and restart 
    1719                           !    = 2 nn_date0 read in restart  ; nn_it000 : check consistancy between namelist and restart 
    18    cn_ocerst_in  = "restartopa"   !  suffix of ocean restart name (input) 
    19    cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    20    nn_istate   =       0   !  output the initial state (1) or not (0) 
    21    nn_stock    =    5475   !  AUTO - frequency of creation of a restart file (modulo referenced to 1) 
    22    nn_write    =    5475   !  AUTO - frequency of write in the output file   (modulo referenced to nn_it000) 
     20   cn_ocerst_in  = "restartopa"   !  Suffix of ocean restart name (input) 
     21   cn_ocerst_indir = "."       !  directory from which to read input ocean restarts 
     22   cn_ocerst_out = "restart"      !  Suffix of ocean restart name (output) 
     23   cn_ocerst_outdir = "."      !  directory in which to write output ocean restarts 
     24   nn_istate   =       0   !  Output the initial state (1) or not (0) 
     25   nn_stock    =  _AUTOBLOCKER_   !  Frequency of creation of a restart file (modulo referenced to 1) 
     26   nn_write    =    5475   !  Requency of write in the output file   (modulo referenced to nn_it000) 
    2327   ln_mskland  = .true.    !  Masks land points in NetCDF outputs 
     28   ln_mskutil  = .true.    !  Outputs without halos 
     29   ln_cfmeta   = .true.    !  output additional data to netCDF files required for compliance with the CF metadata standard 
    2430/ 
    2531!----------------------------------------------------------------------- 
     
    2935   jp_cfg      =       1               !  resolution of the configuration 
    3036   jpidta      =     362               !  1st lateral dimension ( >= jpi ) 
    31    jpjdta      =     292               !  2nd    "         "    ( >= jpj ) 
     37   jpjdta      =     332               !  2nd    "         "    ( >= jpj ) 
    3238   jpkdta      =      75               !  number of levels      ( >= jpk ) 
    3339   jpiglo      =     362               !  1st dimension of global domain --> i =jpidta 
    34    jpjglo      =     292               !  2nd    -                  -    --> j  =jpjdta 
    35    jpizoom     =       1               !  left bottom (i,j) indices of the zoom 
    36    jpjzoom     =       1               !  in data domain indices 
     40   jpjglo      =     332               !  2nd    -                  -    --> j  =jpjdta 
    3741   jperio      =       6               !  lateral cond. type (between 0 and 6) 
    3842/ 
     
    4448&namzgr_sco    !   s-coordinate or hybrid z-s-coordinate 
    4549!----------------------------------------------------------------------- 
    46    rn_sbot_min =  300.     !  minimum depth of s-bottom surface (>0) (m) 
    47    rn_sbot_max = 5250.     !  maximum depth of s-bottom surface (= ocean depth) (>0) (m) 
    48    rn_theta    =    6.0    !  surface control parameter (0<=rn_theta<=20) 
    49    rn_thetb    =    0.75   !  bottom control parameter  (0<=rn_thetb<= 1) 
    50    rn_rmax     =    0.15   !  maximum cut-off r-value allowed (0<rn_max<1) 
    51    rn_bb       =    0.8    !  stretching with s-sigma 
    52    rn_hc       =  150.0    !  critical depth with s-sigma  
    5350/ 
    5451!----------------------------------------------------------------------- 
    5552&namdom        !   space and time domain (bathymetry, mesh, timestep) 
    5653!----------------------------------------------------------------------- 
    57    nn_msh      =    0      !  AUTO - create (=1) a mesh file or not (=0) 
    58    rn_rdt      = 3600.     !  time step for the dynamics (and tracer if nn_acc=0) 
    59    nn_closea    =   1      !  remove (=0) or keep (=1) closed seas and lakes (ORCA) 
     54    nn_closea    =   1      !  remove (=0) or keep (=1) closed seas and lakes (ORCA) 
    6055   ! 
    6156   jphgr_msh   =       0               !  type of horizontal mesh 
     
    7368   ppdzmin     =  999999.0             !  Minimum vertical spacing 
    7469   pphmax      =  999999.0             !  Maximum depth 
    75    ldbletanh   =   .TRUE.              !  Use/do not use double tanf function for vertical coordinates 
    7670   ppa2        =     100.7609285000000 !  Double tanh function parameters 
    7771   ppkth2      =      48.02989372000000    ! 
    7872   ppacr2      =      13.00000000000   ! 
    79    rn_hmin     =   20.  
     73   rn_rdt      = 2700.     !  time step for the dynamics (and tracer if nn_acc=0) 
     74   rn_hmin     =   20. 
     75   nn_msh      = _AUTO_    !  AUTO - Create (=1) a mesh file or not (=0) 
     76/ 
     77!----------------------------------------------------------------------- 
     78&namsplit        
     79!-----------------------------------------------------------------------  
     80   ln_bt_fw      =    .FALSE.          !  leap-frog integration of barotropic equations 
     81   ln_bt_av      =    .TRUE.           !  Time filtering of barotropic variables 
     82   ln_bt_nn_auto =    .TRUE.           !  Set nn_baro automatically to be just below 
     83                                       !  a user defined maximum courant number (rn_bt_cmax) 
     84   nn_baro       =    30               !  Number of iterations of barotropic mode 
     85                                       !  during rn_rdt seconds. Only used if ln_bt_nn_auto=F 
     86   rn_bt_cmax    =    0.8              !  Maximum courant number allowed if ln_bt_nn_auto=T  
     87   nn_bt_flt     =    1                !  Time filter choice 
     88                                       !  = 0 None 
     89                                       !  = 1 Boxcar over   nn_baro barotropic steps 
     90                                       !  = 2 Boxcar over 2*nn_baro     "         
    8091/ 
    8192!----------------------------------------------------------------------- 
     
    8798&namtsd    !   data : Temperature  & Salinity 
    8899!----------------------------------------------------------------------- 
    89    ln_tsd_init   = .true.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    90100   ln_tsd_tradmp = .false.  !  damping of ocean T & S toward T &S input data (T) or not (F) 
     101   sn_tem  = 'conservative_temperature_WOA13_decav_Reg1L75_clim', -1 ,'votemper' , .true. , .true. , 'yearly' , 'weights_3D_WOA13d1_2_eorca1_bilinear.nc'  ,   ''    ,    '' 
     102   sn_sal  = 'absolute_salinity_WOA13_decav_Reg1L75_clim'       , -1 ,'vosaline' , .true. , .true. , 'yearly' , 'weights_3D_WOA13d1_2_eorca1_bilinear.nc'  ,   ''    ,    '' 
    91103/ 
    92104!----------------------------------------------------------------------- 
    93105&namsbc        !   Surface Boundary Condition (surface module) 
    94106!----------------------------------------------------------------------- 
    95    nn_fsbc     = 6         !  frequency of surface boundary condition computation 
     107   nn_fsbc     =  2        !  frequency of surface boundary condition computation 
    96108                           !     (also = the frequency of sea-ice model call) 
    97109   ln_blk_core = .false.   !  CORE bulk formulation                     (T => fill namsbc_core) 
    98    ln_cpl      = .true.    !  Coupled formulation                       (T => fill namsbc_cpl ) 
    99    ln_apr_dyn  = .false.   !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr ) 
    100    nn_ice      = 2         !  =0 no ice boundary condition   , 
    101                            !  =1 use observed ice-cover      , 
    102                            !  =2 ice-model used                         ("key_lim3" or "key_lim2") 
    103    cn_iceflx   = 'linear'  !  AUTO -  
    104                            !  ="ave"    - Average flux over all ice categories ("key_lim3") 
    105                            !  ="linear" - Linear repartition of fluxes over ice categories ("key_lim3") 
    106    nn_ice_embd = 0         !  AUTO -  
     110   ln_cpl      = .true.    !  atmosphere coupled   formulation          ( requires key_oasis3 ) 
     111   nn_limflx =   2         !  LIM3 Multi-category heat flux formulation (use -1 if LIM3 is not used) 
     112                           !  =-1  Use per-category fluxes, bypass redistributor, forced mode only, not yet implemented coupled 
     113                           !  = 0  Average per-category fluxes (forced and coupled mode) 
     114                           !  = 1  Average and redistribute per-category fluxes, forced mode only, not yet implemented coupled 
     115                           !  = 2  Redistribute a single flux over categories (coupled mode only) 
     116   nn_ice_embd = 1         !  AUTO -  
    107117                           !  =0 levitating ice (no mass exchange, concentration/dilution effect) 
    108118                           !  =1 levitating ice with mass and salt exchange but no presure effect 
    109119                           !  =2 embedded sea-ice (full salt and mass exchanges and pressure) 
    110    ln_dm2dc    = .false.   !  daily mean to diurnal cycle on short wave 
    111120   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    112121   ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    113122   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    114                            !     =1 global mean of e-p-r set to zero at each time step 
    115 / 
     123   nn_isf      = 3         !  ice shelf melting/freezing                (/=0 => fill namsbc_isf) 
     124                           !  3 = rnf file for isf 
    116125!----------------------------------------------------------------------- 
    117126&namsbc_core   !   namsbc_core  CORE bulk formulae 
     
    121130&namtra_qsr    !   penetrative solar radiation 
    122131!----------------------------------------------------------------------- 
    123    nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
     132   sn_chl      ='merged_ESACCI_BIOMER4V1R1_CHL_REG05',  -1  , 'CHLA' , .true. , .true. , 'yearly' , 'weights_reg05_2_eorca1_bilinear.nc' , '' , '' 
     133   ln_traqsr   = .true.    !  Light penetration (T) or not (F) 
     134   ln_qsr_rgb  = .false.    !  RGB (Red-Green-Blue) light penetration 
     135   ln_qsr_2bd  = .false.   !  2 bands              light penetration 
     136   ln_qsr_bio  = .true.   !  bio-model light penetration 
    124137/ 
    125138!----------------------------------------------------------------------- 
    126139&namsbc_rnf    !   runoffs namelist surface boundary condition 
    127140!----------------------------------------------------------------------- 
     141!              !  file name           ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     142!              !                      !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     143   sn_rnf      = 'eORCA_R1_runoff_clim_v1.0_nomask',        -1         , 'sorunoff',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     144   sn_cnf      = 'eORCA_R1_runoff_clim_v1.0_nomask',         0         , 'socoeff' ,   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
     145   sn_s_rnf    = 'runoffs'                         ,        24         , 'rosaline',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     146   sn_t_rnf    = 'runoffs'                         ,        24         , 'rotemper',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     147   sn_dep_rnf  = 'runoffs_eORCA1.0_depths.nc'      ,         0         , 'rodepth' ,   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
     148 
     149   ln_rnf_mouth = .false.    !  specific treatment at rivers mouths 
     150   ln_rnf_depth = .true.     !  read in depth information for runoff 
     151   ln_rnf_tem   = .false.    !  read in temperature information for runoff 
     152   ln_rnf_sal   = .false.    !  read in salinity information for runoff 
     153   ln_rnf_depth_ini = .false.!  compute depth at initialisation from runoff file 
     154   rn_rnf_max   = 0.05       !  max value of the runoff climatology over global domain ( if ln_rnf_depth_ini = .true ) 
     155   rn_dep_max = 150.         !  depth over which runoffs is spread ( ln_rnf_depth_ini = .true ) 
     156   nn_rnf_depth_file =  _AUTO_   ! create (=1) a runoff depth file or not (=0) 
     157/ 
     158!----------------------------------------------------------------------- 
     159&namsbc_isf    !  Top boundary layer (ISF) 
     160!----------------------------------------------------------------------- 
     161!              ! file name ! frequency (hours) ! variable ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation ! 
     162!              !           !  (if <0  months)  !   name   !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  ! 
     163!              ! 
     164   sn_rnfisf     = 'runoff-icb_DaiTrenberth_Depoorter_eORCA1_JD.nc' ,   -12      ,'sornfisf',    .false.      , .true.  , 'yearly'  ,  ''      ,   '' 
     165   sn_depmax_isf = 'runoff-icb_DaiTrenberth_Depoorter_eORCA1_JD.nc' ,   -12      ,'sodepmax_isf' ,   .false.  , .true.  , 'yearly'  ,  ''      ,   '' 
     166   sn_depmin_isf = 'runoff-icb_DaiTrenberth_Depoorter_eORCA1_JD.nc' ,   -12      ,'sodepmin_isf' ,   .false.  , .true.  , 'yearly'  ,  ''      ,   '' 
     167/ 
     168!----------------------------------------------------------------------- 
     169&namsbc_apr    !   Atmospheric pressure used as ocean forcing or in bulk 
     170!----------------------------------------------------------------------- 
    128171/ 
    129172!----------------------------------------------------------------------- 
    130173&namsbc_ssr    !   surface boundary condition : sea surface restoring 
    131174!----------------------------------------------------------------------- 
     175!              !   file name  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation ! 
     176!              !              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  ! 
     177   sn_sss      = 'sss_absolute_salinity_WOA13_decav_Reg1L75_clim', -1. , 'sosaline', .true. , .true. , 'yearly' , 'weights_WOA13d1_2_eorca1_bilinear.nc' , '' 
    132178/ 
    133179!----------------------------------------------------------------------- 
    134180&namsbc_alb    !   albedo parameters 
    135181!----------------------------------------------------------------------- 
    136    rn_cloud    =    0.00   !  cloud correction to snow and ice albedo 
    137    rn_albice   =    0.5    !  albedo of melting ice in the arctic and antarctic 
    138    rn_alphd    =    0.80   !  coefficients for linear interpolation used to 
    139    rn_alphc    =    0.65   !  compute albedo between two extremes values 
    140    rn_alphdi   =    0.72   !  (Pyane, 1972) 
     182   nn_ice_alb   =    1   !  parameterization of ice/snow albedo 
     183                         !     0: Shine & Henderson-Sellers (JGR 1985), giving clear-sky albedo 
     184                         !     1: "home made" based on Brandt et al. (JClim 2005) and Grenfell & Perovich (JGR 2004), 
     185                         !        giving cloud-sky albedo 
     186   rn_alb_sdry  =  0.87  !  dry snow albedo         : 0.80 (nn_ice_alb = 0); 0.85 (nn_ice_alb = 1); obs 0.85-0.87 (cloud-sky) 
     187   rn_alb_smlt  =  0.82  !  melting snow albedo     : 0.65 ( '' )          ; 0.75 ( '' )          ; obs 0.72-0.82 ( '' ) 
     188   rn_alb_idry  =  0.65  !  dry ice albedo          : 0.72 ( '' )          ; 0.60 ( '' )          ; obs 0.54-0.65 ( '' ) 
     189   rn_alb_imlt  =  0.58  !  bare puddled ice albedo : 0.53 ( '' )          ; 0.50 ( '' )          ; obs 0.49-0.58 ( '' ) 
    141190/ 
    142191!----------------------------------------------------------------------- 
     
    162211sn_rcv_cal    =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   '' 
    163212sn_rcv_co2    =       'none'              ,    'no'    ,     ''      ,         ''          ,   '' 
    164 / 
     213sn_rcv_icb    =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   '' 
     214sn_rcv_isf    =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   '' 
     215 
    165216/ 
    166217!----------------------------------------------------------------------- 
    167218&namberg       !   iceberg parameters 
    168219!----------------------------------------------------------------------- 
     220      ln_icebergs              = .false. 
     221      ln_bergdia               = .false.              ! Calculate budgets 
     222      nn_verbose_level         = 0                    ! Turn on more verbose output if level > 0 
     223      nn_verbose_write         = 120                  ! Timesteps between verbose messages 
     224      nn_sample_rate           = 1                    ! Timesteps between sampling for trajectory storage 
     225                                                      ! Initial mass required for an iceberg of each class 
     226      rn_initial_mass          = 8.8e7, 4.1e8, 3.3e9, 1.8e10, 3.8e10, 7.5e10, 1.2e11, 2.2e11, 3.9e11, 7.4e11 
     227                                                      ! Proportion of calving mass to apportion to each class   
     228      rn_distribution          = 0.24, 0.12, 0.15, 0.18, 0.12, 0.07, 0.03, 0.03, 0.03, 0.02 
     229                                                      ! Ratio between effective and real iceberg mass (non-dim) 
     230                                                      ! i.e. number of icebergs represented at a point          
     231      rn_mass_scaling          = 2000, 200, 50, 20, 10, 5, 2, 1, 1, 1 
     232                                                      ! thickness of newly calved bergs (m) 
     233      rn_initial_thickness     = 40., 67., 133., 175., 250., 250., 250., 250., 250., 250. 
     234      rn_rho_bergs             = 850.                 ! Density of icebergs 
     235      rn_LoW_ratio             = 1.5                  ! Initial ratio L/W for newly calved icebergs 
     236      ln_operator_splitting    = .true.               ! Use first order operator splitting for thermodynamics 
     237      rn_bits_erosion_fraction = 0.                   ! Fraction of erosion melt flux to divert to bergy bits 
     238      rn_sicn_shift            = 0.                   ! Shift of sea-ice concn in erosion flux (0<sicn_shift<1) 
     239      ln_passive_mode          = .false.              ! iceberg - ocean decoupling    
     240      nn_test_icebergs         =   8                  ! Create test icebergs of this class (-1 = no) 
     241                                                      ! Put a test iceberg at each gridpoint in box (lon1,lon2,lat1,lat2) 
     242      !rn_test_box              = 108.0,  116.0, -66.0, -58.0 
     243      rn_test_box              = -180.0,  180.0,  70.0,  90.0     ! 
     244      rn_speed_limit           = 0.                   ! CFL speed limit for a berg    
     245 
     246!              ! file name ! frequency (hours) !   variable   ! time interp.   !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     247!              !           !  (if <0  months)  !     name     !   (logical)    !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
     248      sn_icb =  'calving' ,       -1           , 'calvingmask',  .true.        , .true.  , 'yearly'  , ''       , ''       , '' 
     249    
     250      cn_dir = './'  
    169251/ 
    170252!----------------------------------------------------------------------- 
     
    185267&nambbc        !   bottom temperature boundary condition 
    186268!----------------------------------------------------------------------- 
    187    ln_trabbc   = .false.   !  Apply a geothermal heating at the ocean bottom 
     269   sn_qgh      ='Goutorbe_ghflux.nc',  -12.  , 'gh_flux'    ,   .false.     , .true. , 'yearly'  , 'weights_Goutorbe1_2_eorca1_bilinear.nc'       , ''       , '' 
     270   ! 
     271   cn_dir      = './'      !  root directory for the location of the runoff files 
     272   nn_geoflx   =    2      !  geothermal heat flux: = 0 no flux 
    188273/ 
    189274!----------------------------------------------------------------------- 
     
    198283&namtra_adv    !   advection scheme for tracer 
    199284!----------------------------------------------------------------------- 
     285   ln_traadv_tvd    =  .true.   !  TVD scheme 
     286   ln_traadv_ubs    =  .false.  !  UBS scheme 
    200287/ 
    201288!----------------------------------------------------------------------- 
     
    210297&namtra_ldf    !   lateral diffusion scheme for tracers 
    211298!---------------------------------------------------------------------------------- 
    212    ln_traldf_grif   =  .true.   !  griffies skew flux formulation       (require "key_ldfslp") 
    213    ln_traldf_gdia   =  .true.   !  griffies operator strfn diagnostics  (require "key_ldfslp") 
    214    ln_botmix_grif   =  .true.   !  griffies operator with lateral mixing on bottom (require "key_ldfslp") 
     299   ln_traldf_grif   =  .false.   !  griffies skew flux formulation       (require "key_ldfslp") 
     300   ln_traldf_gdia   =  .false.   !  griffies operator strfn diagnostics  (require "key_ldfslp") 
     301   ln_botmix_grif   =  .false.   !  griffies operator with lateral mixing on bottom (require "key_ldfslp") 
    215302   rn_aht_0         =  1000.    !  horizontal eddy diffusivity for tracers [m2/s] 
    216303   rn_aeiv_0        =  1000.    !  eddy induced velocity coefficient [m2/s]    (require "key_traldf_eiv") 
     
    220307!----------------------------------------------------------------------- 
    221308   ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    222    nn_zdmp     =    1      !  vertical   shape =0    damping throughout the water column 
    223  
    224309/ 
    225310!----------------------------------------------------------------------- 
    226311&namdyn_adv    !   formulation of the momentum advection 
    227312!----------------------------------------------------------------------- 
     313   ln_dynadv_vec = .true.  !  vector form (T) or flux form (F) 
     314   ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
     315   ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
     316   nn_dynkeg     = 1       !  scheme for grad(KE): =0  C2  ; =1  Hollingsworth correction 
     317/ 
     318!----------------------------------------------------------------------- 
     319&nam_vvl    !   vertical coordinate options 
     320!----------------------------------------------------------------------- 
    228321/ 
    229322!----------------------------------------------------------------------- 
     
    234327&namdyn_hpg    !   Hydrostatic pressure gradient option 
    235328!----------------------------------------------------------------------- 
    236    ln_dynhpg_imp = .true.  !  time stepping: semi-implicit time scheme  (T) 
    237    ln_hpg_zps    = .false. !  z-coordinate - partial steps (interpolation) 
    238    ln_hpg_prj    = .true.  !  s-coordinate (Pressure Jacobian scheme) 
     329   ln_hpg_zps  = .false.   !  z-coordinate - partial steps (interpolation) 
     330   ln_hpg_sco  = .true.    !  s-coordinate (standard jacobian formulation) 
     331   !ln_hpg_isf  = .true.    !  s-coordinate (sco ) adapted to isf 
     332   ln_dynhpg_imp = .false. !  time stepping: semi-implicit time scheme  (T) 
     333                           !           centered      time scheme  (F) 
    239334/ 
    240335!----------------------------------------------------------------------- 
     
    250345&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  ("key_zdftke") 
    251346!----------------------------------------------------------------------- 
     347  nn_etau     = 0         !  penetration of tke below the mixed layer (ML) due to internal & intertial waves 
     348                          !    = 0 no penetration 
     349                          !    = 1 add a tke source below the ML 
     350                          !    = 2 add a tke source just at the base of the ML 
     351                          !    = 3 as = 1 applied on HF part of the stress    ("key_oasis3") 
     352  nn_mxl0     = 2         ! type of scaling under sea-ice 
     353                          !    = 0 no scaling under sea-ice 
     354                          !    = 1 scaling with constant sea-ice thickness 
     355                          !    = 2  scaling with mean sea-ice thickness 
     356                          !    = 3  scaling with maximum sea-ice thickness 
     357  rn_hice    = 10.        ! max constant ice thickness value when scaling under sea-ice ( nn_mxl0=1) 
     358  ln_lc      = .true.     !  Langmuir cell parameterisation (Axell 2002) 
     359  rn_lc      =  0.20      !  coef. associated to Langmuir cells 
    252360/ 
    253361!----------------------------------------------------------------------- 
     
    260368/ 
    261369!----------------------------------------------------------------------- 
     370&namzdf_tmx_new    !   new tidal mixing parameterization                ("key_zdftmx_new") 
     371!----------------------------------------------------------------------- 
     372   nn_zpyc     = 2         !  pycnocline-intensified dissipation scales as N (=1) or N^2 (=2) 
     373   ln_mevar    = .true.    !  variable (T) or constant (F) mixing efficiency 
     374   ln_tsdiff   = .true.    !  account for differential T/S mixing (T) or not (F) 
     375/ 
     376!----------------------------------------------------------------------- 
    262377&namsol        !   elliptic solver / island / free surface 
    263378!----------------------------------------------------------------------- 
     
    266381&nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi) 
    267382!----------------------------------------------------------------------- 
    268    jpni        =   1       !  jpni   number of processors following i (set automatically if < 1) 
    269    jpnj        =  29       !  jpnj   number of processors following j (set automatically if < 1) 
    270    jpnij       =  29       !  jpnij  number of local domains (set automatically if < 1) 
     383   ln_nnogather=  .true.   ! 
     384   jpni        =   22      !  jpni   number of processors following i (set automatically if < 1) 
     385   jpnj        =   22      !  jpnj   number of processors following j (set automatically if < 1) 
     386   jpnij       =  360      !  jpnij  number of local domains (set automatically if < 1), 360 for eORCA1/IPSLCM6-LR 
    271387/ 
    272388!----------------------------------------------------------------------- 
     
    277393&namptr       !   Poleward Transport Diagnostic 
    278394!----------------------------------------------------------------------- 
    279    ln_diaptr  = .false.     !  Poleward heat and salt transport (T) or not (F) 
    280    ln_diaznl  = .false.     !  Add zonal means and meridional stream functions 
    281    ln_subbas  = .false.     !  Atlantic/Pacific/Indian basins computation (T) or not 
     395   ln_diaptr  = .true.      !  Poleward heat and salt transport (T) or not (F) 
     396   ln_subbas  = .true.      !  Atlantic/Pacific/Indian basins computation (T) or not 
    282397                            !  (orca configuration only, need input basins mask file named "subbasins.nc" 
    283    ln_ptrcomp = .false.     !  Add decomposition : overturning 
    284    nn_fptr    =  1          !  Frequency of ptr computation [time step] 
    285    nn_fwri    =  15         !  AUTO - Frequency of ptr outputs [time step] 
    286 / 
    287 !----------------------------------------------------------------------- 
    288 &nam_asminc   !   assimilation increments                               ('key_asminc') 
    289 !----------------------------------------------------------------------- 
    290 / 
    291 !----------------------------------------------------------------------- 
    292 &namsbc_wave   ! External fields from wave model 
    293 !----------------------------------------------------------------------- 
    294398/ 
    295399!----------------------------------------------------------------------- 
    296400&namhsb       !  Heat and salt budgets 
    297401!----------------------------------------------------------------------- 
     402   ln_diahsb  = .true.   
    298403/ 
    299404!----------------------------------------------------------------------- 
     
    301406!----------------------------------------------------------------------- 
    302407/ 
     408!----------------------------------------------------------------------- 
     409&nam_vvl    !   vertical coordinate options 
     410!----------------------------------------------------------------------- 
     411/ 
     412!----------------------------------------------------------------------- 
     413&namzdf_gls                !   GLS vertical diffusion                   ("key_zdfgls") 
     414!----------------------------------------------------------------------- 
     415/ 
     416!----------------------------------------------------------------------- 
     417&namtrd        !   diagnostics on dynamics and/or tracer trends 
     418!              !       and/or mixed-layer trends and/or barotropic vorticity 
     419!----------------------------------------------------------------------- 
     420   ln_tra_trd  = .true.   ! (T) 3D tracer trend output 
     421/ 
     422!----------------------------------------------------------------------- 
     423&namsto       ! Stochastic parametrization of EOS 
     424!----------------------------------------------------------------------- 
     425/ 
  • CONFIG/UNIFORM/v6/IPSLCM6CHT/GENERAL/PARAM/namelist_ORCA2_cfg

    r2456 r3688  
    66&namrun        !   parameters of the run 
    77!----------------------------------------------------------------------- 
    8    cn_exp      =  "ORCA2"  !  AUTO - experience name 
    9    nn_it000    =       1   !  AUTO - first time step 
    10    nn_itend    =    5475   !  AUTO - last  time step (std 5475) 
    11    nn_date0    =  010101   !  AUTO - date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
    12    nn_leapy    =       0   !  AUTO - Leap year calendar (1) or not (0) 
    13    ln_rstart   = .false.   !  AUTO - start from rest (F) or from a restart file (T) 
    14    nn_rstctl   =       0   !  AUTO - restart control => activated only if ln_rstart = T 
     8   cn_exp      = _AUTOBLOCKER_    !  Experience name 
     9   nn_it000    = _AUTOBLOCKER_    !  First time step 
     10   nn_itend    = _AUTOBLOCKER_    !  Last  time step 
     11   nn_date0    = _AUTOBLOCKER_    !  Date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
     12   nn_leapy    = _AUTOBLOCKER_    ! Leap year calendar (1) or not (0) 
     13   ln_rstart   = _AUTOBLOCKER_    ! start from rest (F) or from a restart file (T) 
     14   nn_rstctl   = _AUTOBLOCKER_    !  Restart control => activated only if ln_rstart = T 
    1515                           !    = 0 nn_date0 read in namelist ; nn_it000 : read in namelist 
    1616                           !    = 1 nn_date0 read in namelist ; nn_it000 : check consistancy between namelist and restart 
    1717                           !    = 2 nn_date0 read in restart  ; nn_it000 : check consistancy between namelist and restart 
    18    cn_ocerst_in  = "restartopa"   !  suffix of ocean restart name (input) 
    19    cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
    20    nn_istate   =       0   !  output the initial state (1) or not (0) 
    21    nn_stock    =    5475   !  AUTO - frequency of creation of a restart file (modulo referenced to 1) 
    22    nn_write    =    5475   !  AUTO - frequency of write in the output file   (modulo referenced to nn_it000) 
     18   cn_ocerst_in  = "restartopa"   !  Suffix of ocean restart name (input) 
     19   cn_ocerst_indir = "."       !  directory from which to read input ocean restarts 
     20   cn_ocerst_out = "restart"      !  Suffix of ocean restart name (output) 
     21   cn_ocerst_outdir = "."      !  directory in which to write output ocean restarts 
     22   nn_istate   =       0   !  Output the initial state (1) or not (0) 
     23   nn_stock    =  _AUTOBLOCKER_   !  Frequency of creation of a restart file (modulo referenced to 1) 
     24   nn_write    =    5475   !  Requency of write in the output file   (modulo referenced to nn_it000) 
    2325   ln_mskland  = .true.    !  Masks land points in NetCDF outputs 
     26   ln_mskutil  = .false.    !  Outputs without halos 
     27   ln_dimgnnn  = .false.   !  DIMG file format: 1 file for all processors (F) or by processor (T) 
     28   ln_cfmeta   = .false.   !  output additional data to netCDF files required for compliance with the CF metadata standard 
     29   ln_clobber  = .true.    !  clobber (overwrite) an existing file 
     30   nn_chunksz  =       0   !  chunksize (bytes) for NetCDF file (works only with iom_nf90 routines) 
    2431/ 
    2532!----------------------------------------------------------------------- 
     
    4451&namdom        !   space and time domain (bathymetry, mesh, timestep) 
    4552!----------------------------------------------------------------------- 
    46    nn_msh      =    0      !  AUTO - create (=1) a mesh file or not (=0) 
     53   nn_msh      =    _AUTO_ !  AUTO - create (=1) a mesh file or not (=0) 
    4754   rn_rdt      = 5760.     !  time step for the dynamics (and tracer if nn_acc=0) 
    4855   nn_closea    =   1      !  remove (=0) or keep (=1) closed seas and lakes (ORCA) 
     
    8794   nn_fsbc     = 5         !  frequency of surface boundary condition computation 
    8895                           !     (also = the frequency of sea-ice model call) 
     96   ln_blk_clio = .false.   !  CLIO bulk formulation                     (T => fill namsbc_clio) 
    8997   ln_blk_core = .false.   !  CORE bulk formulation                     (T => fill namsbc_core) 
    90    ln_cpl      = .true.    !  Coupled formulation                       (T => fill namsbc_cpl ) 
     98   ln_blk_mfs  = .false.   !  MFS bulk formulation                      (T => fill namsbc_mfs ) 
     99   ln_cpl      = .true.    !  atmosphere coupled   formulation          ( requires key_oasis3 ) 
     100   ln_mixcpl   = .false.   !  forced-coupled mixed formulation          ( requires key_oasis3 ) 
    91101   ln_apr_dyn  = .false.   !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr ) 
    92102   nn_ice      = 2         !  =0 no ice boundary condition   , 
    93103                           !  =1 use observed ice-cover      , 
    94104                           !  =2 ice-model used                         ("key_lim3" or "key_lim2") 
    95    cn_iceflx   = 'linear'  !  AUTO -  
    96                            !  ="ave"    - Average flux over all ice categories ("key_lim3") 
    97                            !  ="linear" - Linear repartition of fluxes over ice categories ("key_lim3") 
    98105   nn_ice_embd = 0         !  AUTO -  
    99106                           !  =0 levitating ice (no mass exchange, concentration/dilution effect) 
     
    118125&namtra_qsr    !   penetrative solar radiation 
    119126!----------------------------------------------------------------------- 
     127!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim&