<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 class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
From: Mohsen Soltani <<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">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">soltani.clima@gmail.com</a><br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<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></div>