From b80f6d2e647d0b35e7d23546382ddab0c1aa6159 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 5 Jul 2022 20:41:04 +0300 Subject: [PATCH] QMs docm update --- handbook/troggle/scriptsqms.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/handbook/troggle/scriptsqms.html b/handbook/troggle/scriptsqms.html index e0ab988b5..157403000 100644 --- a/handbook/troggle/scriptsqms.html +++ b/handbook/troggle/scriptsqms.html @@ -41,6 +41,8 @@ each cave system. A perl script turned that into an HTML file for the website. B
  • Perl + troggle - One of troggle's input parsers "QM parser" is specifically designed to import the three HTML files produced from qms.csv and produces reports by cave and individually, e.g. see the 161 QMs (slow page), which is old compared with the hand-edited 1623-161 page which was derived from it. +
  • troggle and QMs in survex files - Since Sam wrote this in 2020 we have had the recent QMs in troggle but the report +to display them was not written. This has now (July 2022) been fixed. Note that this means some duplication for 1623-161 and a few others.
  • Python script - Phil Withnall's 2019 script svx2qm.py scans all the QMs in a single survex file. See below for how to run it on all survex files.
  • The elderly Prospecting Guide - Used to cover some of the same sorts of information as needed by someone wanting to chase QMs. It was a troggle-generated document at expo.survex.com/prospecting_guide/. @@ -52,7 +54,13 @@ integrate these QMs into the same reports as those parsed from the CSV files.

    QMs all use the same QM description conventions.

    troggle/parsers/qms.py

    -

    Troggle currently reports QMs for only three historic caves and ignores all the QMs inside survex files. +

    Troggle currently reports QMs for only three historic caves and also imports all the QMs inside survex files. +Thus a recent cave such as 1623-264 (Balkhöhle)will only show QMs imported from the survex files: +

    +

    The bug in the individual QMs is probably in the importing process.

    The parser troggle/parsers/qms.py currently imports the qm.csv files used by the 2004 perl script tablize-qms.pl (see below) into troggle using a mixture of csv and html parsers:

    parseCaveQMs(cave='stein',inputFile=r"1623/204/qm.csv")