[gradsusr] grads on ubuntu 14.04 error

Kishore Ragi kishoreragi at gmail.com
Wed Sep 21 08:48:14 EDT 2016


The following should solve your purpose.

sudo apt-get uninstall grads

sudo apt-get install libhdf5-dev netcdf-bin libnetcdf-dev grads

Cheers,
Kishore


*PhD student in climate science,*

*National Institute of Technology, Rourkela,*

*India- 769008*






*Phone: +91-8908671881http://www.researchgate.net/profile/Kishore_Ragi
<http://www.researchgate.net/profile/Kishore_Ragi>https://in.linkedin.com/in/kishoreragi
<https://in.linkedin.com/in/kishoreragi>http://kishoreragi.webnode.com/
<http://kishoreragi.webnode.com/>*

On Wed, Sep 21, 2016 at 7:57 PM, Jennifer M Adams <jadams21 at gmu.edu> wrote:

> Your ubuntu build is probably not linked with netcdf4, and it probably
> also has udunits2 — the user-friendly ‘yum’ install feature on ubuntu does
> not install a user-friendly version of GrADS. Better to download a build
> from http://cola.gmu.edu/grads/downloads.php and install it yourself.
> —Jennifer
>
> On Sep 21, 2016, at 6:56 AM, yogesh kumkar <yogeshkumkar at gmail.com> wrote:
>
> Dear GrADS members/users,
>
> I have installed grads on my laptop.
> The OS is ubuntu 14.04, grads version is 2.0.1
> yogesh at nature:WorkFigures$ uname -a
> Linux nature 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:35:20 UTC 2015
> i686 i686 i686 GNU/Linux
>
> When I run a .gs script, I get the following error and grads quits without
> plotting.
>
> =================================================
> grads: Symbol `_ZTVN6libdap15BaseTypeFactoryE' has different size in
> shared object, consider re-linking
>
> Grid Analysis and Display System (GrADS) Version 2.0.1
> Copyright (c) 1988-2011 by Brian Doty and the
> Institute for Global Environment and Society (IGES)
> GrADS comes with ABSOLUTELY NO WARRANTY
> See file COPYRIGHT for more information
>
> Config: v2.0.1 little-endian readline printim grib2 netcdf hdf4-sds hdf5
> opendap-grids,stn geotiff shapefile
> Issue 'q config' command for more detailed configuration information
> Landscape mode? ('n' for portrait):
> GX Package Initialization: Size = 11 8.5
> ga-> iran-nao.gs
> No hardcopy metafile open
> All files closed; all defined objects released;
> All GrADS attributes have been reinitialized
> grads: symbol lookup error: grads: undefined symbol: nc_get_chunk_cache
>
> ================================================
>
> The ncdump -c of the precip_mon_mean.nc is
>
> netcdf precip_mon_mean {
> dimensions:
>     lon = 144 ;
>     lat = 72 ;
>     time = 451 ;
> variables:
>     float lat(lat) ;
>         lat:axis = "Y" ;
>         lat:standard_name = "latitude" ;
>         lat:long_name = "Latitude" ;
>         lat:actual_range = 88.75f, -88.75f ;
>         lat:units = "degrees_north" ;
>     float lon(lon) ;
>         lon:axis = "X" ;
>         lon:standard_name = "longitude" ;
>         lon:actual_range = 1.25f, 358.75f ;
>         lon:long_name = "Longitude" ;
>         lon:units = "degrees_east" ;
>     double time(time) ;
>         time:actual_range = 1569072., 1897776. ;
>         time:axis = "T" ;
>         time:standard_name = "time" ;
>         time:avg_period = "0000-01-00 00:00:00" ;
>         time:delta_t = "0000-01-00 00:00:00" ;
>         time:long_name = "Time" ;
>         time:units = "hours since 1800-01-01 00:00:0.0" ;
>     float precip(time, lat, lon) ;
>         precip:_FillValue = -9.96921e+36f ;
>         precip:actual_range = 0.f, 56.54f ;
>         precip:parent_stat = "Mean" ;
>         precip:statistic = "Mean" ;
>         precip:level_desc = "Surface" ;
>         precip:dataset = "CPC Merged Analysis of Precipitation Standard" ;
>         precip:var_desc = "Precipitation" ;
>         precip:least_significant_digit = 2s ;
>         precip:precision = 2s ;
>         precip:missing_value = -9.96921e+36f ;
>         precip:scale_factor = 1.f ;
>         precip:add_offset = 0.f ;
>         precip:units = "mm/day" ;
>         precip:valid_range = 0.f, 70.f ;
>         precip:long_name = "Average Monthly Rate of Precipitation" ;
>
> // global attributes:
>         :history = "update 8/2016 V1608" ;
>         :version = "V1608" ;
>         :dataset_title = "CPC Merged Analysis of Precipitation" ;
>         :References = "http://www.esrl.noaa.gov/psd/
> data/gridded/data.cmap.html" ;
>         :documentation = "http://www.esrl.noaa.gov/psd/
> data/gridded/data.cmap.html" ;
>         :source = "ftp ftp.cpc.ncep.noaa.gov precip/cmap/monthly" ;
>         :platform = "Analyses" ;
>         :comment = "Data support section: ds124" ;
>         :creation_date = "Mon Sep 19 16:12:02 IRDT 2016" ;
>         :NCL_Version = "6.1.2" ;
>         :system = "Linux nature 3.13.0-71-generic #114-Ubuntu SMP Tue Dec
> 1 02:35:20 UTC 2015 i686 i686 i686 GNU/Linux" ;
>         :Conventions = "COARDS" ;
>         :hdf_source = "precip_mon_mean.hdf" ;
>         :title = "CPC Merged Analysis of Precipitation (excludes NCEP
> Reanalysis)" ;
> data:
>
>  lat = 88.75, 86.25, 83.75, 81.25, 78.75, 76.25, 73.75, 71.25, 68.75,
> 66.25,
>
> Can you please advise me how I can fix this.
>
> Thanks,
> Yogesh
>
> --
> =============================
>
>    YOGESH KUMKAR
>    Centro Euro-Mediterraneo sui Cambiamenti Climatici
>    via Augusto Imperatore 16,
>    73100 Lecce, Italy
>    Mobile: +39 3248739936
>    Phone: +39 0832 671020
>    yogesh.kumkar at cmcc.it
>
> ********************************************************
> +--------------------------------------------------------+
> Think before Print
> 1 ream of paper = 6% of a tree and 5.4kg CO2 in the atmosphere
> 3 sheets of A4 paper = 1 litre of water
> +--------------------------------------------------------+
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
> _______________________________________________
> 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/20160921/516affae/attachment.html 


More information about the gradsusr mailing list