2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-29 05:11:52 +00:00
troggle/templates/survexfilewild.html

53 lines
2.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Survex files which have no wallets{% endblock %}
{% block content %}
<h1>'Wild' Survex files</h1>
<p>These are survex files which have NO ATTACHED WALLET.
<br />
i.e. they have a survex block (begin..end) with no *REF line which refers to the wallet holding the raw data for that block of data.
<table>
<tr><th>survex block with no *ref</th><th>date</th><th>parent block</th><th>within survex file</th><th>surveyed length</th><th>team</th></tr>
{% for sb in svxwild %}
<tr>
<td style="text-align:center"> {{ sb }} </td>
<td style="text-align:center"><a href="/wallets/year/{{sb.year}}">{{sb.date }}</a> </td>
<td style="text-align:center"> {{sb.parent }} </td>
<td style="text-align:left"> <a href="{% url "svx" sb.survexfile.path %}">{{sb.survexfile.path}}</a> </td>
<td style="text-align:center"> {{sb.legslength|floatformat:"1g" }}m </td>
<td style="text-align:center"> {{sb.team|truncatechars:50 }} </td></tr>
{% endfor %}
</table>
<br />
So we are missing {{wildlength|floatformat:"0g"}}m of surveyed cave from our wallet records.
<br /><br />
If the "team" field is empty, it probably means that the survex file has been created since the last database reset.
<br />
If the parent block says "troggle _unseens" or "None" then the survex file has not been plumbed in to the expo survex network yet.
<br />
If there is a *ref line of the correct format, then maybe that wallet has not been created yet. Create it, and fill in the data.
<br /><br />
Length of survex data referenced by wallets in this year {{walletslength|floatformat:"0g"}}m.
<br /><br />
<table>
<tr><th>Year</th><th>Survex<br>Survey<br>Blocks</th><th>Survex<br>Survey Legs</th><th>Survex <br>length(m)</th></tr>
{% for legs in legsbyexpo %}
<tr>
<td style="text-align:center"><a href="{{ legs.0.get_absolute_url }}">{{legs.0}}</a></td>
<td style="text-align:center">{{legs.0.survexblock_set.all|length}}</td>
<td style="text-align:center">{{legs.1.nsurvexlegs|rjust:"10"|floatformat:"0g"}} </td>
<td style="text-align:right">{{legs.1.survexleglength|floatformat:"0g"}}</td>
</tr>
{% endfor %}
</table>
<p>These are uncorrected tape lengths which include pitches and duplicates but exclude splays or surface-surveys.
<p>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 %}