Publishes results to the distributed file system, or the results location, or echoes strings as inputs to the subsequent nodes in the workflow.
import cioppy
ciop = cioppy.Cioppy()
ciop.publish (sources, base_path="", mode="", driver="", recursive=False, metalink=False)
sources
base_path
mode
path
as inputs to the subsequent nodes in the workflow
if mode is set to “anonymous”, ciop.publish will publish the results without echoing the resulting path(s) as input(s) to the subsequent nodes in the workflow
this mode overrides the recursive
, metalink
and driver
optionsdriver
recursive
metalink
This function stages-out local files to the distributed filesystem or allows defining the inputs passed to the next nodes in the workflow.
List with:
ciop.publish('/tmp/pippo.tif', metalink = True)
Terradue