source: tags/libIGCM_v1/libIGCM_debug/IGCM_debug_Test.ksh @ 293

Last change on this file since 293 was 2, checked in by mmaipsl, 16 years ago

MM: import first trunk version of libIGCM.

File size: 1.5 KB
Line 
1#!/bin/ksh
2
3#**************************************************************
4# Author: Patrick Brockmann
5# Contact: Patrick.Brockmann@cea.fr
6# $Date: 2006/12/22 15:26:29 $
7# $Name: libIGCM_v1 $
8# $Revision: 1.2 $
9# IPSL (2006)
10#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
11# History:
12# Modification:
13#
14#**************************************************************
15
16# This script is used to generate a reference file with command :
17# IGCM_debug_Test.ksh > IGCM_debug_Test.ref 2>&1 
18# The reference file produced is used by the function IGCM_debug_Check
19# to verify that the libIGCM_debug produce the same results
20
21#=================================================
22libIGCM=`dirname $0`/..
23. ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh
24
25#=================================================
26Verbosity=3
27
28Option1="Hello Earth"
29Option2="Hello Mars"
30
31List="${R_ENTREE}/flux_iceberg . ${R_ENTREE}/Albedo.nc ."
32
33#=================================================
34# function IGCM_debug_Print
35
36IGCM_debug_Print 1 ${Option1}
37IGCM_debug_Print 1 ${Option2}
38
39IGCM_debug_Print 2 "A comment at level 2"
40IGCM_debug_Print 3 "A comment at level 3" "Another comment at level 3"
41IGCM_debug_Print 1 "A comment at level 1"
42IGCM_debug_Print 3 "Another comment at level 3"
43IGCM_debug_Print 2 "Another comment at level 2"
44
45IGCM_debug_Print 1 ${List}
46
47#=================================================
48# function IGCM_debug_PrintVariables
49
50IGCM_debug_PrintVariables 1 Option
51
Note: See TracBrowser for help on using the repository browser.