-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opendap/DODS #10613
Comments
I believe this is a capability of libnetcdf if it is built with OpenDAP support, that should be available through GDAL netCDF driver. I suppose there must be libnetcdf documentation somewhere about that. |
When I get a dodsC URL I sub "/dodsC/" for "/fileServer/" and prepend it with "/vsicurl/" for use with GDAL. Happy to try out sources that you're trying to use, GDAL classic (2D) isn't always a good model for NetCDF but it's fine for lots of cases, and I appreciate learning more in this space. |
The THREDDS server browser page actually provides a /fileServer/ URL (in addition to /dodsC/). That does however download the entire grid file, which I don't want. |
That's why the need for the "/vsicurl/" at the start. (If it's still downloading holus please provide an example Id like to explore). You can achieve similar with (non-gdal) netcdf itself by appending "#mode=bytes". |
/vsicurl/ fails (windows machine). In my case, the files contains multiple subdatasets. Using the syntax The data is available here, if you'd like to fiddle: https://thredds.met.no/thredds/catalog/metpparchive/2024/08/19/catalog.html |
I see the same error on windows ( on windows R/GDAL/netcdf has good support via CRAN sometimes, but historically patchy, and I haven't otherwise used GDAL there in a long time). On Linux it works. Note the need for /vsicurl/ on the inside of the driver declaration. (in later versions can do "-if NetCDF and -sd_name precipitation_amount")
that presents with geolocation arrays, so probably needs to be streamed through the warper for georef (I'll explore and expand on this a bit more later if it helps) also with GDAL_SKIP of netcdf:
note that the subdatasets present from HDF5 with a different syntax. (I'll follow up, but can you report your drivers and build info?
|
Just submitted a new new issue: #10617 Will be busy the next couple of days, but will try to follow up as quickly as possible. |
Feature description
I am currently working on a project that needs to fetch data using OpenDAP. The data itself is stored as NetCDF.
However, they can be requested via THREDDS, where you typically add constraints in the URL, such as extent (both time and spatial). The returned subset is transported in DODS format.
For some reason the DODS driver is no longer compiled by default. Not sure about its capabilites though, but I could live with constructing the URL myself and then chew the resulting DODS.
Perhaps re-enabling DODS would be sufficient.
Additional context
No response
The text was updated successfully, but these errors were encountered: