I am getting an error when using the get1Dindex function, and I'm not sure
why:
These lines of code:
printVarSummary(doy20cf)
printVarSummary(doybuff)
ii = get1Dindex(doy20cf,doybuff)
Give me this:
Variable: doy20cf
Type: integer
Total Size: 14612 bytes
3653 values
Number of Dimensions: 1
Dimensions and sizes: [3653]
Coordinates:
Variable: doybuff
Type: integer
Total Size: 124 bytes
31 values
Number of Dimensions: 1
Dimensions and sizes: [31]
Coordinates:
fatal:Dimension sizes on right hand side of assignment do not match
dimension sizes of left hand side
fatal:Execute: Error occurred at or near line 1083 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
fatal:Execute: Error occurred at or near line 140 in file BCDaily.ncl
There are repeat values in doy20cf (0-364 repeated many times), so that
get1Dindex should find the 31 numbers of interest (doybuff) approximately 10
times each. Could that be causing the problem?
-Bridget
-- 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 Mon Apr 19 15:54:36 2010
This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT