Using GrADS to retrieve HYCOM data

James T. Potemra jimp at HAWAII.EDU
Thu Apr 30 20:08:42 EDT 2009


Hi Mark:

You should just be able to use the OPeNDAP enabled GrADS binary (e.g.,
gradsdods), then
'sdfopen http://hycom.coaps.fsu.edu:8080/thredds/dodsC/glb_nrt_analysis'

However, I tried this with grads-1.9.0-rc1 (gradsdods) and get the error
that the data set has
no discernable X coordinate.  This is a problem that needs to be solved
on the server side as
far as I know.

Interestingly, I tried grads-2.0.a5.oga.4 (grads) and got a whole stream
of error messsages
(see below) followed by GrADS exiting.

Both versions work well on more "well-behaved" OPeNDAP data sets.

Jim

----------------------------------------------------------------------------------------------------------------------

For additional information enter "grads --help".

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


Grid Analysis and Display System (GrADS) Version 2.0.a5.oga.4
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.4 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.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/udxt>
... ok.
GX Package Initialization: Size = 11 8.5
ga-> sdfopen http://hycom.coaps.fsu.edu:8080/thredds/dodsC/glb_nrt_analysis
Scanning self-describing file:
http://hycom.coaps.fsu.edu:8080/thredds/dodsC/glb_nrt_analysis
*** glibc detected ***
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads:
munmap_chunk(): invalid pointer: 0x00000000046843c0 ***
======= Backtrace: =========
/lib64/libc.so.6(cfree+0x1b6)[0x3bf3075a36]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(_Z15convert_nc_type7nc_typeiiPvS0_+0x2ca)[0x7fa5ca]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(_ZN7NCArray14extract_valuesEPviiRK12ClientParams+0x2e9)[0x82cde5]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(_Z8DODvarioiiPKmS0_PKlPvi+0xc6e)[0x7fceca]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(nc3_get_vara_double+0x9e)[0x807798]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(nc_get_vara_double+0x1a)[0x6050aa]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(sdfdeflev+0x420)[0x53e358]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(gadsdf+0x44b)[0x538325]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(gasdfopen+0x1d4)[0x537d30]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(gacmd+0xf4d)[0x51e2ef]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(Main+0x4c9)[0x496c39]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(main+0x2e)[0x496766]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3bf301d974]
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(__gxx_personality_v0+0x1a9)[0x4966a9]
======= Memory map: ========
00400000-00cc0000 r-xp 00000000 fd:00 43941935
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads
00dbf000-00de1000 rwxp 008bf000 fd:00 43941935
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads
00de1000-01097000 rwxp 00de1000 00:00 0
0457e000-0468f000 rwxp 0457e000 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
/lib64/libdl-2.5.so
3bf3a03000-3bf3a04000 rwxp 00003000 fd:00 4063247
/lib64/libdl-2.5.so
3bf3c00000-3bf3c16000 r-xp 00000000 fd:00 4063255
/lib64/libpthread-2.5.so
3bf3c16000-3bf3e15000 ---p 00016000 fd:00 4063255
/lib64/libpthread-2.5.so
3bf3e15000-3bf3e16000 r-xp 00015000 fd:00 4063255
/lib64/libpthread-2.5.so
3bf3e16000-3bf3e17000 rwxp 00016000 fd:00 4063255
/lib64/libpthread-2.5.so
3bf3e17000-3bf3e1b000 rwxp 3bf3e17000 00:00 0
3bf4400000-3bf4405000 r-xp 00000000 fd:00 42151828
/usr/lib64/libXdmcp.so.6.0.0
3bf4405000-3bf4604000 ---p 00005000 fd:00 42151828
/usr/lib64/libXdmcp.so.6.0.0
3bf4604000-3bf4605000 rwxp 00004000 fd:00 42151828
/usr/lib64/libXdmcp.so.6.0.0
3bf4800000-3bf4802000 r-xp 00000000 fd:00 42150931
/usr/lib64/libXau.so.6.0.0
3bf4802000-3bf4a01000 ---p 00002000 fd:00 42150931
/usr/lib64/libXau.so.6.0.0
3bf4a01000-3bf4a02000 rwxp 00001000 fd:00 42150931
/usr/lib64/libXau.so.6.0.0
3bf4c00000-3bf4d05000 r-xp 00000000 fd:00 42151901
/usr/lib64/libX11.so.6.2.0
3bf4d05000-3bf4f05000 ---p 00105000 fd:00 42151901
/usr/lib64/libX11.so.6.2.0
3bf4f05000-3bf4f0c000 rwxp 00105000 fd:00 42151901
/usr/lib64/libX11.so.6.2.0
3bf5000000-3bf5010000 r-xp 00000000 fd:00 42152563
/usr/lib64/libXext.so.6.4.0
3bf5010000-3bf5210000 ---p 00010000 fd:00 42152563
/usr/lib64/libXext.so.6.4.0
3bf5210000-3bf5211000 rwxp 00010000 fd:00 42152563
/usr/lib64/libXext.so.6.4.0
3bf6400000-3bf6409000 r-xp 00000000 fd:00 42151902
/usr/lib64/libXrender.so.1.3.0
3bf6409000-3bf6608000 ---p 00009000 fd:00 42151902
/usr/lib64/libXrender.so.1.3.0
3bf6608000-3bf6609000 rwxp 00008000 fd:00 42151902
/usr/lib64/libXrender.so.1.3.0
3bf6800000-3bf6805000 r-xp 00000000 fd:00 42152700
/usr/lib64/libXfixes.so.3.1.0
3bf6805000-3bf6a04000 ---p 00005000 fd:00 42152700
/usr/lib64/libXfixes.so.3.1.0
3bf6a04000-3bf6a05000 rwxp 00004000 fd:00 42152700
/usr/lib64/libXfixes.so.3.1.0
3bf7000000-3bf700a000 r-xp 00000000 fd:00 42153120
/usr/lib64/libXcursor.so.1.0.2
3bf700a000-3bf7209000 ---p 0000a000 fd:00 42153120
/usr/lib64/libXcursor.so.1.0.2
3bf7209000-3bf720a000 rwxp 00009000 fd:00 42153120
/usr/lib64/libXcursor.so.1.0.2
3bf8800000-3bf8817000 r-xp 00000000 fd:00 42154143
/usr/lib64/libICE.so.6.3.0
3bf8817000-3bf8a16000 ---p 00017000 fd:00 42154143
/usr/lib64/libICE.so.6.3.0
3bf8a16000-3bf8a18000 rwxp 00016000 fd:00 42154143
/usr/lib64/libICE.so.6.3.0
3bf8a18000-3bf8a1b000 rwxp 3bf8a18000 00:00 0
3bf8c00000-3bf8c0d000 r-xp 00000000 fd:00 4063256
/lib64/libgcc_s-4.1.2-20080825.so.1
3bf8c0d000-3bf8e0d000 ---p 0000d000 fd:00 4063256
/lib64/libgcc_s-4.1.2-20080825.so.1
3bf8e0d000-3bf8e0e000 rwxp 0000d000 fd:00 4063256
/lib64/libgcc_s-4.1.2-20080825.so.1
3bf9000000-3bf9009000 r-xp 00000000 fd:00 42154166
/usr/lib64/libSM.so.6.0.0
3bf9009000-3bf9209000 ---p 00009000 fd:00 42154166
/usr/lib64/libSM.so.6.0.0
3bf9209000-3bf920a000 rwxp 00009000 fd:00 42154166
/usr/lib64/libSM.so.6.0.0
3bf9800000-3bf98e6000 r-xp 00000000 fd:00 42154905
/usr/lib64/libstdc++.so.6.0.8
3bf98e6000-3bf9ae5000 ---p 000e6000 fd:00 42154905
/usr/lib64/libstdc++.so.6.0.8
3bf9ae5000-3bf9aeb000 r-xp 000e5000 fd:00 42154905
/usr/lib64/libstdc++.so.6.0.8
3bf9aeb000-3bf9aee000 rwxp 000eb000 fd:00 42154905
/usr/lib64/libstdc++.so.6.0.8
3bf9aee000-3bf9b00000 rwxp 3bf9aee000 00:00 0
3bfd200000-3bfd215000 r-xp 00000000 fd:00 4063453
/lib64/libnsl-2.5.so
3bfd215000-3bfd414000 ---p 00015000 fd:00 4063453
/lib64/libnsl-2.5.so
3bfd414000-3bfd415000 r-xp 00014000 fd:00 4063453
/lib64/libnsl-2.5.so
3bfd415000-3bfd416000 rwxp 00015000 fd:00 4063453
/lib64/libnsl-2.5.so
3bfd416000-3bfd418000 rwxp 3bfd416000 00:00 0
3c07600000-3c0765b000 r-xp 00000000 fd:00 42149042
/usr/lib64/libXt.so.6.0.0
3c0765b000-3c0785a000 ---p 0005b000 fd:00 42149042
/usr/lib64/libXt.so.6.0.0
3c0785a000-3c07860000 rwxp 0005a000 fd:00 42149042
/usr/lib64/libXt.so.6.0.0
3c07860000-3c07861000 rwxp 3c07860000 00:00 0
2b8c9e796000-2b8c9e798000 rwxp 2b8c9e796000 00:00 0
2b8c9e798000-2b8c9e7fc000 r-xp 00000000 fd:00 43941979
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libXaw.so.8
2b8c9e7fc000-2b8c9e8fb000 ---p 00064000 fd:00 43941979
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libXaw.so.8
2b8c9e8fb000-2b8c9e906000 rwxp 00063000 fd:00 43941979
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libXaw.so.8
2b8c9e906000-2b8c9e909000 rwxp 2b8c9e906000 00:00 0
2b8c9e931000-2b8c9e932000 rwxp 2b8c9e931000 00:00 0
2b8c9e932000-2b8c9eb97000 r-xp 00000000 fd:00 43941980
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libimf.so
2b8c9eb97000-2b8c9ec96000 ---p 00265000 fd:00 43941980
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libimf.so
2b8c9ec96000-2b8c9ec9a000 rwxp 00264000 fd:00 43941980
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libimf.so
2b8c9ec9a000-2b8c9ec9b000 rwxp 2b8c9ec9a000 00:00 0
2b8c9ec9b000-2b8c9ec9c000 r-xp 00000000 fd:00 43941981
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libcxaguard.so.5
2b8c9ec9c000-2b8c9ed9b000 ---p 00001000 fd:00 43941981
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libcxaguard.so.5
2b8c9ed9b000-2b8c9ed9c000 rwxp 00000000 fd:00 43941981
/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libcxaguard.so.5
2b8c9ed9c000-2b8c9ed9d000 rwxp 2b8c9ed9c000 00:00 0
2b8c9ed9d000-2b8c9eda5000 r-xp 00000000 fd:00 42158918
/usr/lib64/libXp.so.6.2.0
2b8c9eda5000-2b8c9efa4000 ---p 00008000 fd:00 42158918
/usr/lib64/libXp.so.6.2.0
2b8c9efa4000-2b8c9efa5000 rwxp 00007000 fd:00 42158918
/usr/lib64/libXp.so.6.2.0
2b8c9efa5000-2b8c9f191000 rwxp 2b8c9efa5000 00:00 0
2b8c9f191000-2b8ca2760000 r-xp 00000000 fd:00 42151798
/usr/lib/locale/locale-archive
2b8ca2760000-2b8ca2767000 r-xs 00000000 fd:00 42205728
/usr/lib64/gconv/gconv-modules.cache
2b8ca2791000-2b8ca279b000 r-xp 00000000 fd:00 4063474
/lib64/libnss_files-2.5.so
2b8ca279b000-2b8ca299a000 ---p 0000a000 fd:00 4063474
/lib64/libnss_files-2.5.so
2b8ca299a000-2b8ca299b000 r-xp 00009000 fd:00 4063474
/lib64/libnss_files-2.5.so
2b8ca299b000-2b8ca299c000 rwxp 0000a000 fd:00 4063474
/lib64/libnss_files-2.5.so
2b8ca299c000-2b8ca29a5000 r-xp 00000000 fd:00 4063261
/lib64/libnss_nis-2.5.so
2b8ca29a5000-2b8ca2ba5000 ---p 00009000 fd:00 4063261
/lib64/libnss_nis-2.5.so
2b8ca2ba5000-2b8ca2ba6000 r-xp 00009000 fd:00 4063261
/lib64/libnss_nis-2.5.so
2b8ca2ba6000-2b8ca2ba7000 rwxp 0000a000 fd:00 4063261
/lib64/libnss_nis-2.5.so
7fff0c2fd000-7fff0c313000 rwxp 7ffffffe9000 00:00 0
[stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0
[vdso]





Mark Hess wrote:
> Has anyone out there used GrADS to retrieve and display data from the
> HYCOM OPeNDAP near real-time data server
> http://hycom.coaps.fsu.edu/thredds/dodsC/glb_nrt_analysis.html?
>
> I am hoping to use GrADS to retrieve mixed layer depth data from this
> server, but not real clear on the http/OPeNDAP string I would use to
> download the file (whether it be ASCII or binary).  If you have done
> this and could send a sample script or command showing the http
> line that would be much appreciated.
>
> Thanks,
>
> Mark
>



More information about the gradsusr mailing list