Problem with addfiles?

From: Bridget Thrasher <bthrasher_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 22 2010 - 22:20:45 MST

I am finding some peculiar behavior when getting data from a set resulting
from a call to addfiles. Both arrays should be the same size (50x180x360),
but the second is not concatenating. Am I doing something wrong?

Code snippets:

fall20c = addfiles(files20c,"r") ; files20c contains 5 files, each with 10
years of daily data
ListSetType(fall20c,"cat")

fallobs = addfiles(filesobs,"r") ; filesobs contains 50 files, each with 1
year of daily data
ListSetType(fallobs,"cat")

day_data_20c = fall20c[:]->$var$(d::365,:,:)
printVarSummary(day_data_20c)

sortobs = fallobs[:]->$var$(d,:,:)
printVarSummary(sortobs)

Output to screen:

Variable: day_data_20c
Type: float
Total Size: 12960000 bytes
            3240000 values
Number of Dimensions: 3
Dimensions and sizes: [time | 50] x [latitude | 180] x [longitude | 360]
Coordinates:
            time: [711751.5..729636.5]
            latitude: [-89.5..89.5]
            longitude: [ 0.5..359.5]

Variable: sortobs
Type: float
Total Size: 259200 bytes
            64800 values
Number of Dimensions: 2
Dimensions and sizes: [lat | 180] x [lon | 360]
Coordinates:
            lat: [-89.5..89.5]
            lon: [ 0.5..359.5]

-- 
Bridget Thrasher, PhD
Postdoctoral Researcher
Climate Central
www.climatecentral.org

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jan 22 22:20:54 2010

This archive was generated by hypermail 2.1.8 : Mon Feb 01 2010 - 08:05:34 MST