Skip to content

A live bird collage card for your Home Assistant dashboard.

redact lat/lon in view logs

ehpersonal38a3ddce480f85
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh
index 4fbab518..1827fd93 100755
--- a/scripts/birdnet_analysis.sh
+++ b/scripts/birdnet_analysis.sh
@@ -131,8 +131,8 @@ run_analysis() {
echo $PYTHON_VIRTUAL_ENV "$DIR\analyze.py" \
--i "${1}/${i}" \
--o "${1}/${i}.csv" \
---lat "${LATITUDE}" \
---lon "${LONGITUDE}" \
+--lat $(echo "${LATITUDE}" | awk '{print int($1+0.5)}').XX \
+--lon $(echo "${LONGITUDE}" | awk '{print int($1+0.5)}').XX \
--week "${WEEK}" \
--overlap "${OVERLAP}" \
--sensitivity "${SENSITIVITY}" \