In your script, you apply:
msp=mask(t,mask1,1)
This crate a variable "msp" that has the masked areas.
It does not affect the variable "t" in any way.
later, you plot "t" which has *not* been masked.
plot(0) = gsn_csm_contour_map(wks,t,res)
================================================
Change the mask statemnet to
t = mask(t, mask1, 1)
then your script will 'work'
Good luck
Guilherme Martins wrote:
> Hi users,
>
> I did a ncl script to do plot a variable with mask but the result isn't
> correct.
>
> In attach are my files. Does anyboby can help me?
>
> Thanks,
>
> Guilherme.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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 Sat Apr 04 2009 - 08:12:13 MDT
This archive was generated by hypermail 2.2.0 : Tue Apr 07 2009 - 10:01:36 MDT