<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">GrADS requires a special format for a binary file containing station data. You cannot just use a DSET entry in a descriptor file to point to you your ascii data file. Converting your ascii file to this special binary format requires some customized programming. The documentation page at <a href="http://iges.org/grads/gadoc/aboutstationdata.html">http://iges.org/grads/gadoc/aboutstationdata.html</a> has some code samples to help you get started. <div><br></div><div>—Jennifer<br><div><br><div><div><br><div><div>On Jan 25, 2015, at 9:01 AM, dolesibeni <<a href="mailto:dolesibeni@gmail.com">dolesibeni@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div><div>Dear Sir</div><div>Sorry for writing you pesronally instead of using the forum. I have on several occassion tried to ask through the forum but i dont get response.</div><div>My question is i have station data which i would like to read using grads. So from search i noted that i need to convert my station dsts to gridded format either using fortran or c. I tried several times but i am unable to come up with a .dat or .bin file which can be read by grads using my descriptor file.ctl.</div><div>My Datas is in this format: </div><div>Stn name year month day var1 var2 var3 var4</div><div>A 2001 1 1 234 210 329 543</div><div><br></div><div>My descriptor file looks like this</div><div>Dset rainfall.dat</div><div>Dtype station</div><div>Stnmap rainfall.map</div><div>Undef -999</div><div>Title stationdata</div><div>Tdef 4 linear 1jan2000 1dy</div><div>Vars 4</div><div>Janprc 0 99 janary daily rainfall</div><div>Febprc 0 99 february daily rainfall</div><div>........</div><div>Up to ApRil</div><div>Endvars</div><div><br></div><div>Can you please help me to convert my station dats to grads format so that i can read it in grads.</div><div><br></div><div>Regards,</div><div>Charles Vanya</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div style="font-size:100%">Sent from Samsung tablet</div></div> </div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span><br class="Apple-interchange-newline">
</div>
<br></div></div></div></div></body></html>