Ignore:
Timestamp:
04/16/14 18:04:02 (10 years ago)
Author:
sdipsl
Message:

support more ensemble type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/ins_job

    r2151 r2246  
    1919  -h          : help 
    2020  -v          : verbose mode 
    21   -e          : turn on hindcast/forecast ensemble mode 
     21  -e          : turn on ensemble mode (hindcast/forecast or date restart) 
    2222  -p project  : add default project on curie 
    2323" 
     
    296296fi 
    297297#- 
    298 # Limited to hindcast/forecast Ensemble for the time being 
     298# Limited to hindcast/forecast and date restart Ensemble for the time being 
    299299if [ ${x_e} = 'true' ] ; then 
    300300  #.. Read input data from ensemble.card ..  
     
    305305  # 
    306306  # Copy initial things around and define variables (hindcast/forecast case) 
    307   IGCM_ensemble_CastInit 
    308   # As it says 
    309   IGCM_sys_Cd ${SUBMIT_DIR} 
    310   IGCM_ensemble_CastPeriodicStarts 
    311   # As it says 
    312   IGCM_sys_Cd ${SUBMIT_DIR} 
    313   IGCM_ensemble_CastNonPeriodicStarts 
    314   # Done 
    315   IGCM_sys_Cp ${RUN_DIR}/CreatedDir.txt ${SUBMIT_DIR} 
    316   IGCM_sys_Cd ${SUBMIT_DIR} 
    317   # Clean 
    318   IGCM_sys_Rm -rf ${RUN_DIR} 
     307  IGCM_ensemble_Init 
     308   
     309  if [[ ${ensemble_Ens_PARAMETRIC_active} = 'y' ]] ; then 
     310    echo "WARNING: Parametric Ensemble is not implemented yet..." 
     311  fi 
     312 
     313  if [[ ${ensemble_Ens_DATE_active} = 'y' ]] ; then 
     314    IGCM_ensemble_DateInit 
     315    # As it says 
     316    IGCM_sys_Cd ${SUBMIT_DIR} 
     317    IGCM_ensemble_DatePeriodicStarts 
     318    # As it says 
     319    IGCM_sys_Cd ${SUBMIT_DIR} 
     320    IGCM_ensemble_DateNonPeriodicStarts 
     321    # Clean 
     322    IGCM_sys_Rm -rf ${RUN_DIR} 
     323  fi 
     324   
     325  if [[ ${ensemble_Ens_PERTURB_active} = 'y' ]] ; then 
     326    IGCM_ensemble_CastInit 
     327    # As it says 
     328    IGCM_sys_Cd ${SUBMIT_DIR} 
     329    IGCM_ensemble_CastPeriodicStarts 
     330    # As it says 
     331    IGCM_sys_Cd ${SUBMIT_DIR} 
     332    IGCM_ensemble_CastNonPeriodicStarts 
     333    # Done 
     334    IGCM_sys_Cp ${RUN_DIR}/CreatedDir.txt ${SUBMIT_DIR} 
     335    IGCM_sys_Cd ${SUBMIT_DIR} 
     336    # Clean 
     337    IGCM_sys_Rm -rf ${RUN_DIR} 
     338  fi 
    319339fi 
    320340#- 
Note: See TracChangeset for help on using the changeset viewer.