Ignore:
Timestamp:
03/22/12 18:02:50 (12 years ago)
Author:
mafoipsl
Message:

Second merge of libIGCM_MPI_OpenMP branch with libIGCM trunk, revision 591.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/libIGCM_post/IGCM_Patch_20091118_mask.ksh

    r373 r592  
    2020    IGCM_debug_PushStack "IGCM_Patch_mask" $@ 
    2121 
    22     [ -f ${config_UserChoices_JobName}_mesh_mask.nc ] || IGCM_sys_Get ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc . 
     22    if [ ! -f ${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
     23      if [ -f ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
     24        IGCM_sys_GetBuffer ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc . 
     25      elif [ -f ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc ] ; then 
     26        IGCM_sys_Get ${R_SAVE}/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 
     32      fi 
     33    fi 
    2334 
    2435    filename=${1} 
Note: See TracChangeset for help on using the changeset viewer.