Changeset 636 for trunk


Ignore:
Timestamp:
04/05/12 16:55:37 (12 years ago)
Author:
sdipsl
Message:
  • Refine restart list process. Will catch INCA restart and produce a clean script output (without error)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_pack_restart

    r632 r636  
    288288 
    289289# Create sorted restart list to work with 
    290 find ${R_BUFR}/*/Restart -name "*nc" | sort >> ${RUN_DIR}/liste_restart_files.txt 
     290find ${R_BUFR}/*/Restart -name "*.*" | sort >> ${RUN_DIR}/liste_restart_files.txt 
    291291 
    292292# Rename restart files we will work with using symlinks 
     
    295295 
    296296# List renamed restart files 
    297 find ${RUN_DIR} -name "*.nc" -ls | sort -k 11 > ${RUN_DIR}/new_liste_restart_files.txt 
     297find ${RUN_DIR} -maxdepth 1 -mindepth 1 -name "???_*${JobName}*" -ls | sort -k 11 > ${RUN_DIR}/new_liste_restart_files.txt 
    298298 
    299299# ------------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.