Commit 99e116a6 authored by Eric Duminil's avatar Eric Duminil
Browse files

wuerzburg_klimabaeume_bodenfeuchte. Renaming.

parent fb7fd59b
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -17,7 +17,7 @@ INPUT_DIR = SCRIPT_DIR / 'input' ...@@ -17,7 +17,7 @@ INPUT_DIR = SCRIPT_DIR / 'input'
OUTPUT_DIR = SCRIPT_DIR / 'output' OUTPUT_DIR = SCRIPT_DIR / 'output'
OUTPUT_DIR.mkdir(exist_ok=True) OUTPUT_DIR.mkdir(exist_ok=True)
INPUT_FILE = INPUT_DIR / 'wuerzburg_trees.parquet' INPUT_FILE = INPUT_DIR / 'wuerzburg_klimabaeume_bodenfeuchte.parquet'
INPUT_URL = "https://opendata.wuerzburg.de/api/explore/v2.1/catalog/datasets/sls-klimabaeume/exports/parquet?lang=en&timezone=Europe%2FBerlin" INPUT_URL = "https://opendata.wuerzburg.de/api/explore/v2.1/catalog/datasets/sls-klimabaeume/exports/parquet?lang=en&timezone=Europe%2FBerlin"
USER_AGENT = {'User-agent': 'Mozilla/5.0'} USER_AGENT = {'User-agent': 'Mozilla/5.0'}
...@@ -67,7 +67,7 @@ for same, grouped_df in df.groupby('tree_number'): ...@@ -67,7 +67,7 @@ for same, grouped_df in df.groupby('tree_number'):
fill_color="green", fill_color="green",
fill=False, # gets overridden by fill_color fill=False, # gets overridden by fill_color
popup=f"Tree #{tree_id}, {species} ({species_de}).<br/>" popup=f"Tree #{tree_id}, {species} ({species_de}).<br/>"
f"{lat}°N {lon}°E<br/>" f"{lat}°N {lon}°E, in {soil}<br/>"
f"From {times['min']} to {times['max']}\n{table}", f"From {times['min']} to {times['max']}\n{table}",
).add_to(interactive_map) ).add_to(interactive_map)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment