[gradsusr] problems running the script skew.s

Juan Carlos Anduckia janducki at yahoo.com
Sat Dec 18 08:30:52 EST 2010


Hello GrADS users:

I posted about a month ago because I hadn't been able to make the script skew.gs work. I received advices from two members of this forum but to date I still cannot run the script. In Ubuntu 9.04 I get this error:

Grid Analysis and Display System (GrADS) Version 1.8SL11
Copyright (c) 1988-2001 by Brian Doty 
Center for Ocean-Land-Atmosphere Studies
Institute for Global Environment and Society 
All Rights Reserved

Config: v1.8SL11 32-bit little-endian readline printim

Issue 'q config' command for more information.

Landscape mode? (no for portrait):  y
GX Package Initialization: Size = 11 8.5 
ga-> open 110810dctg.ctl 
Scanning description file:  110810dctg.ctl
Data file 110810dctg.dat
 is open as file 1
LON set to -75.5702 -75.4698 
LAT set to 10.4006 10.4994 
LEV set to 1 1 
Time values set: 2010:8:11:0 2010:8:11:0 
ga-> ./skew.gs
No hardcopy metafile open
All files closed; all defined objects released
All GrADS attributes have been reinitialized
Initial Time is 00Z11AUG2010
Create gif images as well (1=yes ; 0=no)
1
Please enter coordinated for sounding
 
Latitude values between: 10.4006 and 10.4994
Enter Latitude
10.4006
 
Longitude values between: -75.5702 and -75.4698
Enter Longitude
-75.5702
 
Overlay two time periods 1=yes ; 0=no
0
 
Please enter time to plot
Available times: 1 to 5
1
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Define
 Error:  Unable to allocate data memory
  Size of request was -899 grid elements
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Define Error:  Unable to allocate data memory
  Size of request was -899 grid elements
Data Request Warning:  Request beyond file limits
Define Error:  Unable to allocate data memory
  Size of request was -899 grid elements
Data Request Warning:  Request beyond file limits
Define Error:  Unable to allocate data memory
  Size of request was -899 grid elements
Data Request Error: Invalid grid coordinates
  Varying dimension 2 decreases: 1000 to 100 
  Error ocurred getting variable 'lon'
  Error ocurred at column 1
DISPLAY error:  Invalid expression 
  Expression = lon
Non-numeric args to numeric operation
  Error occurred on line
 893
  In file ./skew.gs
  Error occurred on line 69
  In file ./skew.

When working with another dataset in another machine and with a different version of GrADS I get a still more detailed error:

Config: v2.0.a5.oga.5 little-endian readline printim grib2 netcdf hdf4-sds opendap-grids,stn athena geotiff
Grid Analysis and Display System (GrADS) Version 2.0.a5.oga.5
Copyright (c) 1988-2008 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 Fri May  8 10:36:42 EDT 2009 for x86_64-unknown-linux-gnu

This version of GrADS has been configured with the following options:
  o Built on a LITTLE ENDIAN machine
  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.libpng.org/pub/png/libpng.html 
      http://www.libgd.org/Main_Page 
  o GRIB2 interface ENABLED 
      http://www.ijg.org 
      http://www.ece.uvic.ca/~mdadams/jasper 
      http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2 
      g2clib-1.0.5  
  o NetCDF interface ENABLED 
      http://www.opendap.org 
      libnc-dap 4.0.1-beta3-snapshot2009021712 of Mar  3 2009 14:13:33 $  
  o NCSA HDF interface ENABLED 
      http://hdf.ncsa.uiuc.edu 
      HDF4.2r3 
  o Athena Widget GUI ENABLED
  o OPeNDAP gridded data interface
 ENABLED
      http://www.opendap.org 
      libdap 3.7.10 
  o OPeNDAP station data interface ENABLED
      http://iges.org/grads/gadoc/supplibs.html 
      libgadap 2.0.oga.1  
  o GeoTIFF and KML output ENABLED
      http://www.libtiff.org 
      http://geotiff.osgeo.org 

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

ga-> open 040410.ctl 
Scanning description file:  040410.ctl
Data file 040410.dat is open as file 1
LON set to -84.5219 -59.4781 
LAT set to 8.0922 18.7881 
LEV set to 1 1 
Time values set: 2010:4:4:0 2010:4:4:0 
E set to 1 1 
ga-> skew.gs 
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
Initial Time is
 00Z04APR2010
Create gif images as well (1=yes ; 0=no)
1
Please enter coordinated for sounding
 
Latitude values between: 8.0922 and 18.7881
Enter Latitude
8.0922
 
Longitude values between: -84.5219 and -59.4781
Enter Longitude
-84.5219                   
 
Overlay two time periods 1=yes ; 0=no
0
 
Please enter time to plot
Available times: 1 to 5
4
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Data Request Warning:  Request beyond file limits
Define Error:  Unable to allocate data memory
  Size of request was -899 grid elements
*** glibc detected *** /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads: double free or corruption
 (!prev): 0x00000000010fc0d0 ***
======= Backtrace:
 =========
/lib/libc.so.6(+0x73056)[0x7f5d9883a056]
/lib/libc.so.6(cfree+0x6c)[0x7f5d9883edec]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gree+0x64)[0x4ff61c]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gadef+0x8fe)[0x522caa]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gacmd+0x104c)[0x51e3d2]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gagsdo+0x35)[0x51c791]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsstmt+0x32)[0x4ee0b0]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsrund+0x47c)[0x4eaaa2]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsrund+0x450)[0x4eaa76]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsrunf+0x733)[0x4e9bff]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsfile+0x1cf)[0x4e75af]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gacmd+0x112b)[0x51e4b1]
/opt/opengrads/Linux/Versions/2.0.a5.og
a.5/x86_64/grads(Main+0x4c9)[0x496c39]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(main+0x2e)[0x496766]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f5d987e5d2d]
/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(__gxx_personality_v0+0x1a9)[0x4966a9]
======= Memory map: ========
00400000-00cc0000 r-xp 00000000 69:01 4326553                            /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads
00dc0000-00de1000 rwxp 008c0000 69:01 4326553                            /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads
00de1000-01159000 rwxp 00000000 00:00
 0                                  [heap]
7f5d90000000-7f5d9001f000 rwxp 00000000 00:00 0 
7f5d9001f000-7f5d94000000 ---p 00000000 00:00 0 
7f5d9717f000-7f5d97368000 rwxp 00000000 00:00 0 
7f5d97368000-7f5d9736d000 r-xp 00000000 68:03 14762873                   /usr/lib64/libXfixes.so.3.1.0
7f5d9736d000-7f5d9756c000 ---p 00005000 68:03 14762873                   /usr/lib64/libXfixes.so.3.1.0
7f5d9756c000-7f5d9756d000 r-xp 00004000 68:03 14762873                  
 /usr/lib64/libXfixes.so.3.1.0
7f5d9756d000-7f5d9756e000 rwxp 00005000 68:03 14762873                   /usr/lib64/libXfixes.so.3.1.0
7f5d9756e000-7f5d97577000 r-xp 00000000 68:03 14762756                   /usr/lib64/libXrender.so.1.3.0
7f5d97577000-7f5d97776000 ---p 00009000 68:03 14762756                   /usr/lib64/libXrender.so.1.3.0
7f5d97776000-7f5d97777000 r-xp 00008000 68:03 14762756                   /usr/lib64/libXrender.so.1.3.0
7f5d97777000-7f5d97778000 rwxp 00009000 68:03
 14762756                   /usr/lib64/libXrender.so.1.3.0
7f5d97778000-7f5d97781000 r-xp 00000000 68:03 5800338                    /usr/lib64/libXcursor.so.1.0.2
7f5d97781000-7f5d97980000 ---p 00009000 68:03 5800338                    /usr/lib64/libXcursor.so.1.0.2
7f5d97980000-7f5d97981000 r-xp 00008000 68:03 5800338                    /usr/lib64/libXcursor.so.1.0.2
7f5d97981000-7f5d97982000 rwxp 00009000 68:03 5800338                   
 /usr/lib64/libXcursor.so.1.0.2
7f5d97982000-7f5d9798d000 r-xp 00000000 68:03 14960337                   /lib64/libnss_files-2.12.1.so
7f5d9798d000-7f5d97b8d000 ---p 0000b000 68:03 14960337                   /lib64/libnss_files-2.12.1.so
7f5d97b8d000-7f5d97b8e000 r-xp 0000b000 68:03 14960337                   /lib64/libnss_files-2.12.1.so
7f5d97b8e000-7f5d97b8f000 rwxp 0000c000 68:03 14960337                   /lib64/libnss_files-2.12.1.so
7f5d97b8f000-7f5d97b94000 r-xp 00000000 68:03
 14786622                   /usr/lib64/libXdmcp.so.6.0.0
7f5d97b94000-7f5d97d93000 ---p 00005000 68:03 14786622                   /usr/lib64/libXdmcp.so.6.0.0
7f5d97d93000-7f5d97d94000 r-xp 00004000 68:03 14786622                   /usr/lib64/libXdmcp.so.6.0.0
7f5d97d94000-7f5d97d95000 rwxp 00005000 68:03 14786622                   /usr/lib64/libXdmcp.so.6.0.0
7f5d97d95000-7f5d97d97000 r-xp 00000000 68:03 14786327                   /usr/lib64/libXau.so.6.0.0
7f5d97d97000-7f5d97f96000 ---p 00002000
 68:03 14786327                   /usr/lib64/libXau.so.6.0.0
7f5d97f96000-7f5d97f97000 r-xp 00001000 68:03 14786327                   /usr/lib64/libXau.so.6.0.0
7f5d97f97000-7f5d97f98000 rwxp 00002000 68:03 14786327                   /usr/lib64/libXau.so.6.0.0
7f5d97f98000-7f5d97fb4000 r-xp 00000000 68:03 14861111                   /usr/lib64/libxcb.so.1.1.0
7f5d97fb4000-7f5d981b3000 ---p 0001c000 68:03 14861111                   /usr/lib64/libxcb.so.1.1.0
7f5d981b3000-7f5d981b4000 r-xp 0001b000
 68:03 14861111                   /usr/lib64/libxcb.so.1.1.0
7f5d981b4000-7f5d981b5000 rwxp 0001c000 68:03 14861111                   /usr/lib64/libxcb.so.1.1.0
7f5d981b5000-7f5d981b9000 r-xp 00000000 68:03 14829723                   /lib64/libuuid.so.1.3.0
7f5d981b9000-7f5d983b8000 ---p 00004000 68:03 14829723                   /lib64/libuuid.so.1.3.0
7f5d983b8000-7f5d983b9000 r-xp 00003000 68:03 14829723                   /lib64/libuuid.so.1.3.0
7f5d983b9000-7f5d983ba000 rwxp 00004000 68:03
 14829723                   /lib64/libuuid.so.1.3.0
7f5d983ba000-7f5d983c2000 r-xp 00000000 68:03 22417455                   /usr/lib64/libXp.so.6.2.0
7f5d983c2000-7f5d985c1000 ---p 00008000 68:03 22417455                   /usr/lib64/libXp.so.6.2.0
7f5d985c1000-7f5d985c2000 r-xp 00007000 68:03 22417455                   /usr/lib64/libXp.so.6.2.0
7f5d985c2000-7f5d985c3000 rwxp 00008000 68:03 22417455                   /usr/lib64/libXp.so.6.2.0
7f5d985c3000-7f5d985c5000 r-xp 00000000 68:03
 14962021                   /lib64/libdl-2.12.1.so
7f5d985c5000-7f5d987c5000 ---p 00002000 68:03 14962021                   /lib64/libdl-2.12.1.so
7f5d987c5000-7f5d987c6000 r-xp 00002000 68:03 14962021                   /lib64/libdl-2.12.1.so
7f5d987c6000-7f5d987c7000 rwxp 00003000 68:03 14962021                   /lib64/libdl-2.12.1.so
7f5d987c7000-7f5d98924000 r-xp 00000000 68:03 14961133                   /lib64/libc-2.12.1.so
7f5d98924000-7f5d98b23000 ---p 0015d000 68:03
 14961133                   /lib64/libc-2.12.1.so
7f5d98b23000-7f5d98b27000 r-xp 0015c000 68:03 14961133                   /lib64/libc-2.12.1.so
7f5d98b27000-7f5d98b28000 rwxp 00160000 68:03 14961133                   /lib64/libc-2.12.1.so
7f5d98b28000-7f5d98b2d000 rwxp 00000000 00:00 0 
7f5d98b2d000-7f5d98b2e000 r-xp 00000000 69:01 4326512                    /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/libs/libcxaguard.so.5

Does this mean that this second version of GrADS was not properly installed? What might be the problem with the first version?
Any help appreciated. Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101218/afc775b2/attachment-0003.html 


More information about the gradsusr mailing list