source: tags/libIGCM_v1_3/libIGCM_post/IGCM_Patch_20090317_histcom__Fillvalue.ksh @ 1456

Last change on this file since 1456 was 79, checked in by mmaipsl, 15 years ago

MM: change the comment

  • Property svn:executable set to *
File size: 922 bytes
Line 
1#!/bin/ksh
2
3#**************************************************************
4# Author: Martial Mancip
5# 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 $
9# IPSL (2006)
10#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
11#
12#**************************************************************
13
14#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15# We change _Fillvalue to old missing_value    !!!!
16#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
17
18function IGCM_Patch_20090317_histcom__Fillvalue {
19    IGCM_debug_PushStack "IGCM_Patch_histcom__Fillvalue" $@
20 
21    typeset file
22
23    file=t_$1
24    IGCM_sys_Mv ${1} ${file}
25    IGCM_sys_Chmod 644 ${file}
26
27    IGCM_sys_ncrename -O --hst -a _Fillvalue,missing_value ${file}
28
29    IGCM_sys_Mv ${file} ${1}
30   
31    IGCM_debug_PopStack "IGCM_Patch_histcom__Fillvalue"
32}
Note: See TracBrowser for help on using the repository browser.