Ignore:
Timestamp:
03/20/12 11:41:18 (12 years ago)
Author:
sdipsl
Message:
  • Bugfix affecting mask patch and buffered files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20091118_mask.ksh

    r584 r588  
    2121 
    2222    if [ -f ${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
    23       if [ -f ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
     23      if [ -f ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
     24        IGCM_sys_Get ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc . 
     25      elif [ -f ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
    2426        IGCM_sys_Get ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc . 
    25       elif [ -f ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
    26         IGCM_sys_Get ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc . 
     27      else 
     28        IGCM_debug_Exit "mesh_mask can not be found. Stop." 
     29        IGCM_debug_Exit "neither here ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc" 
     30        IGCM_debug_Exit "nor here ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc" 
     31        IGCM_debug_Verif_Exit_Post 
    2732      fi 
    28     else 
    29       IGCM_debug_Exit "mesh_mask can not be found. Stop." 
    30       IGCM_debug_Exit "neither here ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc" 
    31       IGCM_debug_Exit "nor here ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc" 
    32       IGCM_debug_Verif_Exit_Post 
    3333    fi 
    3434 
Note: See TracChangeset for help on using the changeset viewer.