Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 600 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 600 Bytes

Physrisk CLI

Command Line Interface for the Physrisk Lib

Creating the docker image

cd src/
docker build --build-arg OSC_S3_ACCESS_KEY=<access_key> --build-arg OSC_S3_SECRET_KEY=<secret_key> -t physrisk-cli:0.1 .

Running the CWL

Example Commands

toil-cwl-runner get_asset_impact.cwl#physrisk-filter --assets='https://lst-cogs.s3.eu-west-1.amazonaws.com/realestate_assets.geojson'

This should output a directory called asset_output in the same folder it was run from with the results in a file called result.json.