Changeset 206


Ignore:
Timestamp:
12/01/09 13:00:56 (14 years ago)
Author:
sdipsl
Message:
  • Add LMDZ4 39 levels detection, launch atlas accordingly.
  • Try to clarify which variables need to be change in case one use StandAlone? mode
  • Clean up
Location:
trunk/libIGCM
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_atlas_LMDZ

    r203 r206  
    110110IGCM_sys_Get ${R_OUT_ATM}/Analyse/SE/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc ${RUN_DIR} 
    111111 
    112 atlas -o ${RUN_DIR}/${R_ATLAS}/ATM -l ${FER_ATLAS}/atlas_p_LMDZ3.3_diag1_*.cfg          ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc 
     112# Only LMDZ4 output have Alt variables 
     113DetectLev=$( ncdump -h ${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc | grep "Alt(Alt)" | wc -l ) 
     114# 
     115[ ${DetectLev} = 1 ] && LMDZ=LMDZ4 || LMDZ=LMDZ3.3 
     116# 
     117atlas -o ${RUN_DIR}/${R_ATLAS}/ATM -l ${FER_ATLAS}/atlas_p_${LMDZ}_diag1_*.cfg ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc 
    113118 
    114119# IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 
  • trunk/libIGCM/AA_create_se

    r203 r206  
    8787StandAlone=${StandAlone:=true} 
    8888 
     89#D- Low level debug : to bypass lib test checks and stack construction 
     90#D- Default : value from AA_job if any 
     91libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     92 
    8993#D- Flag to determine atlas job's output directory 
    9094#D- Default : value from libIGCM_post.ksh if any 
     
    98102#D- Default : value from AA_job if any 
    99103DEBUG_debug=${DEBUG_debug:=false} 
    100  
    101 #D- Low level debug : to bypass lib test checks and stack construction 
    102 #D- Default : value from AA_job if any 
    103 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
    104104 
    105105#D- TEMPORARY Flag to determine atmospheric resolution 
  • trunk/libIGCM/AA_create_ts

    r203 r206  
    8787StandAlone=${StandAlone:=true} 
    8888 
    89 #D- Flag to determine allready produced time series. 
     89#D- Low level debug : to bypass lib test checks and stack construction 
     90#D- Default : value from AA_job if any 
     91libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     92 
     93#D- Flag to determine allready produced time series. Empty if you start from the beginning 
    9094#D- Default : Commented. Uncomment for StandAlone case if you want to continue a time series 
    91 #CompletedFlag= 
     95CompletedFlag=${CompletedFlag:=20001230} 
    9296 
    9397#D- Flag to determine job's output directory 
     
    102106#D- Default : value from AA_job if any 
    103107DEBUG_debug=${DEBUG_debug:=false} 
    104  
    105 #D- Low level debug : to bypass lib test checks and stack construction 
    106 #D- Default : value from AA_job if any 
    107 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
    108108 
    109109#D- TEMPORARY Flag to determine atmospheric resolution 
  • trunk/libIGCM/AA_rebuild_fromArchive

    r205 r206  
    8787StandAlone=${StandAlone:=true} 
    8888 
     89#D- Low level debug : to bypass lib test checks and stack construction 
     90#D- Default : value from AA_job if any 
     91libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     92 
     93#D- Directory where files we need to rebuild are store 
     94#D- Default : value from AA_job if any 
     95REBUILD_DIR=${REBUILD_DIR:=/path/to/your/TMP/REBUILD/FILES} 
     96 
     97#D- How many directory to rebuild we have to consider 
     98#D- Default : value from AA_job if any 
     99NbRebuildDir=${NbRebuildDir:=12} 
     100 
     101#D- Suffix date we will use to determine which directory to rebuild 
     102#D- We will rebuild NbRebuildDir before and including PeriodDateBegin 
     103#D- Default : value from AA_job if any 
     104PeriodDateBegin=${PeriodDateBegin:=18901201} 
     105 
    89106#D- Flag to determine atlas job's output directory 
    90107#D- Default : value from libIGCM_post.ksh if any 
     
    98115#D- Default : value from AA_job if any 
    99116DEBUG_debug=${DEBUG_debug:=false} 
    100  
    101 #D- Low level debug : to bypass lib test checks and stack construction 
    102 #D- Default : value from AA_job if any 
    103 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
    104117 
    105118#D- TEMPORARY Flag to determine atmospheric resolution 
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r205 r206  
    8888StandAlone=${StandAlone:=true} 
    8989 
     90#D- Low level debug : to bypass lib test checks and stack construction 
     91#D- Default : value from AA_job if any 
     92libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     93 
     94#D- Directory where files we need to rebuild are store 
     95#D- Default : value from AA_job if any 
     96REBUILD_DIR=${REBUILD_DIR:=/path/to/your/TMP/REBUILD/FILES} 
     97 
     98#D- How many directory to rebuild we have to consider 
     99#D- Default : value from AA_job if any 
     100NbRebuildDir=${NbRebuildDir:=12} 
     101 
     102#D- Suffix date we will use to determine which directory to rebuild 
     103#D- We will rebuild NbRebuildDir before and including PeriodDateBegin 
     104#D- Default : value from AA_job if any 
     105PeriodDateBegin=${PeriodDateBegin:=18901201} 
     106 
    90107#D- Flag to determine atlas job's output directory 
    91108#D- Default : value from libIGCM_post.ksh if any 
     
    99116#D- Default : value from AA_job if any 
    100117DEBUG_debug=${DEBUG_debug:=false} 
    101  
    102 #D- Low level debug : to bypass lib test checks and stack construction 
    103 #D- Default : value from AA_job if any 
    104 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
    105118 
    106119#D- TEMPORARY Flag to determine atmospheric resolution 
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20091116_ncks_ncra.ksh

    r199 r206  
    1919    IGCM_debug_PushStack "IGCM_Patch_ncks_ncra" $@ 
    2020 
    21     export CPL_OkDay=y 
    22     export CPL_OkMonth=y 
     21    CPL_OkDay=y 
     22    CPL_OkMonth=y 
    2323 
    2424    PREFIX=TEMPO 
  • trunk/libIGCM/libIGCM_post/libIGCM_post.ksh

    r201 r206  
    424424                    echo export RESOL_SRF=${RESOL_SRF}                >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    425425                    echo export RESOL_BIOS=${RESOL_BIOS}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    426                     echo export config_UserChoices_JobName=${config_UserChoices_JobName}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
     426                    echo export config_UserChoices_JobName=${config_UserChoices_JobName} >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    427427                    echo export R_SAVE=${R_SAVE}                      >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    428428                    echo export listVarEnv=${listVarEnv}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
     
    518518                        echo export RESOL_SRF=${RESOL_SRF}                >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    519519                        echo export RESOL_BIOS=${RESOL_BIOS}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    520                         echo export config_UserChoices_JobName=${config_UserChoices_JobName}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
     520                        echo export config_UserChoices_JobName=${config_UserChoices_JobName} >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    521521                        echo export R_SAVE=${R_SAVE}                      >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    522522                        echo export listVarEnv=${listVarEnv}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
     
    600600            echo export RESOL_SRF=${RESOL_SRF}                >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    601601            echo export RESOL_BIOS=${RESOL_BIOS}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    602             echo export config_UserChoices_JobName=${config_UserChoices_JobName}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
     602            echo export config_UserChoices_JobName=${config_UserChoices_JobName} >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    603603            echo export R_SAVE=${R_SAVE}                      >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    604604            echo export listVarEnv=${listVarEnv}              >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
Note: See TracChangeset for help on using the changeset viewer.