Issues with netCDF and opengrads-2.0

James T. Potemra jimp at HAWAII.EDU
Mon May 11 19:49:30 EDT 2009


Hi Arlindo:

I emailed last week about having a problem reading in a netCDF file with
grads-2.0.a5.oga.4, specifically the netCDF :title was too long (more than
256 characters).  The files are now within this limit, and grads-2.0.a5.oga
reads them okay.  However, the same data set is served via OPeNDAP and
the same grads binary does not work.  I'm not sure I understand the error
list (see below) but I suspect a similar issue.  I've tried
grads-1.9.0-rc1 and
it works fine.  I've attached the netCDF file as an example
(ns01_2009_04_21.nc).
Again, grads-1.9.0-rc1 can read both the local and OPeNDAP data set;
grads-2.0.a5.oga.5 can now read the local one but not the OPeNDAP one.

Below is the result when reading this via OPeNDAP as follows:

              Welcome to the OpenGrADS Bundle Distribution
              --------------------------------------------

For additional information enter "grads --help".

Starting
"/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads
-l " ...


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)
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information

Config: v2.0.a5.oga.5 little-endian readline printim grib2 netcdf
hdf4-sds opendap-grids,stn athena geotiff
Issue 'q config' command for more information.
Loading User Defined Extensions table
</usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/gex/udxt>
... ok.
GX Package Initialization: Size = 11 8.5
ga-> sdfopen
http://oos.soest.hawaii.edu/thredds/dodsC/hioos/nss/ns01/ns01_200>
Scanning self-describing file:
http://oos.soest.hawaii.edu/thredds/dodsC/hioos/nss/ns01/ns01_2009_04_21.nc
*** glibc detected ***
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads:
free(): invalid pointer: 0x000000001e3cc5b4 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3bf3071ce2]
/lib64/libc.so.6(cfree+0x8c)[0x3bf307590c]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(_Z15convert_nc_type7nc_typeiiPvS0_+0x2ca)[0x7fa65a]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(_ZN7NCArray14extract_valuesEPviiRK12ClientParams+0x2e9)[0x82ce75]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(_Z8DODvarioiiPKmS0_PKlPvi+0xc6e)[0x7fcf5a]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(nc3_get_vara_double+0x9e)[0x807828]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(nc_get_vara_double+0x1a)[0x60513a]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(read_one_dimension+0x89)[0x53b0d7]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gadsdf+0x17d6)[0x539694]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gasdfopen+0x1d4)[0x537d14]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(gacmd+0xf4d)[0x51e2d3]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(Main+0x4c9)[0x496c39]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(main+0x2e)[0x496766]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3bf301d974]
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads(__gxx_personality_v0+0x1a9)[0x4966a9]
======= Memory map: ========
00400000-00cc0000 r-xp 00000000 fd:00 45711937
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads
00dc0000-00de1000 rwxp 008c0000 fd:00 45711937
/usr/local/grads-2.0.a5.oga.5/Contents/Linux/Versions/2.0.a5.oga.5/x86_64/grads
00de1000-01098000 rwxp 00de1000 00:00 0
1e310000-1e3d7000 rwxp 1e310000 00:00 0
[heap]
3bf1e00000-3bf1e1c000 r-xp 00000000 fd:00 4063234
/lib64/ld-2.5.so
3bf201b000-3bf201c000 r-xp 0001b000 fd:00 4063234
/lib64/ld-2.5.so
3bf201c000-3bf201d000 rwxp 0001c000 fd:00 4063234
/lib64/ld-2.5.so
3bf2200000-3bf2217000 r-xp 00000000 fd:00 42144845
/usr/lib64/libXmu.so.6.2.0
3bf2217000-3bf2416000 ---p 00017000 fd:00 42144845
/usr/lib64/libXmu.so.6.2.0
3bf2416000-3bf2418000 rwxp 00016000 fd:00 42144845
/usr/lib64/libXmu.so.6.2.0
3bf2600000-3bf2610000 r-xp 00000000 fd:00 42157621
/usr/lib64/libXpm.so.4.11.0
3bf2610000-3bf2810000 ---p 00010000 fd:00 42157621
/usr/lib64/libXpm.so.4.11.0
3bf2810000-3bf2811000 rwxp 00010000 fd:00 42157621
/usr/lib64/libXpm.so.4.11.0
3bf3000000-3bf314c000 r-xp 00000000 fd:00 4063235
/lib64/libc-2.5.so
3bf314c000-3bf334c000 ---p 0014c000 fd:00 4063235
/lib64/libc-2.5.so
3bf334c000-3bf3350000 r-xp 0014c000 fd:00 4063235
/lib64/libc-2.5.so
3bf3350000-3bf3351000 rwxp 00150000 fd:00 4063235
/lib64/libc-2.5.so
3bf3351000-3bf3356000 rwxp 3bf3351000 00:00 0
3bf3400000-3bf3482000 r-xp 00000000 fd:00 4063243
/lib64/libm-2.5.so
3bf3482000-3bf3681000 ---p 00082000 fd:00 4063243
/lib64/libm-2.5.so
3bf3681000-3bf3682000 r-xp 00081000 fd:00 4063243
/lib64/libm-2.5.so
3bf3682000-3bf3683000 rwxp 00082000 fd:00 4063243
/lib64/libm-2.5.so
3bf3800000-3bf3802000 r-xp 00000000 fd:00 4063247
/lib64/libdl-2.5.so
3bf3802000-3bf3a02000 ---p 00002000 fd:00 4063247
/lib64/libdl-2.5.so
3bf3a02000-3bf3a03000 r-xp 00002000 fd:00 4063247
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ns01_2009_04_21.nc
Type: application/x-netcdf
Size: 10412 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090511/56a2e5d9/attachment.nc 


More information about the gradsusr mailing list