<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.a3 or higher, you can use sdfwrite to create a netcdf file. It's very straightforward: set the dimension environment, define your variable, use 'set sdfwrite' to set the output file name, then 'sdfwrite &lt;variablename&gt;'. Please read the documentation:&nbsp;<div><a href="http://iges.org/grads/gadoc/gradcomdsdfwrite.html">http://iges.org/grads/gadoc/gradcomdsdfwrite.html</a>. If you want to write out more than one variable, you have to write out separate files with GrADS, then concatenate them together using the NetCDF Operator 'ncks', which is a separate utility not distributed with GrADS.</div><div><br></div><div>If you are using GrADS 1.9 or earlier, then use lats4d.gs to create netcdf output.&nbsp;</div><div>--Jennifer</div><div><br><div><div><br><div><div>On Oct 5, 2009, at 2:08 AM, Ilukpitiya Mudi S P Jayawardena wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all<br><br>I want to make a&nbsp; subset file (in netCDF format)&nbsp; of a netCDF file . can I use sdfwrite ? please help me. thank in advance<br><br>Ilukpitiye</blockquote></div><div apple-content-edited="true"><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; "><span class="Apple-style-span" style="font-size: medium;"><br class="Apple-interchange-newline"></span></span></span></div></span> </div><br></div></div></div></body></html>