<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Apr 18, 2010, at 10:44 PM, neelima wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Following your mail, I have made changes in the .bashrc file. Here is my .bashrc file<br><br>export NCARG_ROOT=/ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar.gz_FILES/<br>export PATH=/ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar.gz_FILES/bin/:$PATH<br></blockquote><div><br></div>Neelima,</div><div><br></div><div>It looks like you don't have the full path correct. &nbsp;Are your files indeed installed</div><div>to the root directory "/ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar.gz_FILES"?</div><div><br></div><div>Or, is this a subdirectory of another directory, say: &nbsp;/home/neelima/ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar.gz_FILES?</div><div><br></div><div>If you cd to this "ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar.gz_FILES" directory and type:</div><div><br></div><div>&nbsp;&nbsp; pwd</div><div><br></div><div>what does it report?</div><div><br></div><div>Also, if you can't run "env", then it sounds like something is wrong with your UNIX shell.</div><div><br></div><div>What kind of window are you typing "env" from? Are you able to type other UNIX</div><div>commands, like:</div><div><br></div><div>&nbsp;&nbsp; ls</div><div><br></div><div>?</div><div><br></div><div>--Mary</div><div><br><blockquote type="cite"> <br>After setting this NCARG_ROOT also, it is showing the same error, whn I run <br><span style="color: rgb(255, 102, 102);">ng4ex gusun01n</span>, as <br><br><span style="color: rgb(255, 102, 102);">Resource directory &lt;/ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar.gz_FILES/lib/ncarg/resfiles&gt; does not exist.</span><br> <br>Also when I type the command <span style="color: rgb(255, 102, 102);">env | NCARG_ROOT</span>, it is showing that the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 102, 102);">command is not found </span><br style="color: rgb(255, 102, 102);"> <br><br>I dont require the graphics of NCL, so I didnt install the section " <b>Set the DISPLAY environment variable to indicate where to display graphics".</b><br><br>I am having gfortran (f95 compiler) on my linux pc. Hope all these information will be useful in helping me<br><br>Thanku &amp; Regards,<br>Neelima<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 9:31 PM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""> I think you have NCARG_ROOT set incorrectly.&nbsp;Did you follow the instructions at:<div><div><br></div><div><a href="http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT" target="_blank">http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT</a></div> <div><br></div><div>You can type:</div><div><br></div><div>&nbsp;&nbsp;env | NCARG_ROOT</div><div><br></div><div>to see what NCARG_ROOT is set to.</div><div><br></div><div>If you're not sure what it should be set to, try this:</div> <div><br></div><div>&nbsp;&nbsp; which ncl</div><div><br></div><div>Whatever this echos, remove the "/bin" and this is what NCARG_ROOT should be.</div><div>For example, if "which ncl" returns "/usr/local/bin", then NCARG_ROOT should be</div> <div>set to /usr/local.</div><div><br></div><font color="#888888"><div>--Mary</div></font><div><div></div><div class="h5"><div><br><div><div>On Apr 16, 2010, at 4:18 AM, neelima wrote:</div><br><blockquote type="cite">Thanku Sir,<br> <br>yaa , i have subscirbed to it. But I didnt get the procedure , how to post a new thread.<br><br>Anyway, coming to my problem.....<br><br>I have downloaded the ncl_ncarg-5.1.1.Linux_x86_x64_gcc412.tar.gz file, (according to system requirement) and installed the NCL, following the instructions given in the following site:&nbsp; <br> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <a href="http://www.ncl.ucar.edu/Download/install.shtml" target="_blank">http://www.ncl.ucar.edu/Download/install.shtml</a><br><br>As I am having the bash shell, i made the path settings in .bashrc file and in the installation site, as mentioned, to verify the whether NCL is installed properly or not, I typed <br> <br><span style="color: rgb(255, 102, 102);">ng4ex gsun01n</span><br><br>The following error has been displayed<br><br><span style="color: rgb(255, 102, 102);">Resource directory &lt;/lib/ncarg/resfiles&gt; does not exist.</span><br> <br><br>Please suggest me, how to proceed further, I think, to run ncl_convert2nc file, first I have to install NCL in the pc. I am using Linux CentOS operating system, with gfortran (f95) <br><br>Thanku &amp; Regards,<br> Neelima<br><br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 8:19 PM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <div>Dear Neelima,</div><div><br></div><div>In the future, please post NCL installation questions to</div><div><a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>. You need to subscribe first:</div> <div><br></div><div>&nbsp;&nbsp; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a></div><div><br></div><div>It is necessary to install the NCL software before you can run ncl_convert2nc.</div> <div><br></div><div>You said you were unsuccessful, but you didn't say how. &nbsp;Did you get an error message?</div><div>If so, what was the error message?</div><div><br></div><font color="#888888"><div>--Mary</div></font><div> <div></div><div><div><br></div><div><div>On Apr 14, 2010, at 11:57 PM, neelima wrote:</div><br><blockquote type="cite">Dear Sir,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I want to convert the NCEP/NOAA&nbsp; nww3.wind.grb files, into netcdf or ascii format, for using as an input for the WAVEWATCH III model.<br> <br>From the google search, I found that NCL_CONVERT2NC is the tool to convert grib files to netcdf, so I have downloaded the ncl_ncarg-5.1.1 zip file, from <a href="http://www.earthsystemgrid.org/" target="_blank">www.earthsystemgrid.org</a> (ESG website). <br> <br>I am working on 64-bit linux, CentOS operating system. I tried to install the ncl_ncarg-5.1.1, but am not successful in this.<br><br>Is it necessary to install this first and then run the command, "ncl_convert2nc nww3.wind.199806.grb"? I tried both the options, instaling the folder and simply running the above command. But I am unsuccessful in both the things.<br> <br>I will be thankful to you, if you please kindly let me know the procedure of using the ncl_convert2nc tool for converting the grib files, into netcdf. <br><br>Thanku &amp; Regards,<br>Neelima<br clear="all"><br>-- <br> Ch.Neelima,<br>Ocean Engineering Department,<br>IIT Chennai.<br><br></blockquote></div><br></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Ch.Neelima,<br>Ocean Engineering Department,<br>IIT Chennai.<br> <br></blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Ch.Neelima,<br>Ocean Engineering Department,<br>IIT Chennai.<br><br></blockquote></div><br></body></html>