Hi José,

I tested this example address and it works on my computer (netcdf
4.1.1 with opendap enabled).
>> nc = netcdf('http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r');
>> nc
nc =

filename = http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops
nvars = 22
natts = 6
ndims = 4
mode = DataMode

You might also try the following address:
nc = netcdf('http://test.opendap.org/dap/data/nc/fnoc1.nc','r');

Does this address work for you?

Can you also send me the output of the following commands:

nc-config --version
ncdap-config --version
dap-config --version

In a previous email you wrote:
>  There is no problem because I need to install the opendap packages and
> create a symbolic link named ncdap-config because in Debian the
> program is called dap-config. Then the compilation runs without
> warnings.

This might be the cause of the problem. I think you have only the
DAP++ SDK installed.

To use opendap, uou need either:
* netCDF opendap Client Library
(http://www.opendap.org/download/nc-dap.html) which depends on the
DAP++ SDK. This library will install the ncdap-config script or
* netcdf 4 with opendap enabled.

I hope this helps
Alex



2010/11/30 José Luis García Pallero <jgpall...@gmail.com>:
> Hello,
> I've installed the octcdf-1.1.1 package in Octave 3.3.53 Linux 32
> bits. The installation was done without problems and the
> example_netcdf.m script runs ok. But the test script example_opendap
> returns a segmentation fault with this message:
>
> octave:1> example_opendap
> panic: Segmentation fault -- stopping myself...
> attempting to save variables to `octave-core'...
> error: octave_base_value::save_binary(): wrong type argument `ncdim'
> save to `octave-core' complete
> Segmentation fault
>
> Inspecting the example_opendap.m script, the error occurs in the invocation of
>
> nc = netcdf('http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r');
>
> I don't know if the http address is wrong or so, but the real problem
> is the segmentation fault withot catching the exception
>
> --
> *****************************************
> José Luis García Pallero
> jgpall...@gmail.com
> (o<
> / / \
> V_/_
> Use Debian GNU/Linux and enjoy!
> *****************************************
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to