soil_carbon/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.
     1 ;************************************************
     2 ;    Read ascii, Write nc                         
     3 ;************************************************
     4 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"  
     5 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"  
     6 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"   
     7 ;************************************************
     8 begin
     9 
    10   b = "zot005_45D2_seas.co2"                    
    11    ncol = 4
    12    data = readAsciiTable(b, ncol, "float", (/10,17/))
    13    print (data)
    14 
    15    ncol = 5
    16    data2 = readAsciiTable(b, ncol, "float", 16)
    17    print (data2)
    18   
    19 end