to clean the interpolation of neighboring areas
bhatt vihang
vihang_75 at YAHOO.COM
Thu Feb 2 07:25:04 EST 2006
yes you need to do maskout command. I have never used
station data. But as i know grads, it doesnot
interpolate anything. probably it has been already
done before ploting in grads.
you required to do in case is that generate a mask(-1
& 1) file using topography data for your grid. assign
maskvale -1 to those location where you donot want to
plot the data otherwise 1.
write ctl file for the same (i assume you know it)
first open station file
second open mask file
use command d maskout(stndata,mask)
this should work.
regards,
vihang bhatt
--- Isilda da Cunha Menezes <isilda at UEVORA.PT> wrote:
> Thank you vihang, what I wanted to say in my mail is
> that I just want to
> have a plot with the data in shaded inside of
> Portugal and not in the
> neighboring areas as it appears me in the plot, with
> shaded in Spain and
> in Atlantic ocean due to the interpolation that the
> grads does. Is the
> command mask that indicates me that I should use?
>
> The data that I use in the plot are station data of
> Portugal region
>
> Isilda
>
>
>
>
>
>
> > i am sorry but i could not understand clearly what
> you
> > want. but i suppose you need to clear smoothing
> due to
> > shaded plot. if it is there then use
> >
> > set gxout grfill
> >
> > if it is about masking the regtion then you can
> > generate a mask file. in this mask file assign
> > negitive mask values for location you want to
> > mask.then use
> >
> > d maskout(xx,yy) where xx is variable for the data
> to
> > be ploted and yy is variable for the mask.
> >
> > hope it is not very confusing.
> >
> > vihang bhatt
> >
> > --- Isilda da Cunha Menezes <isilda at UEVORA.PT>
> wrote:
> >
> >> Hello!
> >> I would like to make a question to the users:
> >>
> >> I have a shaded plot of station data, and the
> grads
> >> interpolated the
> >> values to the vicinity of the country where I
> want
> >> to made the study and I
> >> don't want that this happens. There's someone
> know
> >> how I can clean the
> >> surrounding areas to that country for this not to
> >> appear in my shaded
> >> plot?
> >>
> >> I appreciate any hell
> >>
> >> Isilda
> >>
> >
> >
> > Vihang Bhatt
> > Project Scientist
> > Indian Institute of Technology-Delhi
> > Hauz Khas
> > New Delhi
> > web: http://www.geocities.com/vihang_75/index.html
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
>
Vihang Bhatt
Project Scientist
Indian Institute of Technology-Delhi
Hauz Khas
New Delhi
web: http://www.geocities.com/vihang_75/index.html
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the gradsusr
mailing list