[Gdal-dev] DODS and GDAL and Windows

James Gallagher jhrg at mac.com
Thu Mar 16 14:32:49 EST 2006


On Mar 13, 2006, at 11:37 AM, Christopher Condit wrote:

> Is DODS/opendap still supported in gdal?
> Given the following DDS, is this the correct way to access?
> "http://queequeg.marine.rutgers.edu:9876/dodsC/expprod.nc.dds"
> Dataset {
>     Float64 lat[lat = 1024];
>     Float64 lon[lon = 2048];
>     Float64 time[time = 64];
>     Grid {
>      ARRAY:
>         Float32 export_production[time = 64][lat = 1024][lon = 2048];
>      MAPS:
>         Float64 time[time = 64];
>         Float64 lat[lat = 1024];
>         Float64 lon[lon = 2048];
>     } export_production;
>     Grid {
>      ARRAY:
>         Int16 pp_mask[lat = 1024][lon = 2048];
>      MAPS:
>         Float64 lat[lat = 1024];
>         Float64 lon[lon = 2048];
>     } pp_mask;
> } expprod.nc;
>
> http://queequeg.marine.rutgers.edu:9876/dodsC/expprod.nc? 
> export_producti
> on.export_production[0][y][x]

This looks fine to me. What version of libdap are you using?

James
>
>
> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Christopher
> Condit
> Sent: Friday, March 10, 2006 10:45 AM
> To: gdal-dev at lists.maptools.org
> Subject: [Gdal-dev] DODS and GDAL and Windows
>
> I'm trying to move DODS data into a more usable format using
> gdal_translate, but am having some troubles.  I've got the latest GDAL
> from CVS - and libDAP installed on my Windows 2k3 machine.  I updated
> the nmake to include the appropriate references to PTHREAD and  
> CURL.  I
> created the makefile.vc for DODS.  Everything builds and links.
>
> C:\develop\gdal>apps\gdalinfo "http://queequeg.marine.rutgers.
> edu:9876/dodsC/expprod.nc.ascii?export_production.export_production 
> [0][y
> ][x]"
> Warning 1: I connected to the URL but could not get a DAP 3.x version
> string
> from the server.  I will continue to connect but access may fail.
> Assertion failed: OK(), file ..\Error.cc, line 320
>
> This application has requested the Runtime to terminate it in an  
> unusual
> way.
> Please contact the application's support team for more information.
>
> I stepped through with the debugger, and this crash is coming from  
> here:
> Dodsdataset2.cpp:1237
> DODSDataset *poDODS = dynamic_cast<DODSDataset *>(poDS);
>
> 1) This should work on Windows, right?
> 2) Am I referencing the data source incorrectly?
> 3) Any thoughts?
>
> Thanks!
>
> Chris
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

--
James Gallagher                jgallagher at opendap.org
OPeNDAP, Inc                   406.723.8663




More information about the Gdal-dev mailing list