{% extends "base.html" %}
{% block title %}Survex files which have no wallets{% endblock %}

{% block content %}



<h1>'Wild' Survex files {{year}}</h1>
<p> <a href="/survexfilewild">ALL YEARS</a>
{% for otherexpedition in expeditions %}
  | <a <a href="/survexfilewild/{{ otherexpedition.year }}">{{otherexpedition.year}}</a>
{% endfor %}

<p>These are survex blocks within a survex file 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.
<p>These have "; Messteam", "; Zeichner" or "; "LUSS Dead Mountains" in the survex block, so are non expo surveys.
<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></tr>
{% for sb in svxforeign %}
<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>
 
{% endfor %}
</table>

<p>These do not have "; Messteam", "; Zeichner" or "; "LUSS Dead Mountains" in the survex block, so are <em>probably</em> expo surveys; definitely if they have identified team members (or have zero length).
<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 wild surveyed cave from our wallet records.<br>
and there is {{foreignlength|floatformat:"0g"}}m of foreign (non-expo) surveyed cave from ARGE and others.
<br /><br />
If the "team" field is empty, it probably means that it is an ARGE survey (in German) and so we do not recognise any participants as valid 'expo' members.
Or it may mean that we did it, but 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.

<p>This only includes lengths surveyed by Expo survey trips (though not all have valid Expo-attendees as some survex files are administrative collections of *include statements). This no longer (since 30 June 2025) includes ARGE and other non-expo surveys. 

{% endblock %}