Hi Daniele,
I am browsing through your netcdf plugin sources and have a couple of
questions about opendap support.

As we talked it is not supported now, but there seems to be support
for http/ftp, download and read.

I tried to add the opendap support by assuming that http and dods are
opendap connections. I got quite far and part of the test works out
well.
That is mainly because all in the end goes down and is hidden to the
NetcdfDataset.

But at a certain point I am stuck: In NetCDFSource, method
addCoverage, there is a conversion from url to file:
GridCoverage gc =
Utilities.compute(BaseFileDriver.urlToFile(access.getInput()), ...

which obviously breaks, since the url is something like:
http://ensemblesrt3.dmi.dk/cgi-bin/nph-dods/data/prudence/monthly/DMI/ECC/precip.CRU.DMI.ECC.nc.gz

I am not sure why here the imagestreams are again being used. Is it
possible to bring in there the netcdf dataset abstraction?
How could this be achieved?
I think opendap support is really too important to get rid of it.

If you want, I can commit the changes done so far, since they anyways
do not break anything for the local files stuff, in case we should
find a moment to review them together.

Ciao
Andrea


PS: I had to add the opendap jar to the dependencies to try that out.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to