{% extends "base.html" %} {% load wiki_markup %} {% load link %} {% block title %}Expo statistics{% endblock %} {% block content %}

Expo Statistics

{{ expoCount }} expeditions: {{ personCount }} people, {{ caveCount }} caves and {{ logbookEntryCount }} logbook entries.

Number of survey legs: {{nsurvexlegs}}
Total length: {{totalsurvexlength|stringformat:".1f"}} km added-up on importing survex files.
Total length: {{addupsurvexlength|stringformat:".1f"}} km adding up the total for each year.

These are raw tape lengths which include pitches, splays and surface-surveys. There is also some doubt that the parsing is correct so maybe some long lengths are misinterpeted: compass readings as tape-lengths for example: LoadSurvexDataCmd in parsers/survex.py would be a good place to start.

This is work in progress (July 2020).

However the number of survey legs should be correct, and the by-year total should be the same as the by-file-import total.
Obviously there is still work to do. {% for legs in legsbyexpo %} {% endfor %}
YearSurvex
Survey
Blocks
Survex
Survey Legs
Total length
(m)
{{legs.0.year}} {{legs.0.survexblock_set.all|length}} {{legs.1.nsurvexlegs|rjust:"10"}} {{legs.1.survexleglength}}

One Survex Survey Block is one *begin/*end block of data in a survex file. Some files from other caving clubs may have a convention of using many more blocks per file than we do, e.g. if the file is exported from other software into survex format. {% endblock %}