[gdal-dev] netcdf driver

Denis Nadeau denis.nadeau at gmail.com
Thu Aug 21 16:05:27 EDT 2008


Chris,

I corrected the namespace problem on my local machine and it worked for me
with Tropical Rainfall data from NASA/GSFC DISC.  I will check in the code
later today.

Also, the problem your having on
http://apdrc.soest.hawaii.edu/dods/public_data/SODA/soda_pop2.0.4 is due to
the fact that you are using GDS(Grads-DODS) which is meant for Grads.

I will look at the source code and try to find out why the IReadBlock
failed.   It might be very simple to fix.  In fact, I think it would be very
nice if GDAL DODS driver support GDS since GDS is georeferenced and a lot of
people doing research are using it.

Thanks for your input!
Denis

e.g.
gdalinfo -mm
http://disc2.nascom.nasa.gov/opendap/TRMM_L3/TRMM_3B42/2000/004/3B42.000104.12.6.HDF.Z?precipitation[0]
[y][x]

Driver: DODS/DAP 3.x servers
Files: none associated
Size is 400, 1440
Coordinate System is `'
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 1440.0)
Upper Right (  400.0,    0.0)
Lower Right (  400.0, 1440.0)
Center      (  200.0,  720.0)
Band 1 Block=400x128 Type=Float32, ColorInterp=Undefined
    Computed Min/Max=-9999.900,38.662
  NoData Value=3.82456147081407153e-62
  Overviews: 200x720, 100x360, 50x180


Denis
2008/8/21 Christopher Condit <condit at sdsc.edu>

>  Hi Denis-
>
> I put this patch in a few months ago addressing this libdap 3.8 issue:
>
> http://trac.osgeo.org/gdal/ticket/2404
>
> This will get the code to build against libdap3.8 (primarily a namespace
> problem), but there are still issues accessing DODS datasources:
>
> http://trac.osgeo.org/gdal/ticket/2492
>
>
>
> If you get some time to look into this it would be great…
>
>
>
> Thanks,
>
> -Chris
>
>
>
>
>
> *From:* gdal-dev-bounces at lists.osgeo.org [mailto:
> gdal-dev-bounces at lists.osgeo.org] *On Behalf Of *Denis Nadeau
> *Sent:* Thursday, August 21, 2008 10:53 AM
> *To:* gdal-dev at lists.osgeo.org
> *Subject:* [gdal-dev] netcdf driver
>
>
>
> Hi,
>
> I will being doing some new development on netCDF driver to make it more
> CF-1 Compliant.
>
> Note: when I compiled the netCDF 3.6.2  with HDF4.2r3 (with the flag
> --disable-netcdf)  I had to change all macros such as "MAX_NC_NAME" to
> "H4_MAX_NC_NAME" and many other similar macros. Need to do some testing on
> this.
>
> I also noticed that DODS (dodsdataset2.cpp) does not seem to compile with
> libdap3.8.2.  There are some major changes in the library for C++.
> I will take a look into this as well, but do not promess anything...
>
> If you have suggestion of improvements for DODS, HDF4 and netCDF drivers,
> let me know, I have a little bit of time this coming month.
>
> Regards,
> Denis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080821/8fda1e1e/attachment-0001.html


More information about the gdal-dev mailing list