Re: OpeNDAP can't work

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 31 2012 - 16:58:22 MDT

Dongsheng,

Can you try this script:

 url = "http://test.opendap.org/opendap/data/nc/"
 filename = url + "123.nc"

 exists = isfilepresent(filename)
 print(exists)

 f = addfile(filename, "r")
 print(f)

And send the output/error message to us?

(This script runs fine on my system).

Wei

huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Aug 31, 2012, at 12:55 AM, L wrote:

> Hi
> I have a problem about OpeNDAP.
> The NCL precompiled binary file I downloaded is ncl_ncarg-6.1.0-beta.Linux_Debian_x86_64_gcc445.tar.gz.
> By typing ncl on the command line, it just shows:
> ---------------------------------------------------------
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0-beta
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl 0>
> ---------------------------------------------------------
>
> no such words like :ncl: error while loading shared libraries: libdap.so.4: cannot open shared object file: No such file or directory
>
> But when I follow the test
> ------------------------------
> url = "http://test.opendap.org/opendap/data/nc/"
> filename = url + "123.nc"
> exists = isfilepresent(filename)
> ncopen: filename "http://test.opendap.org/opendap/data/nc/123.nc": NetCDF: Unknown file format
> -------------------------------
> Also I have added the libdap library to the LD_LIBRARY_PATH.
>
> Can anyone give me some suggestion?
> Thanks.
> Regards.
>
> Dongsheng
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Aug 31 16:58:34 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT