Skip to content

Prefect UI Docs User Guide (internal guide through BFS workflows)

Karolina Bzdusek edited this page Feb 14, 2021 · 15 revisions

Triggering workflow

First you need to login into https://www.prefect.io/ . Then choose one of the flows you wish to trigger (Let's pick Residential Density).

How to set parameters?

When you click on "RUN" in options (not QUICK RUN!) You can see "Parameters" in json format. For Residential Density Map, you have three parameters: {year, center, radius}. Set an year for which do you want to visualize data . center is a POINT, LV96 coordinates and radius is in meters. This is what you have seen at Team Review last Thursday (11th February), meanwhile Prefect upgrade it to what you can see below.

New UI page for RUN:

How to get a snapshot?

After you ran workflow with desired parameters, you can find your snapshot_<uid> here:
http://192.168.20.143:8080/ and upload to gemeindescan.

Voilà! You have created another map just by a click! 🤘🏻

Available Parameters

Residential Density:
year : int, <2012, 2019>
center : list, X Y (LV95)
radius: int, (meters)

Residential Diversity:
year : int, <2012, 2019>
center : list, X Y (LV95)
radius: int, (meters)

Work Density:
year : int, <2011, 2018>
center : list, X Y (LV95)
radius: int, (meters)

Work Diversity:
year : int, <2011, 2018>
center : list, X Y (LV95)
radius: int, (meters)

Change Work & Residential Density:
year1 : int, <2012, 2018>
year2 : int, <2012, 2018>
center : list, X Y (LV95)
radius: int, (meters)

Clone this wiki locally