co2/01.test.read.ncl
author Forrest Hoffman <forrest@climatemodeling.org>
Thu, 26 Mar 2009 14:02:21 -0400
changeset 1 4be95183fbcd
permissions -rw-r--r--
Modifications to scoring and graphics production for the final version of code for the C-LAMP paper in GCB.
forrest@0
     1
;************************************************
forrest@0
     2
;    Read ascii, Write nc                         
forrest@0
     3
;************************************************
forrest@0
     4
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"  
forrest@0
     5
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"  
forrest@0
     6
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"   
forrest@0
     7
;************************************************
forrest@0
     8
begin
forrest@0
     9
forrest@0
    10
  b = "zot005_45D2_seas.co2"                    
forrest@0
    11
   ncol = 4
forrest@0
    12
   data = readAsciiTable(b, ncol, "float", (/10,17/))
forrest@0
    13
   print (data)
forrest@0
    14
forrest@0
    15
   ncol = 5
forrest@0
    16
   data2 = readAsciiTable(b, ncol, "float", 16)
forrest@0
    17
   print (data2)
forrest@0
    18
  
forrest@0
    19
end