[gradsusr] setting zero values after 360 days

mehwish ramzan mehwish.ramzan at gmail.com
Fri Nov 14 21:53:28 EST 2014


Dear Davide,

Thank you so much. It worked perfectly :)


With Best Regards,

Mehwish

On Fri, Nov 14, 2014 at 7:30 PM, Davide Sacchetti <
davide.sacchetti at arpal.gov.it> wrote:

> I never understood if T dimension could be used for maskout expressions
>
> but there is a workaroud ... the following code will set "myvar" to
> undef after 360 days:
>
> 'set t 1 360'
> 'define myvar=precipitation'
> 'set t 1 1000'
> 'display myvar'
>
> bye bye
> Davide
>
>
> On Thu, 2014-11-13 at 14:30 +0900, mehwish ramzan wrote:
> > Dear GrADS users,
> >
> >
> > I need help in this query.
> >
> >
> > I want to set the values of daily precipitation data after 360day to
> > zero or missing value. Can anyone please guide me how can i do that.
> >
> >
> > Is it possible using "maskout" or "const" functions? I know the
> > procedure of masking the precipitation amounts but i am bit confuse
> > about using it for days.
> >
> >
> >
> >
> > Kindly guide me.
> >
> >
> > Thank You
> >
> >
> > With Best Regards,
> >
> >
> > Mehwish
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Davide Sacchetti
> Centro Funzionale Meteo Idrologico di Protezione Civile della Regione
> Liguria
> ARPAL Unità Tecnica Complessa di livello Regionale
> V.le Brigare Partigiane 2 16121 Genova (I)
> tel: +39 010 6437535                    fax: +39 010 6437520
> mail: davide.sacchetti at arpal.gov.it     web: www.meteoliguria.it
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141115/1423eab6/attachment-0001.html 


More information about the gradsusr mailing list