<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Chuck,</DIV><DIV>I tried your suggestion but got the error "define does not yet support station data...." I forgot to mention I'm using V1.8SL11 on a Windows XP. Perhaps it works on the newer version?</DIV><DIV> </DIV><DIV>I'll pursue Jennifer Adams' subsequent response to my question. Thanks anyway!</DIV><DIV>Stephen Mc<BR></DIV><FONT color=#990099>-----GRADSUSR@LIST.CINECA.IT wrote: -----<BR><BR></FONT><blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">To: GRADSUSR@LIST.CINECA.IT<BR>From: Charles Seman <Charles.Seman@NOAA.GOV><BR>Sent by: GRADSUSR@LIST.CINECA.IT<BR>Date: 02/02/2007 04:22PM<BR>Subject: Re: Fwrite Gr2stn Output<BR><BR><TT><FONT size=2>Stephen,<BR></FONT></TT><BR><TT><FONT size=2>Have you tried defining a variable, like:<BR></FONT></TT><BR><TT><FONT size=2>define tmp2mc = gr2stn(tmp2m-273.16, -75.83, 40.05)<BR></FONT></TT><BR><TT><FONT size=2>and then tried writing this to an fwrite file?<BR></FONT></TT><BR><TT><FONT size=2>Hope this helps,<BR></FONT></TT><TT><FONT size=2>Chuck<BR></FONT></TT><BR><TT><FONT size=2>Stephen R McMillan wrote:<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> Hello,<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> Is it possible to fwrite time series output, for a point using the<BR></FONT></TT><TT><FONT size=2>> gr2stn interpolation function? I can do it for a specified gridpoint,<BR></FONT></TT><TT><FONT size=2>> but not for an interpolated point using gr2stn. For example:<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> I can do following without a problem (say, output from the GFS model):<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> set t 1 last<BR></FONT></TT><TT><FONT size=2>> set lat 40<BR></FONT></TT><TT><FONT size=2>> set lon -76<BR></FONT></TT><TT><FONT size=2>> set gxout fwrite<BR></FONT></TT><TT><FONT size=2>> set fwrite d:\temp\test.dat<BR></FONT></TT><TT><FONT size=2>> d tmp2m-273.16<BR></FONT></TT><TT><FONT size=2>> disable fwrite<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> However, using same file and settings but for a point interpolated to<BR></FONT></TT><TT><FONT size=2>> -75.83 and 40.05:<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> d gr2stn(tmp2m-273.16, -75.83, 40.05)<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> Above will display fine on screen, but will not fwrite to specified<BR></FONT></TT><TT><FONT size=2>> file. Any help/suggestions would be appreciated (including "not<BR></FONT></TT><TT><FONT size=2>> possible"). I am aware there are other methods such as using the 'set<BR></FONT></TT><TT><FONT size=2>> gxout print' and write functions, for example (and have used<BR></FONT></TT><TT><FONT size=2>> successfully), but it would be much simpler and more efficient to<BR></FONT></TT><TT><FONT size=2>> output to a binary file using fwrite.<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> Thanks--<BR></FONT></TT><TT><FONT size=2>> Stephen McMillan<BR></FONT></TT><TT><FONT size=2>> Planalytics<BR></FONT></TT><TT><FONT size=2>><BR></FONT></TT><TT><FONT size=2>> ***************************************************<BR></FONT></TT><TT><FONT size=2>> The information contained in this e-mail message is intended only for<BR></FONT></TT><TT><FONT size=2>> the use of the recipient(s) named above and may contain information<BR></FONT></TT><TT><FONT size=2>> that is privileged, confidential, and/or proprietary. If you are not<BR></FONT></TT><TT><FONT size=2>> the intended recipient, you may not review, copy or distribute this<BR></FONT></TT><TT><FONT size=2>> message. If you have received this communication in error, please<BR></FONT></TT><TT><FONT size=2>> notify the sender immediately by e-mail, and delete the original message.<BR></FONT></TT><TT><FONT size=2>> ***************************************************<BR></FONT></TT><BR><TT><FONT size=2>--<BR></FONT></TT><BR><TT><FONT size=2>Please note that Charles.Seman@noaa.gov should be considered my NOAA<BR></FONT></TT><TT><FONT size=2>email address, not cjs@gfdl.noaa.gov.<BR></FONT></TT><BR><TT><FONT size=2>********************************************************************<BR></FONT></TT><TT><FONT size=2>Charles Seman Charles.Seman@noaa.gov<BR></FONT></TT><TT><FONT size=2>U.S. Department of Commerce / NOAA / OAR<BR></FONT></TT><TT><FONT size=2>Geophysical Fluid Dynamics Laboratory voice: (609) 452-6547<BR></FONT></TT><TT><FONT size=2>201 Forrestal Road fax: (609) 987-5063<BR></FONT></TT><TT><FONT size=2>Princeton, NJ 08540-6649 <A href="http://www.gfdl.noaa.gov/~cjs/" target=blank >http://www.gfdl.noaa.gov/~cjs/</A></FONT></TT><BR><TT><FONT size=2>********************************************************************<BR></FONT></TT><BR><TT><FONT size=2>"The contents of this message are mine personally and do not reflect<BR></FONT></TT><TT><FONT size=2>any position of the Government or NOAA."</FONT></TT> </blockquote><br></FONT><BR>
<BR>
***************************************************<BR>
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.<BR>
***************************************************<BR>