<div dir="ltr">Hi,<div><br></div><div style>It is possible to output it in one column.</div><div style>Try using the following command.</div><div style>'<a href="http://fprintf.gs">fprintf.gs</a> [variable to be extracted][you can add a date string here].csv%g 0'</div><div style><br></div><div style>In my case, I read a txtfile containing the names of the stations and the grads script read the txt file line by line.</div><div style>So the output of the <a href="http://fprintf.gs">fprintf.gs</a> will have the station name (look at the example belew: 'stn'). You can also use a datestring if you want to separate the outputs per day or per month etc.</div><div style><br></div><div style>Example:</div><div style>'<a href="http://fprintf.gs">fprintf.gs</a> rainc+rainnc hourlyrain_5days/Thompson/'stn'_WSM6.csv %g 0'<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font face="comic sans ms, sans-serif"><i><b><u>Lyndon Mark P. Olaguera</u></b></i></font><div><font face="comic sans ms, sans-serif">Assistant Instructor</font></div><div><font face="comic sans ms, sans-serif">Ateneo de Manila University</font></div><div><font face="comic sans ms, sans-serif">426 6001</font></div><div><font face="comic sans ms, sans-serif">loc 5695</font></div></div></div></div>
<br><div class="gmail_quote">On Mon, Dec 15, 2014 at 6:04 PM, PHILBERT LUHUNGA <span dir="ltr"><<a href="mailto:philuhunga@yahoo.com" target="_blank">philuhunga@yahoo.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Hi thank you very much, if <a href="http://fprintf.gs">fprintf.gs</a>,prec prec.txt, I get text file, when this file opened in excel, it open in several column, say column A, B,C, D, E, F, G, H........<br>
so to make it one column I cut all other column and paste on column A, is it fine to do this or do you know any method when I fprintf. Variable I can get file when opened in excel open in one column??. Thank you for your help<br>
<br>
<br>
------------------------------<br>
<span class="">On Sun, Dec 14, 2014 4:34 PM PST Lyndon Mark Olaguera wrote:<br>
<br>
>Hello,<br>
>I did not print the time variable. If you know the time step of your data<br>
>as well as the starting and end times, you can manually put the time<br>
>variable in the output of the <a href="http://fprintf.gs">fprintf.gs</a>.<br>
><br>
><br>
</span>>*Lyndon Mark P. Olaguera*<br>
<div class="HOEnZb"><div class="h5">>Assistant Instructor<br>
>Ateneo de Manila University<br>
>426 6001<br>
>loc 5695<br>
><br>
>On Sun, Dec 14, 2014 at 4:32 AM, PHILBERT LUHUNGA <<a href="mailto:philuhunga@yahoo.com">philuhunga@yahoo.com</a>><br>
>wrote:<br>
>><br>
>><br>
>><br>
>> hi Lyndon did you manage to <a href="http://fprintf.gs">fprintf.gs</a> time variable?? , how did you do it<br>
>><br>
>><br>
>> ------------------------------<br>
>> On Fri, Dec 12, 2014 8:20 PM PST Lyndon Mark Olaguera wrote:<br>
>><br>
>> >Hi All,<br>
>> ><br>
>> >I'd like to extract data values from all the gridpoints in a domain. How<br>
>> >can I do this in GRADS?<br>
>> >Before I used the <a href="http://fprintf.gs">fprintf.gs</a> to extrac values from specific gridpoints.<br>
>> >Any suggestion?<br>
>> ><br>
>> ><br>
>> ><br>
>> >*Lyndon*<br>
>><br>
>> _______________________________________________<br>
>> gradsusr mailing list<br>
>> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>><br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div></div>