Contour Alley Designer

v0.6.4
io.github.viridisconservation/contour-alley-designer Checked 2 days ago Published 11 days ago

Design agroforestry on real US fields: tree rows, carbon, leakage and a field monitoring plan.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

describe_project About Contour Alley Designer

What Contour Alley Designer does, the rules for relaying its results, and how to cite it.

list_sites List shipped fields

List the real fields shipped with the model, and whether a finished example result exists for each.

get_example_result Get a shipped field result

Finished design result for a shipped field: verdict, best design, carbon under both leakage rules, breakeven year and limitations. Answers at once.

ParameterTypeDescription
site *stringA site id from list_sites, e.g. hall-ne-cropland

start_design Start a design run

Start a full design run in the background for a shipped field or your own site.json. Returns a job id at once; poll get_design_status. A run takes several minutes.

ParameterTypeDescription
site *stringA site id from list_sites, or a path to a site.json made by tools/fetch_site.py

get_design_status Check a design run

Status of a design run started with start_design; returns the result summary once it has finished and passed verification.

ParameterTypeDescription
job_id *string

check_observations Check field observations

Compare field observations with a finished run's predictions (on_track / watch / off_track). Writes nothing.

ParameterTypeDescription
observations *arrayRows of indicator, year, value
job_idstringA finished start_design job
sitestringA shipped site id (uses its finished example run)