<P>
Hello,<BR>
ncdump does not work with the gradsc.<BR>
This is unix command provided your system is having the NetCDF library installed.<BR>
on unix prompt just write %ncdump input.nc > output.txt.<BR>
If you want to do this in GrAds then you just run gradsnc and open the file .nc file by <BR>
>sdfopen input.nc<BR>
>set gxout fwrite<BR>
>d var<BR>
it will write the variable in Binary form and you can convert it by a simple fortran program.<BR>
bye<BR>
<BR>
<BR>
<BR>
<BR>
On Fri, 09 Sep 2005 Mari Kauhaniemi wrote :<BR>
>Hi,<BR>
>I have tried to convert netcdf files to the ASCII using following command:<BR>
><BR>
>ncdump input.nc > output.txt<BR>
><BR>
>where input.nc is my netcdf input file and output.txt would be the<BR>
>output ASCII file.<BR>
>This command does not work. It only gives the “Unknown command: ncdump”<BR>
>-message. I have also tried it by writing a simple script test.gs:<BR>
><BR>
>‘sdfopen input.nc’<BR>
>‘ncdump input.nc > output.txt’<BR>
><BR>
>and then used a command:<BR>
><BR>
>run test<BR>
><BR>
>The same error message comes from that. I.e., sdfopen command works but<BR>
>the command ncdump doesn’t. I am using Grads version 1.8SL11 and I have<BR>
>always opened gradsnc with a command<BR>
><BR>
>ga –l<BR>
><BR>
>As I am new with Grads I may not know all (even simplest) things what<BR>
>should be done, i.e., is there some settings or other, which should be<BR>
>done before using that command, or could the reason be that the command<BR>
>ncdump doesn’t work in the version I am using.<BR>
><BR>
>Can anybody help me with this problem, please?<BR>
><BR>
>Best wishes,<BR>
>Mari Kauhaniemi<BR>
</P>
*************************************************
<br>
Shailendra Rai
<br>
K. Banerjee Centre of Atmospheric and Ocean Studies
<br>
University of Allahabad
<br>
INDIA
<br>
Phone 09415649617
<br>
Telefax +915322460974
<br>
Mail ID r_shail1977@yahoo.co.in
<br>
*************************************************
<br>
<br>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>