<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv1065673559"><table id="yiv1065673559bodyDrftID" class="yiv1065673559" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="yiv1065673559drftMsgContent" style="font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none; font-family: arial; font-size: 10pt;"><font size="3">Hello GrADS users:<br><br>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:</font><br><br>Grid Analysis and Display System (GrADS) Version 1.8SL11<br>Copyright (c) 1988-2001 by Brian Doty <br>Center for Ocean-Land-Atmosphere Studies<br>Institute for Global Environment and Society <br>All Rights
Reserved<br><br>Config: v1.8SL11 32-bit little-endian readline printim<br><br>Issue 'q config' command for more information.<br><br>Landscape mode? (no for portrait): y<br>GX Package Initialization: Size = 11 8.5 <br>ga-> open 110810dctg.ctl <br>Scanning description file: 110810dctg.ctl<br>Data file 110810dctg.dat
is open as file 1<br>LON set to -75.5702 -75.4698 <br>LAT set to 10.4006 10.4994 <br>LEV set to 1 1 <br>Time values set: 2010:8:11:0 2010:8:11:0 <br>ga-> ./skew.gs<br>No hardcopy metafile open<br>All files closed; all defined objects released<br>All GrADS attributes have been reinitialized<br>Initial Time is 00Z11AUG2010<br>Create gif images as well (1=yes ; 0=no)<br>1<br>Please enter coordinated for sounding<br> <br>Latitude values between: 10.4006 and 10.4994<br>Enter Latitude<br>10.4006<br> <br>Longitude values between: -75.5702 and -75.4698<br>Enter Longitude<br>-75.5702<br> <br>Overlay two time periods 1=yes ; 0=no<br>0<br> <br>Please enter time to plot<br>Available times: 1 to 5<br>1<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Define
Error: Unable to allocate data memory<br> Size of request was -899 grid elements<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Define Error: Unable to allocate data memory<br> Size of request was -899 grid elements<br>Data Request Warning: Request beyond file limits<br>Define Error: Unable to allocate data memory<br> Size of request was -899 grid elements<br>Data Request Warning: Request beyond file limits<br>Define Error: Unable to allocate data memory<br> Size of request was -899 grid elements<br>Data Request Error: Invalid grid coordinates<br> Varying dimension 2 decreases: 1000 to 100 <br> Error ocurred getting variable 'lon'<br> Error ocurred at column 1<br>DISPLAY error: Invalid expression <br> Expression = lon<br>Non-numeric args to numeric operation<br> Error occurred on line
893<br> In file ./skew.gs<br> Error occurred on line 69<br> In file ./skew.<br><br><font size="3">When working with another dataset in another machine and with a different version of GrADS I get a still more detailed error:<br></font><br>Config: v2.0.a5.oga.5 little-endian readline printim grib2 netcdf hdf4-sds opendap-grids,stn athena geotiff<br>Grid Analysis and Display System (GrADS) Version 2.0.a5.oga.5<br>Copyright (c) 1988-2008 by Brian Doty and the<br>Institute for Global Environment and Society (IGES) <br>This program is distributed WITHOUT ANY WARRANTY <br>See file COPYRIGHT for more information. <br><br>Built Fri May 8 10:36:42 EDT 2009 for x86_64-unknown-linux-gnu<br><br>This version of GrADS has been configured with the following options:<br> o Built on a LITTLE ENDIAN machine<br> o Command line editing ENABLED <br> http://tiswww.case.edu/php/chet/readline/rltop.html
<br> o printim command
for image output ENABLED <br> http://www.zlib.net <br> http://www.libpng.org/pub/png/libpng.html <br> http://www.libgd.org/Main_Page <br> o GRIB2 interface ENABLED <br> http://www.ijg.org <br> http://www.ece.uvic.ca/~mdadams/jasper <br> http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2 <br> g2clib-1.0.5 <br> o NetCDF interface ENABLED <br> http://www.opendap.org <br> libnc-dap 4.0.1-beta3-snapshot2009021712 of Mar 3 2009 14:13:33 $ <br> o NCSA HDF interface ENABLED <br> http://hdf.ncsa.uiuc.edu <br> HDF4.2r3 <br> o Athena Widget GUI ENABLED<br> o OPeNDAP gridded data interface
ENABLED<br> http://www.opendap.org <br> libdap 3.7.10 <br> o OPeNDAP station data interface ENABLED<br> http://iges.org/grads/gadoc/supplibs.html <br> libgadap 2.0.oga.1 <br> o GeoTIFF and KML output ENABLED<br> http://www.libtiff.org <br> http://geotiff.osgeo.org <br><br>For additional information please consult http://iges.org/grads<br><br>ga-> open 040410.ctl <br>Scanning description file: 040410.ctl<br>Data file 040410.dat is open as file 1<br>LON set to -84.5219 -59.4781 <br>LAT set to 8.0922 18.7881 <br>LEV set to 1 1 <br>Time values set: 2010:4:4:0 2010:4:4:0 <br>E set to 1 1 <br>ga-> skew.gs <br>No hardcopy metafile open<br>All files closed; all defined objects released;<br>All GrADS attributes have been reinitialized<br>Initial Time is
00Z04APR2010<br>Create gif images as well (1=yes ; 0=no)<br>1<br>Please enter coordinated for sounding<br> <br>Latitude values between: 8.0922 and 18.7881<br>Enter Latitude<br>8.0922<br> <br>Longitude values between: -84.5219 and -59.4781<br>Enter Longitude<br>-84.5219 <br> <br>Overlay two time periods 1=yes ; 0=no<br>0<br> <br>Please enter time to plot<br>Available times: 1 to 5<br>4<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Data Request Warning: Request beyond file limits<br>Define Error: Unable to allocate data memory<br> Size of request was -899 grid elements<br>*** glibc detected *** /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads: double free or corruption
(!prev): 0x00000000010fc0d0 ***<br>======= Backtrace:
=========<br>/lib/libc.so.6(+0x73056)[0x7f5d9883a056]<br>/lib/libc.so.6(cfree+0x6c)[0x7f5d9883edec]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gree+0x64)[0x4ff61c]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gadef+0x8fe)[0x522caa]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gacmd+0x104c)[0x51e3d2]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gagsdo+0x35)[0x51c791]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsstmt+0x32)[0x4ee0b0]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsrund+0x47c)[0x4eaaa2]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsrund+0x450)[0x4eaa76]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsrunf+0x733)[0x4e9bff]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gsfile+0x1cf)[0x4e75af]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gacmd+0x112b)[0x51e4b1]<br>/opt/opengrads/Linux/Versions/2.0.a5.og
a.5/x86_64/grads(Main+0x4c9)[0x496c39]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(main+0x2e)[0x496766]<br>/lib/libc.so.6(__libc_start_main+0xfd)[0x7f5d987e5d2d]<br>/opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads(__gxx_personality_v0+0x1a9)[0x4966a9]<br>======= Memory map: ========<br>00400000-00cc0000 r-xp 00000000 69:01 4326553 /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads<br>00dc0000-00de1000 rwxp 008c0000 69:01 4326553 /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/grads<br>00de1000-01159000 rwxp 00000000 00:00
0 [heap]<br>7f5d90000000-7f5d9001f000 rwxp 00000000 00:00 0 <br>7f5d9001f000-7f5d94000000 ---p 00000000 00:00 0 <br>7f5d9717f000-7f5d97368000 rwxp 00000000 00:00 0 <br>7f5d97368000-7f5d9736d000 r-xp 00000000 68:03 14762873 /usr/lib64/libXfixes.so.3.1.0<br>7f5d9736d000-7f5d9756c000 ---p 00005000 68:03 14762873 /usr/lib64/libXfixes.so.3.1.0<br>7f5d9756c000-7f5d9756d000 r-xp 00004000 68:03 14762873
/usr/lib64/libXfixes.so.3.1.0<br>7f5d9756d000-7f5d9756e000 rwxp 00005000 68:03 14762873 /usr/lib64/libXfixes.so.3.1.0<br>7f5d9756e000-7f5d97577000 r-xp 00000000 68:03 14762756 /usr/lib64/libXrender.so.1.3.0<br>7f5d97577000-7f5d97776000 ---p 00009000 68:03 14762756 /usr/lib64/libXrender.so.1.3.0<br>7f5d97776000-7f5d97777000 r-xp 00008000 68:03 14762756 /usr/lib64/libXrender.so.1.3.0<br>7f5d97777000-7f5d97778000 rwxp 00009000 68:03
14762756 /usr/lib64/libXrender.so.1.3.0<br>7f5d97778000-7f5d97781000 r-xp 00000000 68:03 5800338 /usr/lib64/libXcursor.so.1.0.2<br>7f5d97781000-7f5d97980000 ---p 00009000 68:03 5800338 /usr/lib64/libXcursor.so.1.0.2<br>7f5d97980000-7f5d97981000 r-xp 00008000 68:03 5800338 /usr/lib64/libXcursor.so.1.0.2<br>7f5d97981000-7f5d97982000 rwxp 00009000 68:03 5800338
/usr/lib64/libXcursor.so.1.0.2<br>7f5d97982000-7f5d9798d000 r-xp 00000000 68:03 14960337 /lib64/libnss_files-2.12.1.so<br>7f5d9798d000-7f5d97b8d000 ---p 0000b000 68:03 14960337 /lib64/libnss_files-2.12.1.so<br>7f5d97b8d000-7f5d97b8e000 r-xp 0000b000 68:03 14960337 /lib64/libnss_files-2.12.1.so<br>7f5d97b8e000-7f5d97b8f000 rwxp 0000c000 68:03 14960337 /lib64/libnss_files-2.12.1.so<br>7f5d97b8f000-7f5d97b94000 r-xp 00000000 68:03
14786622 /usr/lib64/libXdmcp.so.6.0.0<br>7f5d97b94000-7f5d97d93000 ---p 00005000 68:03 14786622 /usr/lib64/libXdmcp.so.6.0.0<br>7f5d97d93000-7f5d97d94000 r-xp 00004000 68:03 14786622 /usr/lib64/libXdmcp.so.6.0.0<br>7f5d97d94000-7f5d97d95000 rwxp 00005000 68:03 14786622 /usr/lib64/libXdmcp.so.6.0.0<br>7f5d97d95000-7f5d97d97000 r-xp 00000000 68:03 14786327 /usr/lib64/libXau.so.6.0.0<br>7f5d97d97000-7f5d97f96000 ---p 00002000
68:03 14786327 /usr/lib64/libXau.so.6.0.0<br>7f5d97f96000-7f5d97f97000 r-xp 00001000 68:03 14786327 /usr/lib64/libXau.so.6.0.0<br>7f5d97f97000-7f5d97f98000 rwxp 00002000 68:03 14786327 /usr/lib64/libXau.so.6.0.0<br>7f5d97f98000-7f5d97fb4000 r-xp 00000000 68:03 14861111 /usr/lib64/libxcb.so.1.1.0<br>7f5d97fb4000-7f5d981b3000 ---p 0001c000 68:03 14861111 /usr/lib64/libxcb.so.1.1.0<br>7f5d981b3000-7f5d981b4000 r-xp 0001b000
68:03 14861111 /usr/lib64/libxcb.so.1.1.0<br>7f5d981b4000-7f5d981b5000 rwxp 0001c000 68:03 14861111 /usr/lib64/libxcb.so.1.1.0<br>7f5d981b5000-7f5d981b9000 r-xp 00000000 68:03 14829723 /lib64/libuuid.so.1.3.0<br>7f5d981b9000-7f5d983b8000 ---p 00004000 68:03 14829723 /lib64/libuuid.so.1.3.0<br>7f5d983b8000-7f5d983b9000 r-xp 00003000 68:03 14829723 /lib64/libuuid.so.1.3.0<br>7f5d983b9000-7f5d983ba000 rwxp 00004000 68:03
14829723 /lib64/libuuid.so.1.3.0<br>7f5d983ba000-7f5d983c2000 r-xp 00000000 68:03 22417455 /usr/lib64/libXp.so.6.2.0<br>7f5d983c2000-7f5d985c1000 ---p 00008000 68:03 22417455 /usr/lib64/libXp.so.6.2.0<br>7f5d985c1000-7f5d985c2000 r-xp 00007000 68:03 22417455 /usr/lib64/libXp.so.6.2.0<br>7f5d985c2000-7f5d985c3000 rwxp 00008000 68:03 22417455 /usr/lib64/libXp.so.6.2.0<br>7f5d985c3000-7f5d985c5000 r-xp 00000000 68:03
14962021 /lib64/libdl-2.12.1.so<br>7f5d985c5000-7f5d987c5000 ---p 00002000 68:03 14962021 /lib64/libdl-2.12.1.so<br>7f5d987c5000-7f5d987c6000 r-xp 00002000 68:03 14962021 /lib64/libdl-2.12.1.so<br>7f5d987c6000-7f5d987c7000 rwxp 00003000 68:03 14962021 /lib64/libdl-2.12.1.so<br>7f5d987c7000-7f5d98924000 r-xp 00000000 68:03 14961133 /lib64/libc-2.12.1.so<br>7f5d98924000-7f5d98b23000 ---p 0015d000 68:03
14961133 /lib64/libc-2.12.1.so<br>7f5d98b23000-7f5d98b27000 r-xp 0015c000 68:03 14961133 /lib64/libc-2.12.1.so<br>7f5d98b27000-7f5d98b28000 rwxp 00160000 68:03 14961133 /lib64/libc-2.12.1.so<br>7f5d98b28000-7f5d98b2d000 rwxp 00000000 00:00 0 <br>7f5d98b2d000-7f5d98b2e000 r-xp 00000000 69:01 4326512 /opt/opengrads/Linux/Versions/2.0.a5.oga.5/x86_64/libs/libcxaguard.so.5<br><font size="3"><br>Does this mean that this second version of GrADS was not properly installed? What might be the problem with the first version?<br>Any
help appreciated. Thank you.<br></font><br></td></tr></tbody></table></div></td></tr></table>