<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">If you are using GrADS version 2.0.3 or later, you can use the 'sdfwrite' command to write out a NetCDF file. The documentation is at <a href="http://www.iges.org/grads/gadoc/gradcomdsdfwrite.html">http://www.iges.org/grads/gadoc/gradcomdsdfwrite.html</a><div>--Jennifer<br><div><div><br><div><div>On Sep 10, 2009, at 12:21 AM, Farshid Daryabor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear All User<br>I have binary data ".dat" I want convert it to netcdf ".nc" by using grads, I create control file ".ctl" for it , is it ok. After that I use this command for convert to ".nc"<br> "set gxout fwrite"<br>"set fwrite <a href="http://my_data.nc/" target="_blank">my_data.nc</a>"<br><br>but not working, could you help me for solving this problem.<br><br>Best Regards<br>F.Daryabor<br> <br>Center for Tropical and Climate Change System<br> Faculty of Sciences and Technology <br>National University of Malaysia (UKM)<br>Bangi 43600<br>Selangor<br>Malaysia<br></blockquote></div><br><div> <span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div>jma@cola.iges.org</div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></div></body></html>