Ignore:
Timestamp:
03/09/23 17:02:01 (16 months ago)
Author:
acosce
Message:

Merge between ICOLMDZOR and ICOLMDZORINCA

  • add in ICOLMDZOR possibility to nudge winds on experiments like it's done in regular configurations (flag ok_guide in dynamico.card ant not any more in lmdz.card)
  • uniformisation in ICOLMDZORINCA of monitoring.cfg files names
  • take in ICOLMDZORINCA modification of surface parameters
  • add in ICOLMDZOR management of nbtrac from dynamico.driver
  • add in ICOLMDZORINCA parameter for co2_ppm0
Location:
CONFIG/UNIFORM/v7/ICOLMDZOR_v7
Files:
1 added
14 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/CREATE_amip/COMP/lmdz.card

    r6290 r6337  
    7373        (${SUBMIT_DIR}/PARAM/config.def_actuel     ,  config.def),    \ 
    7474        (${SUBMIT_DIR}/PARAM/run.def, .), \ 
    75         (${SUBMIT_DIR}/PARAM/guide.def, .), \ 
    7675        (${SUBMIT_DIR}/PARAM/tracer.def, .) 
    7776 
     
    8079 
    8180[OutputText] 
    82 List=   (physiq.def, gcm.def, vert.def, run.def, config.def, tracer.def, guide.def, context_lmdz.xml, context_input_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml) 
     81List=   (physiq.def, gcm.def, vert.def, run.def, config.def, tracer.def, context_lmdz.xml, context_input_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml) 
    8382 
    8483[OutputFiles] 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/CREATE_hadisst/COMP/lmdz.card

    r6290 r6337  
    7373        (${SUBMIT_DIR}/PARAM/config.def_actuel     ,  config.def),    \ 
    7474        (${SUBMIT_DIR}/PARAM/run.def, .), \ 
    75         (${SUBMIT_DIR}/PARAM/guide.def, .), \ 
    7675        (${SUBMIT_DIR}/PARAM/tracer.def, .) 
    7776 
     
    8079 
    8180[OutputText] 
    82 List=   (physiq.def, gcm.def, vert.def, run.def, config.def, tracer.def, guide.def, context_lmdz.xml, context_input_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml) 
     81List=   (physiq.def, gcm.def, vert.def, run.def, config.def, tracer.def, context_lmdz.xml, context_input_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml) 
    8382 
    8483[OutputFiles] 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/clim_noleap/COMP/dynamico.card

    r4607 r6337  
    1313iflag_phys=1 
    1414 
     15# Nugding : ok_guide=y/n 
     16# If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below  
     17ok_guide=n 
     18 
    1519 
    1620[InitialStateFiles] 
     
    2125List=() 
    2226ListNonDel= () 
     27 
     28#uncomment if you are running in nudge mode 
     29#List=($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/u.${year}${month}.aphe5.GLOBAL_025.nc, u.nc),\ 
     30#     ($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/v.${year}${month}.aphe5.GLOBAL_025.nc, v.nc) 
    2331 
    2432[SmoothFiles] 
     
    3341        (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ 
    3442        (${MODIPSL}/modeles/DYNAMICO/xml/field_def_dynamico.xml, .),\ 
    35         (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .) 
     43        (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .),\ 
     44        (${SUBMIT_DIR}/PARAM/nudging_dynamico.xml, .) 
    3645 
    3746 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/clim_noleap/COMP/lmdz.card

    r6290 r6337  
    2222# Set tau_gl depending on the forcing file for the sea-ice (use 2. for amip and 1. for hadisst) 
    2323tau_gl=2. 
    24  
    25 # Nugding : ok_guide=y/n 
    26 # If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below. 
    27 ok_guide=n 
    2824 
    2925 
     
    7672        (${MODIPSL}/modeles/LMDZ/DefLists/cosp_output_nl.txt, .),           \ 
    7773        (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),          \ 
    78         (${SUBMIT_DIR}/PARAM/guide.def, .),                                 \ 
    7974        (${SUBMIT_DIR}/PARAM/run.def, .),                                   \ 
    8075        (${SUBMIT_DIR}/PARAM/tracer.def, .),                               \ 
     
    10297 
    10398[OutputText] 
    104 List=   (physiq.def, run.def, tracer.def, guide.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
     99List=   (physiq.def, run.def, tracer.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
    105100 
    106101[OutputFiles] 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZOR/clim_noleap/COMP/dynamico.card

    r6280 r6337  
    1313iflag_phys=1 
    1414 
     15# Nugding : ok_guide=y/n 
     16# If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below. 
     17ok_guide=n 
     18 
    1519 
    1620[InitialStateFiles] 
     
    2125List=() 
    2226ListNonDel= () 
     27 
     28#uncomment if you are running in nudge mode 
     29#List=($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/u.${year}${month}.aphe5.GLOBAL_025.nc, u.nc),\ 
     30#     ($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/v.${year}${month}.aphe5.GLOBAL_025.nc, v.nc) 
     31 
    2332 
    2433[SmoothFiles] 
     
    3342        (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ 
    3443        (${MODIPSL}/modeles/DYNAMICO/xml/field_def_dynamico.xml, .),\ 
    35         (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .) 
     44        (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .),\ 
     45        (${SUBMIT_DIR}/PARAM/nudging_dynamico.xml, .) 
    3646 
    3747 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZOR/clim_noleap/COMP/lmdz.card

    r6290 r6337  
    2222# Set tau_gl depending on the forcing file for the sea-ice (use 2. for amip and 1. for hadisst) 
    2323tau_gl=2. 
    24  
    25 # Nugding : ok_guide=y/n 
    26 # If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below. 
    27 ok_guide=n 
    2824 
    2925 
     
    7672        (${MODIPSL}/modeles/LMDZ/DefLists/cosp_output_nl.txt, .),           \ 
    7773        (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),          \ 
    78         (${SUBMIT_DIR}/PARAM/guide.def, .),                                 \ 
    7974        (${SUBMIT_DIR}/PARAM/run.def, .),                                   \ 
    8075        (${SUBMIT_DIR}/PARAM/tracer.def, .),                                \ 
     
    10297 
    10398[OutputText] 
    104 List=   (physiq.def, run.def, tracer.def, guide.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
     99List=   (physiq.def, run.def, tracer.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
    105100 
    106101[OutputFiles] 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZOR/highresmip/COMP/dynamico.card

    r4607 r6337  
    1313iflag_phys=1 
    1414 
     15# Nugding : ok_guide=y/n 
     16# If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below  
     17ok_guide=n 
    1518 
    1619[InitialStateFiles] 
     
    2124List=() 
    2225ListNonDel= () 
     26 
     27#uncomment if you are running in nudge mode 
     28#List=($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/u.${year}${month}.aphe5.GLOBAL_025.nc, u.nc),\ 
     29#     ($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/v.${year}${month}.aphe5.GLOBAL_025.nc, v.nc) 
    2330 
    2431[SmoothFiles] 
     
    3340        (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ 
    3441        (${MODIPSL}/modeles/DYNAMICO/xml/field_def_dynamico.xml, .),\ 
    35         (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .) 
     42        (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .),\ 
     43        (${SUBMIT_DIR}/PARAM/nudging_dynamico.xml, .) 
    3644 
    3745 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZOR/highresmip/COMP/lmdz.card

    r6290 r6337  
    2424tau_gl=1. 
    2525 
    26 # Nugding : ok_guide=y/n 
    27 # If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below. 
    28 ok_guide=n 
    2926 
    3027 
     
    8178        (${MODIPSL}/modeles/LMDZ/DefLists/cosp_output_nl.txt, .),           \ 
    8279        (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),          \ 
    83         (${SUBMIT_DIR}/PARAM/guide.def, .),                                 \ 
    8480        (${SUBMIT_DIR}/PARAM/run.def, .),                                   \ 
    8581        (${SUBMIT_DIR}/PARAM/tracer.def, .),                               \ 
     
    107103 
    108104[OutputText] 
    109 List=   (physiq.def, run.def, tracer.def, guide.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
     105List=   (physiq.def, run.def, tracer.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
    110106 
    111107[OutputFiles] 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZOR/highresmip_CMIP6/COMP/dynamico.card

    r4607 r6337  
    1313iflag_phys=1 
    1414 
     15# Nugding : ok_guide=y/n 
     16# If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below  
     17ok_guide=n 
     18 
    1519 
    1620[InitialStateFiles] 
     
    2125List=() 
    2226ListNonDel= () 
     27 
     28#uncomment if you are running in nudge mode 
     29#List=($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/u.${year}${month}.aphe5.GLOBAL_025.nc, u.nc),\ 
     30#     ($CCCSTOREDIR/../../subipsl/subipsl/ERA5/NETCDF/GLOBAL_025/4xdaily/AN_PL/${year}/v.${year}${month}.aphe5.GLOBAL_025.nc, v.nc) 
    2331 
    2432[SmoothFiles] 
     
    3341        (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ 
    3442        (${MODIPSL}/modeles/DYNAMICO/xml/field_def_dynamico.xml, .),\ 
    35         (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .) 
     43        (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .),\ 
     44        (${SUBMIT_DIR}/PARAM/nudging_dynamico.xml, .) 
    3645 
    3746 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZOR/highresmip_CMIP6/COMP/lmdz.card

    r6290 r6337  
    2424tau_gl=1. 
    2525 
    26 # Nugding : ok_guide=y/n 
    27 # If ok_guide=y, add nudging files(u.nc, v.nc, hur.nc,...) in BoundaryFiles section below. 
    28 ok_guide=n 
    29  
    3026 
    3127# Specify which output file to activate and at which output_level 
     
    8278        (${MODIPSL}/modeles/LMDZ/DefLists/cosp_output_nl.txt, .),           \ 
    8379        (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),          \ 
    84         (${SUBMIT_DIR}/PARAM/guide.def, .),                                 \ 
    8580        (${SUBMIT_DIR}/PARAM/run.def, .),                                   \ 
    8681        (${SUBMIT_DIR}/PARAM/tracer.def, .),                               \ 
     
    109104 
    110105[OutputText] 
    111 List=   (physiq.def, run.def, tracer.def, guide.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
     106List=   (physiq.def, run.def, tracer.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 
    112107 
    113108[OutputFiles] 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/dynamico.driver

    r6280 r6337  
    2424 
    2525 
     26    if [ -f ${SUBMIT_DIR}/../../../bin/inca_${OptMode}_${ConfChem}.dat ];  then  
     27        eval $(grep nbtrac ${SUBMIT_DIR}/../../../bin/inca_${OptMode}_${ConfChem}.dat) || nbtrac=1 
     28    else 
     29        nbtrac=1 
     30    fi 
     31    ((nbtrac=nbtrac+3)) 
     32 
     33 
    2634    if [ ! -f ${SUBMIT_DIR}/../../../modeles/DYNAMICO/xml/file_def_dynamico.xml ];  then  
    2735        module load python3 
    2836        python3 ${SUBMIT_DIR}/../../../modeles/DYNAMICO/xml/file_def_dynamico.xml.py > ${SUBMIT_DIR}/../../../modeles/DYNAMICO/xml/file_def_dynamico.xml 
    2937    fi 
    30  
    3138 
    3239    IGCM_debug_PopStack "ICO_Initialize" 
     
    4552    fi 
    4653 
     54    # set number of tracer in run_dynamico.def  
     55    IGCM_comp_modifyDefFile nonblocker run_dynamico.def nqtot ${nbtrac} 
     56 
    4757    # Set lenght for execution  
    4858    IGCM_comp_modifyDefFile blocker run_dynamico.def run_length $(( ${PeriodLengthInDays} * 86400 )) 
     59 
     60    #  Activate nudging if ok_guide=y set in dynamico.card 
     61    if [  X${dynamico_UserChoices_ok_guide} = Xy ] ; then 
     62        IGCM_comp_modifyDefFile nonblocker run_dynamico.def guided_type  nudging 
     63    else 
     64        IGCM_comp_modifyDefFile nonblocker run_dynamico.def guided_type  none 
     65    fi 
    4966 
    5067    # Change run_dynamico.def according to UserChoices options set in dynmaico.card 
     
    98115    fi 
    99116 
     117    if [ -f tracers_dynamico.xml ] ; then 
     118        echo '<context id="icosagcm" src="./tracers_dynamico.xml" />'  >> add.tmp 
     119    fi 
     120 
     121    if [  X${dynamico_UserChoices_ok_guide} = Xy ] ; then 
     122        if [ -f nudging_dynamico.xml ] ; then 
     123            echo '<context id="icosagcm" src="./nudging_dynamico.xml" />'  >> add.tmp 
     124        else 
     125            IGCM_debug_Exit "you choose ok_guide=y and forget to add the copy of nudging_dynamico.xml file in dynamico.card" 
     126            IGCM_debug_Verif_Exit 
     127        fi 
     128    fi 
     129 
     130    if [ -f file_def_dynamico.xml ] ; then 
     131        echo '<context id="icosagcm" src="./file_def_dynamico.xml" />' >> add.tmp 
     132    fi  
     133 
     134 
    100135    # Include xml files for output configuration if running with workflow CMIP6 
    101136    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     
    121156      rm add.tmp 
    122157    fi 
     158 
     159    #remove unlimited time axis on winds files  
     160    if [ -f u.nc ] ; then  
     161        nccopy -u u.nc tmp.nc 
     162        mv tmp.nc u.nc 
     163    fi  
     164    if [ -f v.nc ] ; then  
     165        nccopy -u v.nc tmp.nc 
     166        mv tmp.nc v.nc 
     167    fi  
     168 
    123169 
    124170    if [ X${config_ListOfComponents_CPL} = Xoasis ] ; then 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/lmdz.driver

    r6290 r6337  
    3131        RESOL_ATM_Z=${dynamico_UserChoices_RESOL_ATM_Z} 
    3232        RESOL_NBP=${dynamico_UserChoices_RESOL_NBP} 
    33     RESOL_ATM="nbp${RESOL_NBP}" 
     33        RESOL_ATM="nbp${RESOL_NBP}" 
    3434    fi 
    3535 
     
    382382    fi 
    383383 
    384     if [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ; then 
    385     echo "ESM config, with INCA and CO2i, set type_trac=inco in run.def" 
    386     IGCM_comp_modifyDefFile blocker run.def type_trac inco 
    387     IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
    388     elif [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
     384    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    389385        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    390386        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
     
    399395        IGCM_comp_modifyDefFile blocker run.def type_trac co2i 
    400396        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    401     IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
     397        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
    402398    elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
    403399        echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 
     
    405401        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    406402        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
     403    elif [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ; then 
     404        echo "ESM config, with INCA and CO2i, set type_trac=inco in run.def" 
     405        IGCM_comp_modifyDefFile blocker run.def type_trac inco 
     406        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
    407407    else 
    408408        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/run_dynamico.def_nbp40

    r5479 r6337  
     1metric_type = icosa_global 
     2 
     3#---------------- guided ---------------- 
     4#guided_type = none 
     5guided_type = _AUTO_ 
     6#nudging 
     7#frequence de lecture dans fichier forcage / coller a frequence du fichier par rapport à dt 
     8# toutes les 6h  
     9itau_nudging = 48 
     10 
     11nudging_zone = global 
     12 
     13 
     14#temps relaxation en secondes = force de rappel (voir dissip/nudging.f90)  >= dt 
     15U_relax_in=21600 
     16PS_relax_in=1e30 
     17T_relax_in=1e30 
     18Q_relax_in=1e30 
     19 
     20#guide_U = u, v  
     21guide_U=y 
     22 
     23# -------------------------------  --------------------------------- 
     24 
    125mpi_threading_mode=funneled 
    226# ------------------------------- Mesh --------------------------------- 
     
    4266# ---------------------------------- Misc -------------------------------- 
    4367# number of tracer (nqtot) : integer (default 1) 
    44 nqtot=4 
     68nqtot=_AUTO_: DEFAULT=4 
    4569 
    4670 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/run_dynamico.def_nbp80

    r5479 r6337  
    4242# ---------------------------------- Misc -------------------------------- 
    4343# number of tracer (nqtot) : integer (default 1) 
    44 nqtot=4 
     44nqtot=_AUTO_: DEFAULT=4 
    4545 
    4646 
Note: See TracChangeset for help on using the changeset viewer.