Changeset 4352


Ignore:
Timestamp:
03/25/19 14:58:04 (5 years ago)
Author:
jgipsl
Message:

Added the use of CompressionLevel (global attribute) to be defined in config.card. as done in IPSLCM6 in changeset [4296] and [4297].

Location:
CONFIG/UNIFORM/v6/LMDZOR_v6
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZ/CREATE_amip/config.card

    r3458 r4352  
    2424#D-- 1Y, 1M, 5D, 1D 
    2525PeriodLength=1Y 
     26#============================ 
     27#-- Compression level for netcdf output files 
     28CompressionLevel=2 
    2629#============================ 
    2730PeriodNb=50 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZ/CREATE_clim_360d/config.card

    r3222 r4352  
    2626#D-- 1Y, 1M, 5D, 1D 
    2727PeriodLength=1Y 
    28  
     28#============================ 
     29#-- Compression level for netcdf output files 
     30CompressionLevel=2 
    2931#======================================================================== 
    3032#D-- ListOfComponents - 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZ/clim_360d/config.card

    r3222 r4352  
    2626#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    2727PeriodLength=1Y 
    28  
     28#============================ 
     29#-- Compression level for netcdf output files 
     30CompressionLevel=2 
    2931#======================================================================== 
    3032#D-- ListOfComponents - 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZOR/amip/config.card

    r3563 r4352  
    2626#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    2727PeriodLength=1Y 
    28  
     28#============================ 
     29#-- Compression level for netcdf output files 
     30CompressionLevel=2 
    2931#======================================================================== 
    3032#D-- ListOfComponents - 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZOR/amip_CMIP6/config.card

    r4244 r4352  
    1414TagName=LMDZOR 
    1515# LongName, ModelName and Member are used to copy dr2xml files 
    16 LongName="IPSLCM6.1.8-LR" 
     16LongName="IPSLCM6.1.9-LR" 
    1717ModelName=IPSL-CM6A-LR 
    1818Member=r1i1p1f1 
     
    2929#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    3030PeriodLength=1Y 
    31  
     31#============================ 
     32#-- Compression level for netcdf output files 
     33CompressionLevel=2 
    3234#======================================================================== 
    3335#D-- ListOfComponents - 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZOR/amip_nudge/config.card

    r3612 r4352  
    2626#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    2727PeriodLength=1Y 
    28  
     28#============================ 
     29#-- Compression level for netcdf output files 
     30CompressionLevel=2 
    2931#======================================================================== 
    3032#D-- ListOfComponents - 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZOR/clim_360d/config.card

    r3563 r4352  
    2626#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    2727PeriodLength=1Y 
     28#============================ 
     29#-- Compression level for netcdf output files 
     30CompressionLevel=2 
    2831 
    2932#======================================================================== 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZOR/clim_pdControl/config.card

    r3563 r4352  
    2626#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    2727PeriodLength=1Y 
     28#============================ 
     29#-- Compression level for netcdf output files 
     30CompressionLevel=2 
     31 
    2832 
    2933#======================================================================== 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/EXPERIMENTS/LMDZOR/highresmip_CMIP6/config.card

    r4034 r4352  
    3636#-- 1Y, 1M, 5D, 1D Period Length for one execution 
    3737PeriodLength=1Y 
     38#============================ 
     39#-- Compression level for netcdf output files 
     40CompressionLevel=2 
    3841 
    3942#======================================================================== 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/lmdz.driver

    r4108 r4352  
    556556        rm add.tmp 
    557557    fi 
     558 
     559    #Compression level (if CompressionLevel is not empty) 
     560    if [ ! "X${config_UserChoices_CompressionLevel}" = "X" ] ; then 
     561    echo "NetCDF output files compression level is " ${config_UserChoices_CompressionLevel} 
     562    listfile=$(ls file_def*lmdz.xml) 
     563    for file in ${listfile} 
     564    do 
     565        sed -i -e "s/\(compression_level=\"\)[^\"]*\(\"\)/\1${config_UserChoices_CompressionLevel}\2/" ${file} 
     566    done 
     567    fi 
     568 
    558569             
    559570    IGCM_debug_PopStack "ATM_Update" 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/orchidee.driver

    r4312 r4352  
    3636        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level 0 
    3737        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq 1mo 
    38  
    3938        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 enabled .FALSE. 
    4039        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 
    4140        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq 1mo 
    42  
    43         IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .FALSE. 
    44         IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level 0 
    45         IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq 1mo 
     41        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .FALSE. 
     42        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level 0 
     43        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq 1mo 
    4644    fi 
    4745 
     
    171169    fi 
    172170 
     171    #Compression level (if CompressionLevel is not empty) 
     172    if [ ! "X${config_UserChoices_CompressionLevel}" = "X" ] ; then 
     173        echo "NetCDF output files compression level is " ${config_UserChoices_CompressionLevel} 
     174        listfile=$(ls file_def*orchidee.xml) 
     175        for file in ${listfile} 
     176        do 
     177            sed -i -e "s/\(compression_level=\"\)[^\"]*\(\"\)/\1${config_UserChoices_CompressionLevel}\2/" ${file} 
     178        done 
     179    fi 
     180 
     181 
    173182 
    174183    IGCM_debug_PopStack "SRF_Update" 
Note: See TracChangeset for help on using the changeset viewer.