Ignore:
Timestamp:
11/22/10 18:13:58 (14 years ago)
Author:
jgipsl
Message:

Dev config LMDZOR_v4 :

Towards possibility to run LMDZOR experience as climate or AMIP
interannuel experience. All PARAM/*def and COMP/*driver are the same. To
switch change lmdz.card and orchidee.card.

  • Modified following parameters from lmdz.card and orchidee.card : VEGET_UPDATE, LAND_COVER_CHANGE, ok_guide, pmagic, aer_type
  • Added orchidee.card_AMIP, lmdz.card_AMIP : copied from AMIP/COMP
  • Uniformized lmdz.driver and orchidee.driver with functionality from AMIP experience
  • orchidee.driver : added function SRF_PeriodStart, desactaivate river routing for high resolution (280x280x39)
  • lmdz.driver : added lecture of GHG forcing files if they exist (if added in lmdz.card), desactivated fft filter in case of resolution

280x280x39 which contains zoom, added test if Bands file exist
(LMDZ_Bands_file_name)

  • lmdz.card : take climoz_LMDZ.nc file from CREATE run instead of AR5/HISTORIQUE/climoz_LMDZ_1995.nc
Location:
CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR
Files:
8 edited
2 copied

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/lmdz.card

    r1095 r1203  
    3333LMDZ_NMC_hf=y 
    3434 
     35# Other specific parameters to this experience  
     36aer_type=actuel 
     37pmagic=0.008 
     38 
     39# Nugding : ok_guide=y/n 
     40ok_guide=n 
     41 
    3542[InitialStateFiles] 
    3643List= (${R_OUT}/${config_UserChoices_TagName}/${CREATE}/ATM/Output/Restart/${CREATE}_clim_start.nc,    start.nc) \ 
     
    4249# With AR5 ozone(tropo + strato from LMDZOR-INCA-REPROBUS simulations) 
    4350ListNonDel= (${R_OUT}/${config_UserChoices_TagName}/${CREATE}/ATM/Output/Boundary/${CREATE}_clim_limit.nc, limit.nc),\ 
    44             (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/climoz_LMDZ_1995.nc, climoz_LMDZ.nc),\ 
     51            (${R_OUT}/${config_UserChoices_TagName}/${CREATE}/ATM/Output/Boundary/${CREATE}_climoz_LMDZ.nc, climoz_LMDZ.nc),\ 
    4552            (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/aerosols_11YearsClim_1995.nc, aerosols1980.nc),\ 
    4653            (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/aerosols_11YearsClim_1860.nc, aerosols.nat.nc) 
     
    5158        (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                .),    \ 
    5259        (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,               .),    \ 
     60        (${SUBMIT_DIR}/PARAM/guide.def, .), \ 
    5361        (${SUBMIT_DIR}/PARAM/run.def, .), \ 
    5462        (${SUBMIT_DIR}/PARAM/traceur.def, .) 
     
    5967 
    6068[OutputText] 
    61 List=   (physiq.def, gcm.def, run.def, traceur.def, used_run.def, lmdz.x.prt) 
     69List=   (physiq.def, gcm.def, run.def, traceur.def, guide.def, used_run.def, lmdz.x.prt) 
    6270 
    6371[OutputFiles] 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/lmdz.card_AMIP

    r1195 r1203  
    3232LMDZ_NMC_daily=y 
    3333LMDZ_NMC_hf=y 
     34 
     35# Other specific parameters to this experience  
     36aer_type=annuel 
     37pmagic=0.0 
     38 
     39# Nugding : ok_guide=y/n 
     40ok_guide=n 
    3441 
    3542[InitialStateFiles] 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/lmdz.driver

    r1095 r1203  
    148148    if [ ${CumulPeriod} -eq 1 ] ; then 
    149149        if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 
    150             IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ; IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
    151             IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0 
    152             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" 
     150            if [ ! X${LMDZ_Bands_file_name} = X] ; then 
     151                IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ; IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
     152                IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0 
     153                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" 
     154            fi 
    153155        fi 
    154156    fi 
     
    176178    LMDZ_sed physiq.def ok_histNMC  "${LMDZ_NMC_monthly}, ${LMDZ_NMC_daily}, ${LMDZ_NMC_hf}" 
    177179 
     180    ##-- GHG forcing for the current year if forcing file is availible 
     181    if [ -f SOLARANDVOLCANOES_1610_2008.txt ] ; then 
     182        IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES_1610_2008.txt | awk -F= '{print $2}'` 
     183        LMDZ_sed physiq.def solaire     ${IPCC_SOLAR} 
     184    fi 
     185    if [ -f CO2_1765_2005.txt ] ; then 
     186        IPCC_CO2=`grep Annee_${year} CO2_1765_2005.txt | awk -F= '{print $2}'` 
     187        LMDZ_sed physiq.def co2_ppm     ${IPCC_CO2} 
     188    fi 
     189    if [ -f CH4_1765_2005.txt ] ; then 
     190        IPCC_CH4=`grep Annee_${year} CH4_1765_2005.txt | awk -F= '{print $2}'` 
     191        LMDZ_sed physiq.def CH4_ppb     ${IPCC_CH4} 
     192    fi 
     193    if [ -f N2O_1765_2005.txt ] ; then 
     194        IPCC_N2O=`grep Annee_${year} N2O_1765_2005.txt | awk -F= '{print $2}'` 
     195        LMDZ_sed physiq.def N2O_ppb     ${IPCC_N2O} 
     196    fi 
     197    if [ -f CFC11_1765_2005.txt ] ; then 
     198        IPCC_CFC11=`grep Annee_${year} CFC11_1765_2005.txt | awk -F= '{print $2}'` 
     199        LMDZ_sed physiq.def CFC11_ppt   ${IPCC_CFC11} 
     200    fi 
     201    if [ -f CFC12_1765_2005.txt ] ; then 
     202        IPCC_CFC12=`grep Annee_${year} CFC12_1765_2005.txt | awk -F= '{print $2}'` 
     203        LMDZ_sed physiq.def CFC12_ppt   ${IPCC_CFC12} 
     204    fi 
     205 
     206    ## Other specific parameters to this experience  
     207    if [ ! X${lmdz_UserChoices_aer_type} = X ] ; then 
     208        LMDZ_sed physiq.def aer_type ${lmdz_UserChoices_aer_type} 
     209    fi 
     210    if [ ! X${lmdz_UserChoices_pmagic} = X ] ; then 
     211        LMDZ_sed physiq.def pmagic   ${lmdz_UserChoices_pmagic} 
     212    fi 
     213 
     214    if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     215        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     216    fi 
     217 
    178218    ## gcm.def parameters : no change since gcm.def_${RESOL_ATM_3D} is used and already modified 
    179219 
     
    186226    LMDZ_sed run.def periodav ${LMDZ_periodav} 
    187227    LMDZ_sed run.def adjust   ${LMDZ_adjust} 
     228 
     229# No filtre fft in case of zoom, 280x280x39 contains zoom 
     230    [ ${RESOL_ATM_3D} = "280x280x39" ] && LMDZ_sed run.def use_filtre_fft n 
    188231 
    189232    ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/orchidee.card

    r1095 r1203  
    55NEWHYDROL=n 
    66sechiba_LEVEL=11 
     7VEGET_UPDATE=0Y 
     8LAND_COVER_CHANGE=n 
    79 
    810[InitialStateFiles] 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/orchidee.card_AMIP

    r1195 r1203  
    55NEWHYDROL=n 
    66sechiba_LEVEL=11 
     7VEGET_UPDATE=1Y 
     8LAND_COVER_CHANGE=y 
    79 
    810[InitialStateFiles] 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/orchidee.driver

    r1095 r1203  
    3131 
    3232    IGCM_debug_PopStack "SRF_Initialize" 
     33} 
     34 
     35#----------------------------------------------------------------- 
     36function SRF_PeriodStart 
     37{ 
     38 
     39    IGCM_debug_PushStack "SRF_PeriodStart" 
     40    if [ ${year} -gt 2004 ] ; then 
     41 
     42        PFTmap="${R_BC}/SRF/${config_UserChoices_TagName}/ORCHIDEE_PFTmap_2006to2100_AR5_RCP8.5_MESSAGE.nc" 
     43        if [ ${year} -eq 2005 ] ; then 
     44            IGCM_sys_Rm -f PFTmap.nc 
     45        fi 
     46 
     47    else 
     48        PFTmap="${R_BC}/SRF/${config_UserChoices_TagName}/PFTmap_1850to2005_AR5_LUHa.rc2.nc" 
     49    fi 
     50 
     51    BC_SRF_PFTmap=${PFTmap} 
     52 
     53    IGCM_debug_PopStack "SRF_PeriodStart" 
     54 
    3355} 
    3456 
     
    87109    esac 
    88110 
     111    # Dans le cas de test : 
     112#    if [ ${year} -eq 1979 ] ; then 
     113#       ORCHIDEE_sed VEGET_REINIT y 
     114#       ORCHIDEE_sed VEGET_YEAR 131 
     115#    fi 
     116#     
     117#    # Dans le cas historique : 
     118#    if [ ${year} -eq 2005 ] ; then 
     119#       ORCHIDEE_sed VEGET_REINIT y 
     120#       ORCHIDEE_sed VEGET_YEAR 1 
     121##      ORCHIDEE_sed VEGET_UPDATE '0Y' 
     122#    fi 
     123 
     124#     # Dans le cas sans changement de carte aprÚs 2005  
     125#     if [ ${year} -gt 2005 ] ; then 
     126#       ORCHIDEE_sed VEGET_UPDATE '0Y' 
     127#     fi 
     128  
    89129    ORCHIDEE_sed HYDROL_CWRR ${orchidee_UserChoices_NEWHYDROL} 
    90130 
     
    99139    if ( [ ${CumulPeriod} -ne 1 ] || [ "${config_SRF_Restart}" != "n" ] ) ; then 
    100140        ORCHIDEE_sed SECHIBA_restart_in sechiba_rest_in.nc 
     141    fi 
     142 
     143# Desactaivate river routing for high resolution 
     144    if ( [ ${RESOL_ATM_3D} = "280x280x39" ] ) ; then 
     145        ORCHIDEE_sed  RIVER_ROUTING n 
     146    fi 
     147 
     148# Parameters set in orchidee.card 
     149    if [ ! X${orchidee_UserChoices_VEGET_UPDATE} = X ] ; then 
     150        ORCHIDEE_sed VEGET_UPDATE   ${orchidee_UserChoices_VEGET_UPDATE} 
     151    fi 
     152    if [ ! X${orchidee_UserChoices_LAND_COVER_CHANGE} = X ] ; then 
     153        ORCHIDEE_sed LAND_COVER_CHANGE ${orchidee_UserChoices_LAND_COVER_CHANGE} 
    101154    fi 
    102155 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/PARAM/gcm.def_280x280x39

    r1190 r1203  
    2626## choix du shema d'integration temporelle (Matsuno ou Matsuno-leapfrog)  
    2727purmats=n 
    28 #guidage ou pas ok_guide=.true. 
    29 ok_guide=y 
    3028## avec ou sans physique                                                  
    3129physic=y 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/PARAM/guide.def

    r1190 r1203  
     1# ok_guide=y : guidage active 
     2ok_guide=xxx 
     3# 
    14guide_u= y 
    25guide_v= y 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/PARAM/orchidee.def

    r1095 r1203  
    743743# The veget datas will be update each this time step. 
    744744# If LAND_USE 
    745 VEGET_UPDATE = 0Y 
     745VEGET_UPDATE = XY 
    746746# default = 1Y 
    747747 
     
    751751# deforestation.                                 
    752752# If LAND_USE 
    753 LAND_COVER_CHANGE = n 
     753LAND_COVER_CHANGE = x 
    754754# default = y 
    755755 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/PARAM/physiq.def_L39

    r1095 r1203  
    2323cvl_corr=1.0 
    2424##  Facteur additif pour l'albedo 
    25 pmagic=0.008 
     25pmagic=xxx 
    2626# 
    2727# 
     
    198198ok_aie=y 
    199199### aer_type =   Aerosol variation type : actuel / preind / scenario / annuel 
    200 aer_type=actuel 
     200aer_type=xxx 
    201201###  type of coupled aerosol =1 (default) =2 => bc  only =3 => pom only =4 => seasalt only =5 => dust only =6 => all aerosol 
    202202flag_aerosol=6  
Note: See TracChangeset for help on using the changeset viewer.