Changeset 5919


Ignore:
Timestamp:
09/15/21 14:25:46 (3 years ago)
Author:
acosce
Message:

add new flag in inca "xios_read" allow to read input file with xios (xios_read=y) (files on dynamical lmdz grid) or with netcdf (xios_read=n) (files on physical lmdz grid)
add for each chemistry configuration a card inca.Card.xios with files used by xios_read=y (by default xios_read=n on inca.card)

Location:
CONFIG/UNIFORM/v6/LMDZORINCA_v6.2
Files:
6 added
12 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/AER/COMP/inca.card

    r5014 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LDMZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
     
    2022#be careful name of sflx file change with the choice of emi_interp_time ( no file / sflx_p2p.nc )  
    2123emi_interp_time=1 
     24 
    2225 
    2326 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/AER_historical/COMP/inca.card

    r5699 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LDMZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/AER_pdControl/COMP/inca.card

    r5699 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LDMZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/DUSS/COMP/inca.card

    r4971 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/GES/COMP/inca.card

    r4971 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/GES_LR/COMP/inca.card

    r5541 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/NAS_LR/COMP/inca.card

    r5638 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/NMHC/COMP/inca.card

    r4971 r5919  
    44 
    55[UserChoices] 
     6xios_read=n 
    67# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    78LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/NMHC_AER/COMP/inca.card

    r4971 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/EXPERIMENTS/LMDZORINCA/NMHC_AER_S/COMP/inca.card

    r4971 r5919  
    44 
    55[UserChoices] 
     6#choose if input file will be regrid by xios, or read without regrid with netcdf 
     7xios_read=n 
    68# Set LMDZ_10m_winds to choose if the simulation will use online 10m wind (=y) or offline (=n) 
    79LMDZ_10m_winds=y 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/GENERAL/DRIVER/inca.driver

    r4971 r5919  
    332332 
    333333 
     334    # inca.def : choose if we read input file with xios or netcdf  
     335    if [ ! X${inca_UserChoices_xios_read} = X ] ; then 
     336        IGCM_comp_modifyDefFile nonblocker inca.def xios_read  ${inca_UserChoices_xios_read} 
     337    else 
     338        IGCM_comp_modifyDefFile nonblocker inca.def xios_read  y 
     339    fi 
     340 
    334341    # inca.def : Activate reading of 10m wind in files if LMDZ_10m_winds=n in inca.card 
    335342    if [ ! X${inca_UserChoices_LMDZ_10m_winds} = X ] ; then 
     
    419426    #  <context id="inca" src="./context_inca.xml"/> 
    420427    echo '<context id="inca" src="./context_inca.xml"/>' > add.tmp 
     428 
     429    if [ -f context_input_inca.xml ] ; then 
     430        echo '<context id="inca" src="./context_input_inca.xml"/>' >> add.tmp 
     431    fi 
     432    if [ -f context_sflx_inca.xml ] ; then 
     433        echo '<context id="inca" src="./context_sflx_inca.xml"/>' >> add.tmp 
     434    fi 
     435    if [ -f context_co2_inca.xml ] ; then 
     436        echo '<context id="inca" src="./context_co2_inca.xml"/>' >> add.tmp 
     437    fi 
     438    if [ -f context_oxydants_inca.xml ] ; then 
     439        echo '<context id="inca" src="./context_oxydants_inca.xml"/>' >> add.tmp 
     440    fi 
     441    if [ -f context_start_inca.xml ] ; then 
     442        if  [ -f chem_start.nc ] ; then  
     443            echo '<context id="inca" src="./context_start_inca.xml"/>' >> add.tmp 
     444        fi  
     445    fi 
     446    if [ -f context_dust_inca.xml ] ; then 
     447        echo '<context id="inca" src="./context_dust_inca.xml"/>' >> add.tmp 
     448    fi 
     449    if [ -f context_winds_inca.xml ] ; then 
     450        echo '<context id="inca" src="./context_winds_inca.xml"/>' >> add.tmp 
     451    fi 
     452 
    421453    cp iodef.xml iodef.xml.tmp 
    422454    sed -e "/COMPONENT CONTEXT/r add.tmp" \ 
     
    439471    fi 
    440472 
     473    # remove unlimited from time axis for allowed xios to read all values in one time  
     474    echo "retire UNLIMITED sur axe temps " 
     475    nccopy -u u10xios.nc tmp.nc 
     476    mv tmp.nc u10xios.nc 
     477    nccopy -u v10xios.nc tmp.nc 
     478    mv tmp.nc v10xios.nc 
     479    nccopy -u oxydants.nc tmp.nc 
     480    mv tmp.nc oxydants.nc 
     481 
     482 
    441483    IGCM_debug_PopStack "CHM_Update" 
    442484} 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/GENERAL/PARAM/inca.def

    r4884 r5919  
    22# parametres pour INCA 
    33####################################################################### 
     4xios_read=_AUTO_:DEFAULT=y 
    45#LMDZ_10m_winds=y --> use 10m wind from LMDZ, =n --> use 10m wind from output file 
    56LMDZ_10m_winds=_AUTO_ 
Note: See TracChangeset for help on using the changeset viewer.