<div dir="ltr">It is always annoying when someone writes this, but... I think if you carefully follow the instuctions (<a href="http://www.iges.org/grads/downloads.html">http://www.iges.org/grads/downloads.html</a>) you will be set easily <div>
<br></div><div style>Best regards</div><div style>Luis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 1, 2013 at 2:09 PM, Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Did you try getting the CentOS x86-64 build from <a href="http://iges.org/grads/downloads?" target="_blank">iges.org/grads/downloads?</a> That should work. <div>
GrADS won't work with udunits2, so that build set up by the 'apt-get install grads' command should be uninstalled. </div><div>--Jennifer</div><div><br></div><div><br></div><div><div><div class="h5"><br><div><div>
On Jun 1, 2013, at 12:29 PM, Mohsen Soltani wrote:</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Should I copy it in the same directory where the Grads itself located? Is it possible? </div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Any suggestion?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra">
<br clear="all">
<div><div dir="ltr"><span><span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:"Arial","sans-serif";color:#888888" lang="AR-SA"><span></span></span></span>--<div>
some are weather-wise some are otherwise!</div><div>--<br>Best Wishes, <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br><div class="gmail_quote">On Sat, Jun 1, 2013 at 9:09 AM, M.Mahakur <span dir="ltr"><<a href="mailto:mmahakur@tropmet.res.in" target="_blank">mmahakur@tropmet.res.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
probably udunits not in proper path or missing..<br>
<div><div><br>
----- Original Message -----<br>
From: Mohsen Soltani <<a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
Sent: Sat, 01 Jun 2013 21:03:22 +0530 (IST)<br>
Subject: [gradsusr] Can't open .nc file in Grads in Linux machine!<br>
<br>
Hi,<br>
<br>
I installed Grads in Linux - Ununtu version, using the following command:<br>
"sudo apt-get install grads" . And then, to find out where the Grads has<br>
been installed in Linux, in terminal I typed: "whereis grads", then the<br>
Grads directory appeared something like this: "usr/share... etc.". I copied<br>
the grads into my home directory. And then, typed "grads" in terminal and<br>
grads opened. Next, I did "!ls" and the following data were shown:<br>
*************************************************<br>
ga-> !ls<br>
grads <a href="http://hgt.nc/" target="_blank">hgt.nc</a> <a href="http://slp.nc/" target="_blank">slp.nc</a> <a href="http://air.nc/" target="_blank">air.nc</a> and other things...<br>
ga-><br>
*********************************<br>
And I wanted to open a NetCDF file, say: <a href="http://hgt.nc/" target="_blank">hgt.nc</a>. Therefore, I typed "sdfopen<br>
<a href="http://hgt.nc/" target="_blank">hgt.nc</a> ", but the following error appeared: (that's interesting to know<br>
that, when I typed sdfopen hg...., I hit the Tab, and the rest of the text<br>
appeared automatically):<br>
*********************************<br>
ga-> sdfopen <a href="http://hgt.nc/" target="_blank">hgt.nc</a><br>
Scanning self-describing file: <a href="http://hgt.nc/" target="_blank">hgt.nc</a><br>
Definition of "kt" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
90, overrides prefixed-unit "1000000 kilogram"<br>
Definition of "microns" in "/usr/share/xml/udunits/udunits2-common.xml",<br>
line 308, overrides prefixed-unit "1e-15 second"<br>
Definition of "ft" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
405, overrides prefixed-unit "1e-12 kilogram"<br>
Definition of "yd" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
413, overrides prefixed-unit "8.64e-20 second"<br>
Definition of "pt" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
634, overrides prefixed-unit "1e-09 kilogram"<br>
Definition of "at" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
1031, overrides prefixed-unit "1e-15 kilogram"<br>
Definition of "ph" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
1549, overrides prefixed-unit "3.6e-09 second"<br>
Definition of "nt" in "/usr/share/xml/udunits/udunits2-common.xml", line<br>
1556, overrides prefixed-unit "1e-06 kilogram"<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
gadsdf: Error parsing time units in SDF file.<br>
ga-><br>
*************************<br>
I tried to open another data:<br>
*********<br>
ga-> sdfopen <a href="http://slp.nc/" target="_blank">slp.nc</a><br>
Scanning self-describing file: <a href="http://slp.nc/" target="_blank">slp.nc</a><br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
Success<br>
ut_get_converter(): Couldn't get converter from seconds<br>
ut_get_converter(): Units in different unit-systems<br>
Success<br>
ut_get_converter(): Couldn't get converter from seconds<br>
ut_get_converter(): Units not convertible<br>
Success<br>
ut_get_converter(): Couldn't get converter from seconds<br>
gadsdf: Error parsing time units in SDF file.<br>
ga-><br>
********************************<br>
Again, another data:<br>
***********************<br>
ga-> sdfopen <a href="http://air.nc/" target="_blank">air.nc</a><br>
Scanning self-describing file: <a href="http://airtemperature.nc/" target="_blank">airtemperature.nc</a><br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
ut_get_converter(): Units not convertible<br>
gadsdf: Error parsing time units in SDF file.<br>
ga-><br>
***************<br>
As you see, none of them opened! Wondering why? Does anyone know what's<br>
going wrong? And what should I do to open a NetCDF (.nc) file in Grads in<br>
Linux machine?<br>
<br>
<br>
Mohsen<br>
--<br>
some are weather-wise some are otherwise!<br>
--<br>
Best Wishes,<br>
(Mr.) Mohsen Soltani<br>
Climatology Grad Student (M.Sc.),<br>
Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>
e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br>
</div></div><div><div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br></div></div><div>
<span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;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><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span></span>
</div>
<br></div></div><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></blockquote></div><br></div>