Opened 6 years ago
Closed 6 years ago
#1956 closed defect (fixed)
Support GDAL subdatasets in wcst_imports
Reported by: | Dimitar Misev | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.8 |
Component: | wcst_import | Version: | development |
Keywords: | Cc: | Bang Pham Huu, Vlad Merticariu | |
Complexity: | Medium |
Description
In the ingredients we can specify only proper filepaths on the file system. For some complex formats (e.g. netcdf), GDAL supports custom filepath schemes in order to extract subsets of the whole file, like a specific netcdf variable. We should think how this can be supported in wcst_import.
An initial idea is to support specifying pairs of (filesystem path, GDAL scheme), e.g.
"paths": [ { "file": "*.nc", "subdataset": "NETCDF:${file}:varname" } ]
Change History (3)
comment:1 by , 6 years ago
Milestone: | Future → 9.8 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:2 by , 6 years ago
So it seems like this can be now done with prehook which just replaces the path in similar way as the example in the description.
Therefore this ticket is about adding a test in the systemtest and an example in the docs.
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Is the syntax in the ticket description ok?
wcst_import still supports the old syntax of course, but in addition it would allow this so that subdatasets can be imported.
Or do you think that this can be emulated with pre-hooks which just replace the file path?