iousprafa / nctoolbox

Automatically exported from code.google.com/p/nctoolbox
0 stars 0 forks source link

geosubset seems now broken for non-time varying data #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
topo = ncgeodataset('http://geoport.whoi.edu/thredds/dodsC/bathy/gom15');
tvar = topo.geovariable('topo');
s.lon=[-70.8764 -70.6907]
s.lat=[41.5333 41.6571]
s.xy_stride=[2 2]
subs = tvar.geosubset(s);

Original issue reported on code.google.com by rsignell on 20 Mar 2012 at 5:34

GoogleCodeExporter commented 8 years ago
Weird, I thought I fixed this when i implemented the original changes for out 
of order coordinates.  I have made changes and uploaded them to the repository. 
They seem to work for this dataset, but it may be worth testing with other 
datasets.

Original comment by crosb...@gmail.com on 23 Mar 2012 at 6:15