Help! How to get the weather information of a point plot?

z z hougang at GMAIL.COM
Sun Jan 30 16:32:20 EST 2005


Dear Lee
Thanks for your reply. But I still have a question about the fwrite.
For example:
I want to collect the paramters value of the point(-90 45)) and write
these paramters to a binary file. I wrote the script like this:

'set lon -90 -90'
'set lat 45 45'
'set t 1'
'set gxout fwrite'
'set fwrite output.dat'
'd z'
'd u'
'disable fwrite'

The output.dat file was generated. But how can i open and read this
file from another application? is it a standard binary file? I got
this unreadable info "C p·?㘠" when I try to open this file in an
text editor.
Is my understand right? expecting your response
Thanks alot




On Sat, 29 Jan 2005 18:05:27 -0700 (MST), labyerle at met.utah.edu
<labyerle at met.utah.edu> wrote:
> Harry,
> If you want to use the data in another application you can use fwrite (see
> grads index page), to write the parameter(s) to an unformatted binary
> file.
>
> Lee
>
>
> > Dear all,
> > Is there any way to get the weather value of one point plot using GrADS?
> > For example:
> > I set the longitude -90, latitude 46 (that will be a point), there are
> > some weather parameter (such as u-wind, air temperature, etc) defined
> > in the control file. How can I get these weather value(wind air
> > temperature) of this point? so that these value can be called by
> > another program (such as a Java application)
> > Thanks in advance
> > harry
> >
>
>



More information about the gradsusr mailing list