Re: Problems with wgt_areaave_Wrap

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 29 2012 - 06:06:54 MST

I would speculate that your SST variable must be scaled.

x =
wgt_areaave_Wrap(fsst->sst(tStrt:tLast,{latS:latN},{lonL:lonR}),1.0,1.0,0)
====

Try

    sst = sst->sst(tStrt:tLast,{latS:latN},{lonL:lonR})
    printVarSummary(sst)
    print("sst: min="+min(sst)+" max="+max(sst))

Are 'scale_factor' and/or 'add_offset' attributes present?

On 11/29/12 4:48 AM, Renata Tedeschi wrote:
> Good morning.
>
> I made a script to calculate a ENSO index, for this I used
> wet_areaave_Wrap to calculate average SST in Nino3 region. When I print
> the result, the value is 100 times higher than expected. Why this occurs?
>
> I attached the script.
>
> Renata Tedeschi
>
>
> _______________________________________________
> 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 Thu Nov 29 06:07:14 2012

This archive was generated by hypermail 2.1.8 : Fri Dec 07 2012 - 13:30:06 MST