Fadzil,<br>I believe you can do it using ncgen. Here is a reference page: <a href="http://www.unidata.ucar.edu/software/netcdf/docs/ncgen-man-1.html">http://www.unidata.ucar.edu/software/netcdf/docs/ncgen-man-1.html</a><br>
<br>Jeff Duda<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 10:40 AM, fadzil mnor <span dir="ltr"><<a href="mailto:fadzilmnor84@gmail.com">fadzilmnor84@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
hi,<br>
if he wants to convert those *.ascii file to *.nc file, how can we do it?<br>
is it possible just convert it in linux command or need to do something else.<br>
<div><div></div><div class="h5"><br>
On 11/22/10, Huddleston, John <<a href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>> wrote:<br>
> Ismaila<br>
><br>
> Are you trying to write ASCII data into netCDF format; or, are you needing<br>
> help creating a GrADS control script to read the netCDF file? Depending upon<br>
> which way you are going, we need more information.<br>
><br>
> John Huddleston<br>
><br>
> ________________________________________<br>
> From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On<br>
> Behalf Of Ismaila Diallo [<a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>]<br>
> Sent: Monday, November 22, 2010 3:47 AM<br>
> To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> Subject: [gradsusr] ascii data in netcdf<br>
><br>
> Dear Grads user's<br>
><br>
> I have some station data in ascii format therefore may i convert this data<br>
> in<br>
> netcdf format with grads. If it possible, so could someone teach me how to<br>
> do<br>
> this script.<br>
> Hope i will get your great help to resolve my problem<br>
> Best Regard.<br>
><br>
> Ismaila<br>
><br>
><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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>