2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-01 22:31:53 +00:00
troggle/templates/survexfilewild.html

53 lines
2.5 KiB
HTML
Raw Normal View History

2023-08-05 10:43:06 +01:00
{% 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 />
2023-08-05 11:04:23 +01:00
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.
2023-08-05 10:43:06 +01:00
<table>
2023-08-05 10:57:38 +01:00
<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>
2023-08-05 10:43:06 +01:00
{% for sb in svxwild %}
<tr>
<td style="text-align:center"> {{ sb }} </td>
2023-08-05 11:14:45 +01:00
<td style="text-align:center"><a href="/wallets/year/{{sb.year}}">{{sb.date }}</a> </td>
2023-08-05 10:57:38 +01:00
<td style="text-align:center"> {{sb.parent }} </td>
2023-08-05 10:43:06 +01:00
<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>
2023-08-05 10:57:38 +01:00
<td style="text-align:center"> {{sb.team|truncatechars:50 }} </td></tr>
2023-08-05 10:43:06 +01:00
{% endfor %}
</table>
<br />
So we are missing {{wildlength|floatformat:"0g"}}m of surveyed cave from our wallet records.
<br /><br />
2023-08-05 11:04:23 +01:00
If the "team" field is empty, it probably means that the survex file has been created since the last database reset.
2023-08-05 10:43:06 +01:00
<br />
2023-08-05 11:14:45 +01:00
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.
2023-08-05 11:04:23 +01:00
<br /><br />
Length of survex data referenced by wallets in this year {{walletslength|floatformat:"0g"}}m.
<br /><br />
2023-08-05 10:43:06 +01:00
<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 %}