Re: pattern_cor

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue Jul 12 2011 - 10:13:20 MDT

Hi Mark

Could you please provide me with a file containing tave1 and tave3 ?

    diro = "./"
    filo = "test_tave.nc"
    systemfunc("/bin/rm -f "+diro+filo)
    fo = addfile(diro+filo, "r")
    fo->tave1 = tave1
    fo->tave3 = tave3

On 7/12/11 7:35 AM, mark collier wrote:
> Hi,
> I get a reasonable value when I do:
>
> rmsd=dim_rmsd_n(tave1,tave3,(/0,1/))
>
> where tave1/tave3 both are a simple 2d array (lat,lon)
>
> whereas when I do a
>
> ara=pattern_cor(tave1,tave3,1,1)
>
> I get a:
> fatal:["NclVar.c":1376]:Assignment type mismatch, right hand side
> can't be coerced to type of left hand side
> fatal:Execute: Error occurred at or near line 12811 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
>
> fatal:Execute: Error occurred at or near line 12929 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
>
> fatal:Execute: Error occurred at or near line 180 in file stats_hist.ncl
>
> Supposedly pattern_cor is available for ncl6 which I'm using. Might
> there be some other reason why this is failing?
>
> Regards,
> Mark.
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 12 10:13:31 2011

This archive was generated by hypermail 2.1.8 : Tue Jul 12 2011 - 15:03:53 MDT