pelagos_py.steps.input_output.export#

class pelagos_py.steps.input_output.export.ExportStep(name, parameters=None, diagnostics=False, context=None)[source]#

Bases: pelagos_py.steps.base_step.BaseStep

Exports the the data output by the previous step.

Parameters:
  • output_path (str) – Path and file name to output to. The file extension should be included.

  • export_format (str) – Either “netcdf”, “csv”, “hdf5” or “parquet”

Examples

Example usage in a pipeline configuration:

steps:
  - name: Data Export
    parameters:
        output_path: "save/my/data/here.nc"
        export_format: "netcdf"
generate_diagnostics()[source]#

Generate diagnostics for the export step.