|
|
|||
|
||||
| Hi Rick, I'm not much of an expert on this, but I thought that I would try to access the same data set via a couple of different clients: the ODC and Matlab. I also found some problem accessing the data set. I can access a subset of the data, lat only here, all the way to the entire variable, basically not subsetted: >> clear all;close all >> whos Name Size Bytes Class lat 1x1 480248 struct array Grand total is 60002 elements using 480248 bytes >> lat lat = lat: [30000x1 double] ISTA: [30000x1 double] >> figure(3);plot(lat.lat,lat.ISTA,'.') >> clear all;close all >> lat lat = lat: [32856x1 double] ISTA: [32856x1 double] But when I try to subset, it fails in Matlab: >> clear all;close all >> whos >> whos up to a certain point: >> whos Name Size Bytes Class lat 1x1 52824 struct array Grand total is 6574 elements using 52824 bytes >> lat lat = lat: [3286x1 double] ISTA: [3286x1 double] >> I can access subsets in the ODC as long as the two variables are each limited to 0:9986: However fails with the following error: Error getting data for http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.GDCN/.lat/dods?ISTA[0:1:9987],lat[0:1:9987] at 120032: error making connection to http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.GDCN/.lat/dods.dods?ISTA[0:1:9987],lat[0:1:9987]: scanning header: premature end of stream in header after 4 bytes read, header: [100 ] Matlab works with the first request and fails with the second one. Sooo.... it does not seem to be a client problem since it fails in three very different clients. Two of the three clients that are having problems are C++ and one is Java. It could be in the core classes used by the clients, but that is doubtful given that we don't seem to see this problem elsewhere. My guess is that it's in the server. Furthermore, I don't think that Benno's server uses the core which would rule out use of the core on the server side. Finally, to the best of my knowledge, there is not a size constraint (as you suggest below) in OPeNDAP, at least not for data sets of this size. Another clue that might help track this down is that I can access other subsets in the ODC, for example elements 9986:10000; i.e., the problem in the ODC is not the 9987 number. Peter On Mar 10, 2006, at 11:30 AM, Rick Grubin wrote:
-- Peter Cornillon Graduate School of Oceanography - Telephone: (401) 874-6283 University of Rhode Island - Fax: (401) 874-6728 Narragansett, RI 02882 - E-mail: pcornillon@xxxxxxxxxxx |
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | ||||||
|
||||||