possible bug in month_to_annual

From: <u.utku.turuncoglu_at_nyahnyahspammersnyahnyah>
Date: Sat May 22 2010 - 11:15:33 MDT

Hi,

I try to use month_to_annual function (var = month_to_annual(var_raw, 1))
but it gives the following error,

fatal:mask: dimension sizes of parameter 0 and parameter 1 do not match
fatal:Execute: Error occurred at or near line 8537 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl

The input array dimension is,

-- var_raw
(0) 360
(1) 146
(2) 196

and it contains _FillValue attribute. So, i add the following lines into
"contributed.ncl" file

              print(dimsizes(xAnnual(nyr,:,:)))
              print(dimsizes(nGood))

just before the line that is indicated in error message. The dimension
sizes are,

-- xAnnual
(0) 146
(1) 196

-- nGood
(0) 12
(1) 146

so the array sizes that are used in mask function is not same. How can
solve it?

Thanks,

--ufuk

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat May 22 11:15:42 2010

This archive was generated by hypermail 2.1.8 : Wed May 26 2010 - 10:39:13 MDT