Changeset 903


Ignore:
Timestamp:
08/08/13 11:06:18 (11 years ago)
Author:
sdipsl
Message:
  • Dods copy is controled by an option in config.card/[Post]. See #150
Location:
trunk/libIGCM
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_atlas_LMDZ

    r880 r903  
    162162 
    163163# DODS copy 
    164 IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
    165 [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
    166  
     164if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     165  IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
     166  [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     167fi 
    167168# Clean RUN_DIR_PATH (necessary for cesium and titane only) 
    168169IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_atlas_ORCA_LIM

    r880 r903  
    205205 
    206206# DODS copy 
    207 IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
    208 [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     207if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     208  IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
     209  [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     210fi 
    209211 
    210212# Clean RUN_DIR_PATH (necessary for cesium and titane only) 
  • trunk/libIGCM/AA_atlas_ORCHIDEE

    r880 r903  
    169169 
    170170# DODS copy 
    171 IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
    172 [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     171if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     172  IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
     173  [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     174fi 
    173175 
    174176# Clean RUN_DIR_PATH (necessary for cesium and titane only) 
  • trunk/libIGCM/AA_atlas_PISCES

    r880 r903  
    167167 
    168168# DODS copy 
    169 IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
    170 [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     169if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     170  IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 
     171  [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     172fi 
    171173 
    172174# Clean RUN_DIR_PATH (necessary for cesium and titane only) 
  • trunk/libIGCM/AA_create_multi_se

    r880 r903  
    393393 
    394394# DODS copy 
    395 for comp in ${config_ListOfComponents[*]} ; do 
    396   IGCM_sys_TestDirArchive ${R_SAVE}/${comp}/Analyse/${DIR_OUT} 
    397   [ $? = 0 ] && IGCM_sys_Put_Dods ${comp}/Analyse/${DIR_OUT} 
    398 done 
    399  
     395if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     396  for comp in ${config_ListOfComponents[*]} ; do 
     397    IGCM_sys_TestDirArchive ${R_SAVE}/${comp}/Analyse/${DIR_OUT} 
     398    [ $? = 0 ] && IGCM_sys_Put_Dods ${comp}/Analyse/${DIR_OUT} 
     399  done 
     400fi 
     401 
     402# Temporal coverage id for atlas 
    400403YEARS=${an_multi_deb}_${an_multi_fin} 
    401404 
  • trunk/libIGCM/AA_create_se

    r880 r903  
    555555 
    556556# DODS copy 
    557 for comp in ${config_ListOfComponents[*]} ; do 
    558   IGCM_sys_TestDirArchive ${R_SAVE}/${comp}/Analyse/SE 
    559   [ $? = 0 ] && IGCM_sys_Put_Dods ${comp}/Analyse/SE 
    560 done 
    561  
     557if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     558  for comp in ${config_ListOfComponents[*]} ; do 
     559    IGCM_sys_TestDirArchive ${R_SAVE}/${comp}/Analyse/SE 
     560    [ $? = 0 ] && IGCM_sys_Put_Dods ${comp}/Analyse/SE 
     561  done 
     562fi 
     563 
     564# Temporal coverage id for atlas 
    562565YEARS=${an_deb}_${an_fin} 
    563566DIR_OUT=SE 
  • trunk/libIGCM/AA_create_ts

    r880 r903  
    186186else 
    187187  CARD_DIR=${RUN_DIR_PATH} 
     188 
     189  #startTime_ms=$( getDate_ms ) #gp:added# 
    188190  IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     191  #endTime_ms=$( getDate_ms ) #gp:added# 
     192  #printInfosAction IGCM_sys_Get ${SUBMIT_DIR}/config.card $startTime_ms $endTime_ms ${RUN_DIR_PATH} ${SUBMIT_DIR}/config.card #gp:added# 
     193 
     194  #startTime_ms=$( getDate_ms ) #gp:added# 
    189195  IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     196  #endTime_ms=$( getDate_ms ) #gp:added# 
     197  #printInfosAction IGCM_sys_Get ${SUBMIT_DIR}/run.card $startTime_ms $endTime_ms ${RUN_DIR_PATH} ${SUBMIT_DIR}/run.card  #gp:added# 
     198 
     199  #startTime_ms=$( getDate_ms ) #gp:added# 
    190200  IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     201  #endTime_ms=$( getDate_ms ) #gp:added# 
     202  #printInfosAction IGCM_sys_Get ${SUBMIT_DIR}/COMP $startTime_ms $endTime_ms ${RUN_DIR_PATH} ${SUBMIT_DIR}/COMP  #gp:added# 
     203 
     204  #startTime_ms=$( getDate_ms ) #gp:added# 
    191205  IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
     206  #endTime_ms=$( getDate_ms ) #gp:added# 
     207  #printInfosAction IGCM_sys_Get ${SUBMIT_DIR}/POST $startTime_ms $endTime_ms ${RUN_DIR_PATH} ${SUBMIT_DIR}/POST  #gp:added# 
    192208fi 
    193209 
     
    492508    done 
    493509    if [ X${file} != X${NULL_STR} ] ; then 
     510      #my_size=$( size_of_tab_content liste_file[*] ) #gp:added# 
     511      #startTime_ms=$( getDate_ms ) #gp:added# 
    494512      IGCM_sys_Get /l liste_file[*] ${RUN_DIR_PATH}/${comp} 
     513      #endTime_ms=$( getDate_ms ) #gp:added# 
     514      #printInfos_GetList IGCM_sys_Get $my_size $startTime_ms $endTime_ms ${RUN_DIR_PATH}/${comp} ${file_path} #gp:added# 
     515 
    495516      # Even if some files are missing we tried to continue 
    496517      # Either ListVar in compname.card are asked but not present in original history file 
     
    680701 
    681702      # Get selected files 
     703      #my_size=$( size_of_tab_content liste_file[*] ) #gp:added# 
     704      #startTime_ms=$( getDate_ms ) #gp:added# 
    682705      IGCM_sys_Get /l liste_file[*] ${RUN_DIR_PATH}/${comp} 
     706      #ndTime_ms=$( getDate_ms ) #gp:added# 
     707      #printInfos_GetList IGCM_sys_Get $my_size $startTime_ms $endTime_ms ${RUN_DIR_PATH}/${comp} ${file_path} #gp:added# 
     708 
    683709      IGCM_debug_Verif_Exit_Post 
    684710 
  • trunk/libIGCM/AA_monitoring

    r901 r903  
    250250 
    251251# Dods copy 
    252 IGCM_sys_Put_Dods MONITORING 
     252if [ X${config_Post_DodsCopy} = XTRUE ]  ; then 
     253  IGCM_sys_Put_Dods MONITORING 
     254fi 
    253255 
    254256# Clean RUN_DIR_PATH (necessary for cesium and titane only) 
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r892 r903  
    139139      IGCM_sys_MkdirWork ${REBUILD_DIR} 
    140140    fi 
     141  fi 
     142 
     143  #==================================================== 
     144  # DodsCopy : apply default value if not defined 
     145  if ( [ X${config_Post_DodsCopy} = X${NULL_STR} ] || [ X${config_Post_DodsCopy} = X ] ) ; then 
     146    config_Post_DodsCopy=TRUE 
    141147  fi 
    142148 
Note: See TracChangeset for help on using the changeset viewer.