<div dir="ltr"><div><div><div><div>Hi all,<br></div>I have station data in a text file and I want to read it using grads and output as a csv file.<br></div>The problem is the dates are separated by a backslash...<br></div>

here&#39;s a sample format:<br><br></div><div>The text file contains the following data.<br></div><div><br></div>yy/mm/dd/hh               pressure           rain              TEMPERATURE      wind speed<br><div><div>2012/08/06/00               10000               2.5                         300                   45<br>

...<br>...<br>...<br>....<br><br><br></div><div>I want to oputput this in a csv format such that the the years, months, days, and hours are in separated in columns...<br></div><div>like:<br><br></div><div>yy             mm           dd      hh      rain       temperature           wind speed<br>

<br><br><br></div><div>I can&#39;t do it in fortran so i guess its easier to do this in GRADs..<br><br><br></div><div>thanks for any help.<br></div><div>Lyndon <br><br></div></div></div>