Skip to content

Configuration File

Minh Pham edited this page Jun 2, 2020 · 4 revisions

A configuration file is a YAML file defining a transformation pipeline including adapters and their input parameters.

Configuration Options:

version

Version of the YAML file. The lastest version is 1.0

version: "1"

description

Description of the transformation pipeline

description: Data transformation to generate TopoFlow-ready precipitation files (RTS) from ISRIC SoilGrids data sources

inputs

Parameters used in the transformation pipelines. Values defined under inputs can be referenced from other locations in the YAML file using the syntax $$.[input_name]

inputs:
  gldas_dataset_id: 5babae3f-c468-4e01-862e-8b201468e3b5
  agg_function: average

adapters (for advanced users)

Specifications of the list of adapters including in the pipeline.

adapters:
  my_cell_point_func:
    comment: My cell to point func adapter
    adapter: cell2point_func.Cell2PointFunc
    inputs:
      cell2point_file: ./resources/cell2points.R
      cell_file: ./resources/GISlayer/Cells.shp
      point_file: ./resources/surf_points.csv
Clone this wiki locally