Re: [OctDev] ncread (octcdf) strange

2012-11-20 Thread Muhali
Alexander Barth-3 wrote > ncread from matlab adopted a different ordering convention than octcdf thanks. A hint in the ncread help text is probably helpful. M. -- View this message in context: http://octave.1599824.n4.nabble.com/ncread-octcdf-strange-tp4646809p4646818.html Sent from the Octav

Re: [OctDev] ncread (octcdf) strange

2012-11-20 Thread Alexander Barth
On Tue, Nov 20, 2012 at 1:16 PM, Muhali wrote: > Adapting example_opendap.m as follows > > > pkg load octcdf > nc = netcdf(ncfile='http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r'); > N=size(nc{'ssh'}) > ssh = ncread(ncfile, 'ssh', [1 1 1], [1 1 N(3)]) > > > I get > > N = > > 73

[OctDev] ncread (octcdf) strange

2012-11-20 Thread Muhali
Adapting example_opendap.m as follows pkg load octcdf nc = netcdf(ncfile='http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r'); N=size(nc{'ssh'}) ssh = ncread(ncfile, 'ssh', [1 1 1], [1 1 N(3)]) I get N = 730 1609 1678 error: Error while retrieving variable: NetCDF: Index e

[OctDev] ncread (octcdf) strange

2012-11-20 Thread Muhali
Adapting example_opendap.m as follows pkg load octcdf nc = netcdf(ncfile='http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r'); N=size(nc{'ssh'}) ssh = ncread(ncfile, 'ssh', [1 1 1], [1 1 N(3)]) I get N = 730 1609 1678 error: Error while retrieving variable: NetCDF: Index