Changeset 1393


Ignore:
Timestamp:
06/15/17 16:56:51 (7 years ago)
Author:
sdipsl
Message:
  • remove TS_MO_YE creation. XIOS can handle this much better now.
  • cosmetics
Location:
trunk/libIGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_clean_latestPackperiod

    r1356 r1393  
    256256        IGCM_sys_Rm ${SUBMIT_DIR}/run.card 
    257257      else 
    258         # Update run.card 
     258        # Update run.card 
    259259        cp ${SUBMIT_DIR}/run.card ${SUBMIT_DIR}/run.card.old 
    260260        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "OnQueue" 
     
    264264        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodDateEnd \ 
    265265                              $( IGCM_date_HumanDigit ${PeriodDateEnd} ) 
    266         # Update job 
     266        # Update job 
    267267        cp Job_${config_UserChoices_JobName} Job_${config_UserChoices_JobName}.old 
    268268        sed -e "s/\(#.*Script_Output_${config_UserChoices_JobName}\.\)\([0-9]*\)\(.*\)/\1${Suffix}\3/" \ 
  • trunk/libIGCM/AA_create_ts

    r1356 r1393  
    736736        # 
    737737        if [ "${DEPOT}" = "TRUE" ] ; then 
    738           # YEARLY AVERAGE DERIVED FROM MONTHLY MEAN 
    739           if ( [ ${FlagDir} = "1M" ] && [ -f ${file_out} ] ) ; then 
    740             file_before_YE=${config_UserChoices_JobName}_${DateBegin}_${DATE_FIN_JOB_B}_1Y_${var}.nc 
    741             file_out_YE=${config_UserChoices_JobName}_${DATE_BUILD_END}_1Y_${var}.nc 
    742             # 
    743             # Compute yearly average considering calendar 
    744             IGCM_sys_cdo yearmonmean -selvar,${var} ${file_out} ${file_out_YE} 
    745             # Extract all ancillary variables except $var, they will be appended after the cdo command 
    746             # Needed because cdo applies calculs on all variables 
    747             IGCM_sys_ncks -Oh -x -v ${var} ${file_out} ${file_out_YE%%.nc}_tmp1.nc 
    748             # This will remove the time axis because cdo rewrites severely with only considered useful variables 
    749             IGCM_sys_cdo -mulc,1 ${file_out_YE%%.nc}_tmp1.nc ${file_out_YE%%.nc}_tmp2.nc 2>/dev/null 
    750             if [ $? -eq 0 ] ; then 
    751               # Now append all ancillary variables if previous cdo operator ok 
    752               IGCM_sys_ncks -h -A ${file_out_YE%%.nc}_tmp2.nc ${file_out_YE} 
    753             fi 
    754  
    755             # Put global history attribut 
    756             IGCM_sys_ncatted -Oh -a history,global,o,c,"build by libIGCM/create_ts" ${file_out_YE} 
    757             IGCM_debug_Verif_Exit 
    758             # 
    759             eval IGCM_sys_Put_Out ${file_out_YE} \${R_OUT_${comp}}/Analyse/TS_MO_YE/${file_out_YE} 
    760             [ "${FLAG_B}" = "TRUE" ] && eval MENAGE \${R_OUT_${comp}}/Analyse/TS_MO_YE/ ${file_before_YE} ${file_out_YE} 
    761             IGCM_sys_Rm ${file_out_YE%%.nc}_tmp*.nc 
    762           fi 
    763738          # WE PUT FINAL FILE ON FILE SYSTEM 
    764739          [ "${FLAG_B}" = "FALSE" ] && file_out=${config_UserChoices_JobName}_${DATE_BUILD}_${FlagDir}_${var}.nc 
     
    786761# DODS copy 
    787762for comp in ${config_ListOfComponents[*]} ; do 
    788   for TS_Dir in TS_YE TS_MO TS_MO_YE TS_DA TS_HF TS_INS ; do 
     763  for TS_Dir in TS_YE TS_MO TS_DA TS_HF TS_INS ; do 
    789764    IGCM_sys_TestDirArchive ${R_SAVE}/${comp}/Analyse/${TS_Dir} 
    790765    [ $? = 0 ] && IGCM_sys_Put_Dods ${comp}/Analyse/${TS_Dir} 
Note: See TracChangeset for help on using the changeset viewer.