[gradsusr] Can't open .nc file in Grads in Linux machine!

Mohsen Soltani soltani.clima at gmail.com
Sat Jun 1 11:49:27 EDT 2013


If you mean NCAR Command Language (NCL), I can't work with it! I would like
to work with GrADS....


--
some are weather-wise some are otherwise!
--
Best Wishes,
(Mr.) Mohsen Soltani
Climatology Grad Student (M.Sc.),
Faculty of Geography, University of Tehran, Tehran, Iran
Tel: (+98) 9119772934
e-mail: soltani.clima at gmail.com


On Sat, Jun 1, 2013 at 8:36 AM, Jaya Pudashine <letterjaya at gmail.com> wrote:

> I think its better to try with ncl.
>
>
>
> On Sat, Jun 1, 2013 at 10:33 PM, Mohsen Soltani <soltani.clima at gmail.com>wrote:
>
>> Hi,
>>
>> I installed Grads in Linux - Ununtu version, using the following command:
>> "sudo apt-get install grads" . And then, to find out where the Grads has
>> been installed in Linux, in terminal I typed: "whereis grads", then the
>> Grads directory appeared something like this: "usr/share... etc.". I copied
>> the grads into my home directory. And then, typed "grads" in terminal and
>> grads opened. Next, I did "!ls" and the following data were shown:
>> *************************************************
>> ga-> !ls
>> grads  hgt.nc  slp.nc air.nc  and other things...
>> ga->
>> *********************************
>> And I wanted to open a NetCDF file, say: hgt.nc. Therefore, I typed "sdfopen
>> hgt.nc ", but the following error appeared: (that's interesting to know
>> that, when I typed sdfopen hg...., I hit the Tab, and the rest of the text
>> appeared automatically):
>> *********************************
>> ga-> sdfopen hgt.nc
>> Scanning self-describing file:  hgt.nc
>> Definition of "kt" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 90, overrides prefixed-unit "1000000 kilogram"
>> Definition of "microns" in "/usr/share/xml/udunits/udunits2-common.xml",
>> line 308, overrides prefixed-unit "1e-15 second"
>> Definition of "ft" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 405, overrides prefixed-unit "1e-12 kilogram"
>> Definition of "yd" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 413, overrides prefixed-unit "8.64e-20 second"
>> Definition of "pt" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 634, overrides prefixed-unit "1e-09 kilogram"
>> Definition of "at" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 1031, overrides prefixed-unit "1e-15 kilogram"
>> Definition of "ph" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 1549, overrides prefixed-unit "3.6e-09 second"
>> Definition of "nt" in "/usr/share/xml/udunits/udunits2-common.xml", line
>> 1556, overrides prefixed-unit "1e-06 kilogram"
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> gadsdf: Error parsing time units in SDF file.
>> ga->
>> *************************
>> I tried to open another data:
>> *********
>> ga-> sdfopen slp.nc
>> Scanning self-describing file:  slp.nc
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> Success
>> ut_get_converter(): Couldn't get converter from seconds
>> ut_get_converter(): Units in different unit-systems
>> Success
>> ut_get_converter(): Couldn't get converter from seconds
>> ut_get_converter(): Units not convertible
>> Success
>> ut_get_converter(): Couldn't get converter from seconds
>> gadsdf: Error parsing time units in SDF file.
>> ga->
>> ********************************
>> Again, another data:
>> ***********************
>> ga-> sdfopen air.nc
>> Scanning self-describing file:  airtemperature.nc
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> ut_get_converter(): Units not convertible
>> gadsdf: Error parsing time units in SDF file.
>> ga->
>> ***************
>> As you see, none of them opened! Wondering why? Does anyone know what's
>> going wrong? And what should I do to open a NetCDF (.nc) file in Grads in
>> Linux machine?
>>
>>
>> Mohsen
>> --
>> some are weather-wise some are otherwise!
>> --
>> Best Wishes,
>> (Mr.) Mohsen Soltani
>> Climatology Grad Student (M.Sc.),
>> Faculty of Geography, University of Tehran, Tehran, Iran
>> Tel: (+98) 9119772934
>> e-mail: soltani.clima at gmail.com
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130601/a48cfedb/attachment-0003.html 


More information about the gradsusr mailing list