r-geoflow / geoflow

Tools to Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
https://github.com/r-geoflow/geoflow/wiki
Other
41 stars 14 forks source link

Support 'dir' data multiple source accessor with remote accessors #304

Closed eblondel closed 1 year ago

eblondel commented 1 year ago

The 'dir' approach was implemented with support of multilayer and the capacity to have an entity geoflow_data object with other geoflow_data objects as children. The implementation was done for local dir access. The logic is completely different in case of remote data access.

Not all data accessors will be provided with this capacity. At now this will be implemented for ocs software / data accessors.

@mrouan @juliepierson

eblondel commented 1 year ago

@mrouan @juliepierson I've pushed a first implementation to support data dir in combination with a different data accessor through data access property. This provides the general framework (including support of a new list method feature for the definition of data accessors) + the implementation for OCS.

To use it it's quite straighforward. You declare the access:ocs in your Data column, and set the remote dir path for the dir property. Example:

access:ocs_
dir:MyDrive/geoflow/testdir

Looking forward to your feedback,

juliepierson commented 1 year ago

Thanks @eblondel, it looks great ! Looking forward to test this, but maybe not until january 2023