Skip to content

Commit

Permalink
Generate umap
Browse files Browse the repository at this point in the history
  • Loading branch information
Binnette committed Feb 7, 2024
1 parent b3b63f8 commit a28f390
Show file tree
Hide file tree
Showing 9 changed files with 356 additions and 355 deletions.
574 changes: 287 additions & 287 deletions Stats/9igf-gac.csv

Large diffs are not rendered by default.

Binary file modified Stats/9igf-gac.ods
Binary file not shown.
5 changes: 3 additions & 2 deletions Stats/generate_umap.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def parseFeatureFromCsvRow(row):
eventLink = row['EventLink']
trailShortLink = row['TrailShortLink']
album = row['Album']
havePhoto = False if row['HavePhoto'] == 'No' else True

if type.lower() != 'cancelled':
stats['total'] += 1
Expand All @@ -115,7 +116,7 @@ def parseFeatureFromCsvRow(row):
stats['types'][type] = 1

if 'Hike' not in type:
print(f'🟡 not a hike: {name}')
print(f'🔵 not a hike: {name}')
return

if len(suffix) > 0:
Expand All @@ -137,7 +138,7 @@ def parseFeatureFromCsvRow(row):
print(f'🔴 missing trailShortLink for {curHike}')
return

if len(album) < 1:
if havePhoto and len(album) < 1:
print(f'🟡 missing Album for {curHike}')

if len(km) < 1:
Expand Down
12 changes: 6 additions & 6 deletions Stats/umap/grenoble_adventure_club_2020_hikes.umap
Original file line number Diff line number Diff line change
Expand Up @@ -3736,7 +3736,7 @@
{
"type": "Feature",
"properties": {
"name": "Chamechaude 4th of July! ",
"name": "Chamechaude 4th of July!",
"description": "3.6 km - d+ 786m - top 2082m\n{{https://binnette.github.io/GAC/Stats/img/2020-07-04.jpg}}\nGPX: https://s.42l.fr/iTny7FHv\n2020-07-04: [[https://binnette.github.io/GacImg2020/2020-07-04-Chamechaude-4th-of-July.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/271679624|Meetup]]",
"time": "2020-07-04"
},
Expand Down Expand Up @@ -6522,7 +6522,7 @@
"type": "Feature",
"properties": {
"name": "\"City Hike\" with Game :)",
"description": "6.2 km - d+ 70m - top 220m\n{{https://binnette.github.io/GAC/Stats/img/2020-07-05.jpg}}\nGPX: https://frama.link/FzfQXGha\n2020-07-05: [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/271695565|Meetup]]",
"description": "6.2 km - d+ 70m - top 220m\n{{https://binnette.github.io/GAC/Stats/img/2020-07-05.jpg}}\nGPX: https://frama.link/FzfQXGha\n2020-07-05: [[https://binnette.github.io/GacImg2020/2020-07-05-City-Hike-with-Game.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/271695565|Meetup]]",
"time": "2020-07-05"
},
"geometry": {
Expand Down Expand Up @@ -7190,7 +7190,7 @@
{
"type": "Feature",
"properties": {
"name": "City Hike #2 with Geocaching ",
"name": "City Hike #2 with Geocaching",
"description": "4.3 km - d+ 60m - top 220m\n{{https://binnette.github.io/GAC/Stats/img/2020-07-11.jpg}}\nGPX: https://frama.link/XsStAy4E\n2020-07-11: [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/271771141|Meetup]]",
"time": "2020-07-11"
},
Expand Down Expand Up @@ -7763,7 +7763,7 @@
{
"type": "Feature",
"properties": {
"name": "Chamrousse and the lakes, 12th of July! ",
"name": "Chamrousse and the lakes, 12th of July!",
"description": "14.6 km - d+ 1190m - top 2448m\n{{https://binnette.github.io/GAC/Stats/img/2020-07-12.jpg}}\nGPX: https://frama.link/5RJcyZ8w\n2020-07-12: [[https://binnette.github.io/GacImg2020/2020-07-12-Chamrousse-and-the-lakes%2C-12th-of-July.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/271778570|Meetup]]",
"time": "2020-07-12"
},
Expand Down Expand Up @@ -30475,7 +30475,7 @@
"type": "Feature",
"properties": {
"name": "Dr\u00e9 dan l'pentu / Straigth to the top -- \ud83e\udd7e+\ud83c\udfca",
"description": "8.8 km - d+ 1064m - top 2141m\n{{https://binnette.github.io/GAC/Stats/img/2020-09-13.jpg}}\nGPX: https://s.42l.fr/lX-HrbRh\n2020-09-13: [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/273156020|Meetup]]",
"description": "8.8 km - d+ 1064m - top 2141m\n{{https://binnette.github.io/GAC/Stats/img/2020-09-13.jpg}}\nGPX: https://s.42l.fr/lX-HrbRh\n2020-09-13: [[https://binnette.github.io/GacImg2020/2020-09-13-Dre-dan-lpentu-Straigth-to-the-top-%F0%9F%A5%BE%F0%9F%8F%8A.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/273156020|Meetup]]",
"time": "2020-09-13"
},
"geometry": {
Expand Down Expand Up @@ -41968,7 +41968,7 @@
{
"type": "Feature",
"properties": {
"name": "Christmas Day 2020 \u201cOn The Rocks\u201d \ud83e\udd43 \ud83c\udfd4 ",
"name": "Christmas Day 2020 \u201cOn The Rocks\u201d \ud83e\udd43 \ud83c\udfd4",
"description": "10.7 km - d+ 1039m - top 1046m\n{{https://binnette.github.io/GAC/Stats/img/2020-12-25.jpg}}\nGPX: https://s.42l.fr/xE1yPtD0\n2020-12-25: [[https://binnette.github.io/GacImg2020/2020-12-25-Christmas-Day-2020-On-The-Rocks-%F0%9F%A5%83-%F0%9F%8F%94.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/275347843|Meetup]]",
"time": "2020-12-25"
},
Expand Down
4 changes: 2 additions & 2 deletions Stats/umap/grenoble_adventure_club_2021_hikes.umap
Original file line number Diff line number Diff line change
Expand Up @@ -5514,7 +5514,7 @@
{
"type": "Feature",
"properties": {
"name": "\ud83d\udc97 Le Bastille by Another Way (via La Tronche) \u2764\ufe0f ",
"name": "\ud83d\udc97 Le Bastille by Another Way (via La Tronche) \u2764\ufe0f",
"description": "7 km - d+ 524m - top 635m\n{{https://binnette.github.io/GAC/Stats/img/2021-02-14.jpg}}\nGPX: https://s.42l.fr/TqWwBB03\n2021-02-14: [[https://binnette.github.io/GacImg2021/2021-02-14-Le-Bastille-by-Another-Way-via-La-Tronche.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/275008068|Meetup]]",
"time": "2021-02-14"
},
Expand Down Expand Up @@ -38937,7 +38937,7 @@
"type": "Feature",
"properties": {
"name": "\ud83e\udd7e\u26fa 2 days/1 night hike: only for GOOD hikers \ud83d\udc10",
"description": "14.2 km - d+ 1234m - top 2341m\n{{https://binnette.github.io/GAC/Stats/img/2021-07-11.jpg}}\nGPX: https://s.42l.fr/r37xi2iT\n2021-07-11: [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/279313627|Meetup]]",
"description": "14.2 km - d+ 1234m - top 2341m\n{{https://binnette.github.io/GAC/Stats/img/2021-07-11.jpg}}\nGPX: https://s.42l.fr/r37xi2iT\n2021-07-11: [[https://binnette.github.io/GacImg2021/2021-07-10-%F0%9F%A5%BE%E2%9B%BA-2-days-1-night-hike-only-for-GOOD-hikers-%F0%9F%90%90.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/279313627|Meetup]]",
"time": "2021-07-11"
},
"geometry": {
Expand Down
8 changes: 4 additions & 4 deletions Stats/umap/grenoble_adventure_club_2022_hikes.umap
Original file line number Diff line number Diff line change
Expand Up @@ -22323,7 +22323,7 @@
"type": "Feature",
"properties": {
"name": "\ud83e\udd7e\ud83d\udd35 Hike: La Ferme Durand \ud83d\ude9c",
"description": "11.1 km - d+ 821m - top 860m\n{{https://binnette.github.io/GAC/Stats/img/2022-02-26.jpg}}\nGPX: https://s.42l.fr/cPJdPNWt\n2022-02-26: [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/284202086|Meetup]]",
"description": "11.1 km - d+ 821m - top 860m\n{{https://binnette.github.io/GAC/Stats/img/2022-02-26.jpg}}\nGPX: https://s.42l.fr/cPJdPNWt\n2022-02-26: [[https://binnette.github.io/GacImg2022/2022-02-26-%F0%9F%A5%BE%F0%9F%94%B5-Hike-La-Ferme-Durand-%F0%9F%9A%9C.html|Album]] - [[https://www.meetup.com/Grenoble-Adventure-Club-English-French/events/284202086|Meetup]]",
"time": "2022-02-26"
},
"geometry": {
Expand Down Expand Up @@ -75652,7 +75652,7 @@
{
"type": "Feature",
"properties": {
"name": "\ud83d\udd34\ud83e\udd7eHike: Chamchaude or Les cr\u00eates Nord du Mont Saint-Eynard from sappey ",
"name": "\ud83d\udd34\ud83e\udd7eHike: Chamchaude or Les cr\u00eates Nord du Mont Saint-Eynard from sappey",
"description": "13 km - d+ 1280m - top 2082m\n{{https://binnette.github.io/GAC/Stats/img/2022-05-15.jpg}}\nGPX: https://s.42l.fr/px7tASYB\n2022-05-15: [[https://binnette.github.io/GacImg2022/2022-05-15-%F0%9F%94%B4%F0%9F%A5%BEHike-Chamchaude-or-Les-cretes-Nord-du-Mont-Saint-Eynard-from-sappey.html|Album]] - [[https://www.meetup.com/grenoble-adventure-club-english-french/events/285908756|Meetup]]",
"time": "2022-05-15"
},
Expand Down Expand Up @@ -149823,7 +149823,7 @@
"type": "Feature",
"properties": {
"name": "\ud83e\udd7e\ud83d\udd35 Hike: ~500m+ 12.5km randonn\u00e9e du tour des passerelles himalayennes \ud83c\udfca",
"description": "12.8 km - d+ 717m - top 692m\n{{https://binnette.github.io/GAC/Stats/img/2022-08-28.jpg}}\nGPX: https://s.42l.fr/bU9yLjey\n2022-08-28: [[https://binnette.github.io/GacImg2022/2022-08-28-%F0%9F%A5%BE%E2%9A%AB-Hike-%F0%9F%A5%B51500m%E2%86%97%F0%9F%A4%AF-Ferrouillet-and-Lac-de-Crop-%F0%9F%8F%8A.html|Album]] - [[https://www.meetup.com/grenoble-adventure-club-english-french/events/288098548|Meetup]]",
"description": "12.8 km - d+ 717m - top 692m\n{{https://binnette.github.io/GAC/Stats/img/2022-08-28.jpg}}\nGPX: https://s.42l.fr/bU9yLjey\n2022-08-28: [[https://www.meetup.com/grenoble-adventure-club-english-french/events/288098548|Meetup]]",
"time": "2022-08-28"
},
"geometry": {
Expand Down Expand Up @@ -152360,7 +152360,7 @@
"type": "Feature",
"properties": {
"name": "\ud83e\udd7e\u26ab Hike: \ud83e\udd75~1500m\u2197\ud83e\udd2f Ferrouillet & Lac de Crop \ud83c\udfca",
"description": "16.6 km - d+ 1435m - top 2587m\n{{https://binnette.github.io/GAC/Stats/img/2022-08-28-ferrouillet.jpg}}\nGPX: https://s.42l.fr/URkn6x3H\n2022-08-28: [[https://www.meetup.com/grenoble-adventure-club-english-french/events/288081236|Meetup]]",
"description": "16.6 km - d+ 1435m - top 2587m\n{{https://binnette.github.io/GAC/Stats/img/2022-08-28-ferrouillet.jpg}}\nGPX: https://s.42l.fr/URkn6x3H\n2022-08-28: [[https://binnette.github.io/GacImg2022/2022-08-28-%F0%9F%A5%BE%E2%9A%AB-Hike-%F0%9F%A5%B51500m%E2%86%97%F0%9F%A4%AF-Ferrouillet-and-Lac-de-Crop-%F0%9F%8F%8A.html|Album]] - [[https://www.meetup.com/grenoble-adventure-club-english-french/events/288081236|Meetup]]",
"time": "2022-08-28"
},
"geometry": {
Expand Down
Loading

0 comments on commit a28f390

Please sign in to comment.