lutraconsulting / MDAL

Mesh Data Abstraction Library
http://www.mdal.xyz/
MIT License
158 stars 49 forks source link

Reading data from a thredds server #109

Open marceloandrioni opened 5 years ago

marceloandrioni commented 5 years ago

Hello, first, thanks for the great tool! MDAL/Crayfish really makes things easier for those that need to explore metocean data in QGIS. My question is if it is possible to read data from a TDS - THREDDS Data Server (https://www.unidata.ucar.edu/software/thredds/current/tds/) using MDAL. TDS creates virtual aggregations of netcdf or grib files and the user only needs a single link to explore the whole dataset. A example link for a TDS dataset would be: http://tds.hycom.org/thredds/dodsC/GLBy0.08/latest with 40 vertical layers and 101 timesteps with current data from the HYCOM NCODA model.

From what I could see, right now it is only possible to read data from a local file. Besides the problem of reading remote data, it would also be necessary a way of subseting the dimensions (e.g. choosing just 10 timesteps from thousands that the dataset could have). I imagine this has some relations with #89.

Thank you.

PeterPetrik commented 5 years ago

I think it would be possible in similar manner as OGR handles WFS layers through libcurl or so. Alternatively it could be a new mesh-layer provider in QGIS independent on MDAL.

saberraz commented 5 years ago

I think TDS is similar to Cloud Optimized Geotiff: https://twitter.com/opencholmes/status/1013833158725267456