Ignore:
Timestamp:
04/09/10 12:08:01 (14 years ago)
Author:
sdipsl
Message:
  • Add mercure-new : libIGCM_sys_mercure.ksh
  • SX9 use mercure-new for post-processing
  • Few feature missing on mercure-new dmget not yet install for example
  • Properly reset all svn:keywords feature
  • Bugfix in libIGCM_post.ksh when RebuildFromArchive? was false
  • Bugfix in IGCM_Patch_20090317_histcomFillvalue.ksh when renaming _Fillvalue we now just add missing_value to be retro-compatible
  • Some more comments
Location:
trunk/libIGCM/libIGCM_post
Files:
7 edited

Legend:

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

    • Property svn:keywords set to Date Author Revision
    r79 r257  
    44# Author: Martial Mancip 
    55# Contact: Martial.Mancip_ipsl.jussieu.fr 
    6 # $Date: 2008-05-29 11:02:19 +0200 (Thu, 29 May 2008) $ 
    7 # $Author: mmaipsl $ 
    8 # $Revision: 5 $ 
     6# $Date$ 
     7# $Author$ 
     8# $Revision$ 
    99# IPSL (2006) 
    1010#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC 
     
    2525    IGCM_sys_Chmod 644 ${file} 
    2626 
    27     IGCM_sys_ncrename -O --hst -a _Fillvalue,missing_value ${file} 
     27    #IGCM_sys_ncrename -O --hst -a _Fillvalue,missing_value ${file} 
     28 
     29    miss=$( ncdump -h ${file} | grep _Fillvalue | head -1 | awk "-F=" '{print $2}' |  awk "-Ff" '{print $1}' ) 
     30 
     31    [ ! X${miss} = X ] && IGCM_sys_ncatted -a missing_value,,c,f,${miss} ${file}  
    2832 
    2933    IGCM_sys_Mv ${file} ${1} 
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20090407_histcom_time_axis.ksh

    • Property svn:keywords set to Date Author Revision
    r169 r257  
    44# Author: Martial Mancip 
    55# Contact: Martial.Mancip_ipsl.jussieu.fr 
    6 # $Date: $ 
    7 # $Author: mmaipsl $ 
    8 # $Revision: $ 
     6# $Date$ 
     7# $Author$ 
     8# $Revision$ 
    99# IPSL (2006) 
    1010#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC 
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20091030_histcom_time_axis.ksh

    • Property svn:keywords set to Date Author Revision
    r195 r257  
    44# Author: Martial Mancip 
    55# Contact: Martial.Mancip_ipsl.jussieu.fr 
    6 # $Date: $ 
    7 # $Author: mmaipsl $ 
    8 # $Revision: $ 
     6# $Date$ 
     7# $Author$ 
     8# $Revision$ 
    99# IPSL (2006) 
    1010#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC 
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20091116_ncks_ncra.ksh

    • Property svn:keywords set to Date Author Revision
    r206 r257  
    22 
    33#************************************************************** 
     4# Author: Marie-Alice Foujols 
    45# Contact: Foujols_ipsl.jussieu.fr 
    5 # Modified by Marie-Alice Foujols 
    6 # $Date: $ 
    7 # $Author: mafoipsl $ 
    8 # $Revision: $ 
     6# $Date$ 
     7# $Author$ 
     8# $Revision$ 
    99# IPSL (2009) 
    1010#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC 
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20091118_mask.ksh

    • Property svn:keywords set to Date Author Revision
    r242 r257  
    11#!/bin/ksh 
     2 
     3#************************************************************** 
     4# Author: Arnaud Caubel 
     5# Contact: Arnaud.Caubel_lsce.ipsl.fr 
     6# $Date$ 
     7# $Author$ 
     8# $Revision$ 
     9# IPSL (2009) 
     10#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC 
     11# 
     12#************************************************************** 
    213 
    314#------------------------------------------------------------ 
     
    718function IGCM_Patch_20091118_mask { 
    819 
    9     set -vx 
    1020    IGCM_debug_PushStack "IGCM_Patch_mask" $@ 
    1121 
     
    3848    fi 
    3949 
    40 #============================================ 
    41 # Remove nav_lon, nav_lat file 
     50    #============================================ 
     51    # Remove nav_lon, nav_lat file 
    4252    IGCM_sys_ncks -Oh -x -v nav_lon,nav_lat ${filename} file1.nc 
    4353 
    44 #============================================ 
    45 # Extract mask variable 
     54    #============================================ 
     55    # Extract mask variable 
    4656    IGCM_sys_ncks -Oh -v ${mask} ${config_UserChoices_JobName}_mesh_mask.nc mask3D.nc 
    4757 
    48 #============================================ 
    49 # Rename deptht dimension 
     58    #============================================ 
     59    # Rename deptht dimension 
    5060    IGCM_sys_ncrename -Oh -d z,${depth} mask3D.nc 
    5161 
    52 #============================================ 
    53 # Remove single dimension t 
     62    #============================================ 
     63    # Remove single dimension t 
    5464    IGCM_sys_ncwa -Oh -a t mask3D.nc mask3D.nc 
    5565 
    56 #============================================ 
    57 # Create mask2D  
     66    #============================================ 
     67    # Create mask2D  
    5868    IGCM_sys_ncks -Oh -d ${depth},0,0 mask3D.nc mask2D.nc 
    5969    IGCM_sys_ncwa -Oh -a ${depth} mask2D.nc mask2D.nc 
    6070    IGCM_sys_ncrename -h -v ${mask},mask2D mask2D.nc 
    6171 
    62 #============================================ 
    63 # Append mask (2D) to file1.nc 
     72    #============================================ 
     73    # Append mask (2D) to file1.nc 
    6474    IGCM_sys_ncks -Ah -c -v mask2D mask2D.nc file1.nc 
    6575 
    6676    if [ ${filename} = ${chaineIce} ]; then 
    6777 
    68 #============================================ 
    69 # Append mask (3D) only for oceanic files 
     78        #============================================ 
     79        # Append mask (3D) only for oceanic files 
    7080        IGCM_sys_ncks -Ah -v ${mask} mask3D.nc file1.nc 
    7181        IGCM_sys_ncrename -h -v ${mask},mask3D file1.nc 
    7282 
    73 #============================================ 
    74 # Add record dimension only for oceanic files 
     83        #============================================ 
     84        # Add record dimension only for oceanic files 
    7585        IGCM_sys_ncecat -Oh file1.nc file1.nc 
    7686 
    77 #============================================ 
    78 # Apply mask 3D only for oceanic files 
     87        #============================================ 
     88        # Apply mask 3D only for oceanic files 
    7989        IGCM_sys_ncwa -Oh -a record -B 'mask3D==1' file1.nc file1.nc 
    8090 
    8191    fi 
    8292 
    83 #============================================ 
    84 # Add record dimension 
     93    #============================================ 
     94    # Add record dimension 
    8595    IGCM_sys_ncecat -Oh file1.nc file1.nc 
    8696 
    87 #============================================ 
    88 # Apply mask 2D 
     97    #============================================ 
     98    # Apply mask 2D 
    8999    IGCM_sys_ncwa -Oh -b -a record -B 'mask2D==1' file1.nc file1.nc 
    90100 
    91 #============================================ 
    92 # Permute record dimension in time_counter dimension 
    93  
     101    #============================================ 
     102    # Permute record dimension in time_counter dimension 
    94103    IGCM_sys_ncpdq -Oh -a time_counter,record file1.nc file1.nc 
    95104    IGCM_sys_ncwa -Oh -a record file1.nc file1.nc 
    96105 
    97 #============================================ 
    98 # Remove mask 
     106    #============================================ 
     107    # Remove mask 
    99108    IGCM_sys_ncks -Oh -x -v mask2D,mask3D file1.nc file_mask.nc 
    100109 
    101 #============================================ 
    102 # Add nav_lon nav_lat 
     110    #============================================ 
     111    # Add nav_lon nav_lat 
    103112    IGCM_sys_ncks -Ah -v nav_lon,nav_lat ${filename} file_mask.nc 
    104113 
    105 #============================================ 
    106 # Cleaning 
     114    #============================================ 
     115    # Cleaning 
    107116    IGCM_debug_Verif_Exit_Post 
    108117    IGCM_sys_Mv file_mask.nc ${filename} 
  • trunk/libIGCM/libIGCM_post/IGCM_Patch_20091119_put_out.ksh

    • Property svn:keywords set to Date Author Revision
    r199 r257  
    44# Contact: Foujols_ipsl.jussieu.fr 
    55# Modified by Marie-Alice Foujols 
    6 # $Date: $ 
    7 # $Author: mafoipsl $ 
    8 # $Revision: $ 
     6# $Date$ 
     7# $Author$ 
     8# $Revision$ 
    99# IPSL (2009) 
    1010#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC 
  • trunk/libIGCM/libIGCM_post/libIGCM_post.ksh

    r246 r257  
    628628        if [ ${config_Post_RebuildFromArchive} = true ] ; then 
    629629            IGCM_sys_Put_Dir REBUILD_${PeriodDateBegin} ${REBUILD_DIR} 
    630         elif [ ${RebuildFrequency} = true ] ; then 
     630        else 
    631631            IGCM_sys_Mv      REBUILD_${PeriodDateBegin} ${REBUILD_DIR} 
    632632        fi 
Note: See TracChangeset for help on using the changeset viewer.