[gradsusr] grads on ubuntu 14.04 error

Jennifer M Adams jadams21 at gmu.edu
Thu Sep 22 08:58:58 EDT 2016


On Sep 22, 2016, at 2:46 AM, yogesh kumkar <yogeshkumkar at gmail.com<mailto:yogeshkumkar at gmail.com>> wrote:

Dear Jennifer and Kishore,

Thanks for the help but it still does not work.
The symbol warning appears to be from libdap, which is only used by GrADS for accessing station data remotely via GDS. If you are not using that feature, I wouldn’t worry about it. Now that you’ve got netcdf4, what exactly doesn’t work?

By the way, version 2.0.1 is now about 5 years old. So is the version of the grib2 library your apt-get build is linked with. There is a LOT your build cannot do. If you are running on a unix box, why you don’t just stick the pre-compiled binaries from COLA somewhere under your home directory and take advantage of 5 years worth of improvements to the software?
—Jennifer





Here is the q config:

yogesh at nature:WorkFigures$ grads
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-> q config
Config: v2.0.1 little-endian readline printim grib2 netcdf hdf4-sds hdf5 opendap-grids,stn geotiff shapefile
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)
This program is distributed WITHOUT ANY WARRANTY
See file COPYRIGHT for more information.

Built Mon May 20 00:00:54 UTC 2013 for i686-pc-linux-gnu

This version of GrADS has been configured with the following options:
  o Built on a LITTLE ENDIAN machine
  o Athena Widget GUI DISABLED
  o Command line editing ENABLED
      http://tiswww.case.edu/php/chet/readline/rltop.html
  o printim command for image output ENABLED
      http://www.zlib.net<http://www.zlib.net/>
      http://www.libpng.org/pub/png/libpng.html
      http://www.libgd.org/Main_Page
  o GRIB2 interface ENABLED
      http://www.ijg.org<http://www.ijg.org/>
      http://www.ece.uvic.ca/~mdadams/jasper
      http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2
      g2clib-1.2.2
  o NetCDF interface ENABLED
      http://www.unidata.ucar.edu/software/netcdf
      netcdf 4.3.0 of Aug  5 2013 19:26:58 $
  o OPeNDAP gridded data interface ENABLED
  o OPeNDAP station data interface ENABLED
      http://iges.org/grads/gadoc/supplibs.html
      libgadap 2.0
  o HDF4 and HDF5 interfaces ENABLED
      http://hdfgroup.org<http://hdfgroup.org/>
      HDF 4.2r10
      HDF5 1.8.11
  o GeoTIFF and KML/TIFF output ENABLED
      http://www.libtiff.org<http://www.libtiff.org/>
      http://geotiff.osgeo.org<http://geotiff.osgeo.org/>
  o KML contour output ENABLED
  o Shapefile interface ENABLED
      http://shapelib.maptools.org<http://shapelib.maptools.org/>

For additional information please consult http://iges.org/grads

ga->

netcdf library version 4.3.0 of Aug  5 2013 19:26:58 $

Any other suggestions?

Thanks,
Yogesh

On Wed, Sep 21, 2016 at 4:18 PM, Kishore Ragi <kishoreragi at gmail.com<mailto:kishoreragi at gmail.com>> wrote:

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-8908671881

http://www.researchgate.net/profile/Kishore_Ragi

https://in.linkedin.com/in/kishoreragi

http://kishoreragi.webnode.com/

On Wed, Sep 21, 2016 at 7:57 PM, Jennifer M Adams <jadams21 at gmu.edu<mailto: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<mailto: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<http://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<http://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<http://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<tel:%2B39%203248739936>
   Phone: +39 0832 671020<tel:%2B39%200832%20671020>
   yogesh.kumkar at cmcc.it<mailto: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<mailto: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<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr



_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr




--
=============================

   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<mailto: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<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160922/1e25b19d/attachment-0001.html 


More information about the gradsusr mailing list