oacres and station data
Matt Alonso
matt.alonso at GMAIL.COM
Tue Aug 14 13:21:10 EDT 2007
I wanted to say thanks very much to Jim Potemra and Isilda da Cunha Menezes
for their help and patience with the station plotting problem I was having.
However, the solution has not created another issue. It appears as though
the largest radius of influence you can use is 50; what are the units on
that by the way? The data I have is somewhat sparse though so I end up with
little circles contoured and a good amount of empty space. Is there any way
to change the maximum radius, or anything else for that matter, so that the
entire area of interest can be shaded/contoured without having to modify the
source code?
I did find the spot in the source code (gafunc.c) to increase the maximum
radius however I seem to be having issues building GrADS from the source
(without any modifications) results in the error below. Anyone have any
ideas on either issue?:
[root at devel grads-1.9b4]# make
Making all in src
make[1]: Entering directory `/root/new_grads/grads-1.9b4/src'
make all-am
make[2]: Entering directory `/root/new_grads/grads-1.9b4/src'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'grads.c' || echo './'`grads.c
grads.c: In function â:
grads.c:334: warning: incompatible implicit declaration of built-in function
â
grads.c: In function â:
grads.c:528: warning: incompatible implicit declaration of built-in function
â
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxsubs.c' || echo './'`gxsubs.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxmeta.c' || echo './'`gxmeta.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxchpl.c' || echo './'`gxchpl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxcntr.c' || echo './'`gxcntr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxstrm.c' || echo './'`gxstrm.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxwmap.c' || echo './'`gxwmap.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxshad.c' || echo './'`gxshad.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gaexpr.c' || echo './'`gaexpr.c
gaexpr.c: In function â:
gaexpr.c:67: warning: incompatible implicit declaration of built-in function
â
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gafunc.c' || echo './'`gafunc.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gautil.c' || echo './'`gautil.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gagx.c' || echo './'`gagx.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gscrpt.c' || echo './'`gscrpt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gamach.c' || echo './'`gamach.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'bufrstn.c' || echo './'`bufrstn.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gabufr.c' || echo './'`gabufr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gabufrtbl.c' || echo './'`gabufrtbl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxX.c' || echo './'`gxX.c
gxX.c:405:67: warning: trigraph ??- ignored, use -trigraphs to enable
gxX.c:421:67: warning: trigraph ??- ignored, use -trigraphs to enable
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../supplibs/include -g -O -c `test -f
'gxdxwd.c' || echo './'`gxdxwd.c
gxdxwd.c:25: error: conflicting types for â
gxdxwd.c: In function â:
gxdxwd.c:102: warning: incompatible implicit declaration of built-in
function â
gxdxwd.c:110: warning: incompatible implicit declaration of built-in
function â
gxdxwd.c:161: warning: incompatible implicit declaration of built-in
function â
gxdxwd.c: In function â:
gxdxwd.c:296: warning: incompatible implicit declaration of built-in
function â
gxdxwd.c: In function â:
gxdxwd.c:314: warning: incompatible implicit declaration of built-in
function â
gxdxwd.c: In function â:
gxdxwd.c:358: warning: incompatible implicit declaration of built-in
function â
make[2]: *** [gxdxwd.o] Error 1
make[2]: Leaving directory `/root/new_grads/grads-1.9b4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/new_grads/grads-1.9b4/src'
make: *** [all-recursive] Error 1
On 8/11/07, Isilda da Cunha Menezes <isilda at uevora.pt> wrote:
>
> Hello Matt!
> You must have the ctl file that specifie the stations data, you should
> also have a binary file of an unitary grid that cover the whole area of
> the stations and a ctl where it specifies this grid. Attention that the
> date from both ctls has to be the same ones. After running the command
> stnmap (I use the stnmap -1) you should open both ctls in the grads and
> not to forget defining "set dfile 2" for the open file in second place.
> Then display the data with the command oacres( grid variable, stations
> variable).
>
> Best regards
> Isilda
>
>
>
> > Good Afternoon,
> >
> > I am attempting to convert station data into gridded such that it can be
> > contoured and not just appear as regular station plots but I am not
> quite
> > sure how to do that. I already have my data in a grads readable format
> > and
> > can display it as a station model, however I seem to be having some
> > difficulty moving beyond that.
> >
> > I (as well as at least one other GrADS user I have spoken with) would
> > really
> > appreciate it if someone could give us some step by step instructions on
> > how
> > to deal with this. Do we have to have another file open that contains
> > gridded data that GrADS will interpolate to? I have attached the sample
> > station data file I am working with in case it might help; I am looking
> to
> > contour the "tmp" variable.
> >
> > Thanks again very much for your help, we really appreciate it.
> >
> > Cheers,
> > Matt
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070814/acb15e95/attachment.html
More information about the gradsusr
mailing list