help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DAP server error using octcdf-1.1.6 (octave 3.6.4)


From: Alexander Hansen
Subject: Re: DAP server error using octcdf-1.1.6 (octave 3.6.4)
Date: Mon, 01 Jul 2013 16:20:40 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 7/1/13 12:07 AM, Marko Kvakić wrote:
On 30 June 2013 22:54, Alexander Barth <address@hidden> wrote:
Dear Marko,

Can you give a minimal example code which shows this error?
The following works here:
pkg load octcdf
nc =
netcdf('http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/NARR/monolevel/dlwrf.2007.nc','r');
v = nc{'dlwrf'}(1,1,1)
v = -28192
v = nc{'dlwrf'}(1,:,:);
close(nc)

Thanks
Alex

Hi Alex,

The code i used is the same as yours.
Even trying to extract 1 point doesn't succeed, with the "DAP server
error shown"...

I thinking i didn't compile octcdf properly after all

I'm working on a computer without root permission, which has an older
version of netcdf (4.1.3).
Using "ncdump" from that version the same problem happens, so i think
octcdf got linked with it.

Is there a way of checking which library/headers were used during the
compilation of octcdf?

So far i've used the standard LDFLAGS/CPPFLAGS, but it doesn't seem to
work properly.

Thanks for the help.
Regards,
Marko



That depends on your OS.

If you're using GNU/Linux then you can use "ldd /path/to/netcdf.oct", replacing /path/to by the actual path to your netcdf.oct (and presuming that you have the package that provides it installed).

If you're on Mac OS X "otool -L /path/to/netcdf.oct" will get you similar information.

Otherwise, you'll have to tell us what you're running.
--
Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]