ytgov / surficial-geology-labels

Parse surficial geology labels for Yukon Geological Survey.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse Surficial Labels

A python script to parse surficial geology labels for Yukon government's Terrain Classification System.

Instructions

  1. Ensure a copy of Python is installed. This app was developed using Python 3.10.2

  2. Download the code via the Github page or using git:

    git clone https://github.com/ytgov/surficial-geology-labels

  3. Change into the project directory

  4. Run `python parseLabels.py be sure to include any relevant options

Command Line Options

-h: Display the help message

-i, --ifile: the name of the file to be parsed

-o, --ofile: the name of the file where the output will be written

-s, --string: a single string to be parsed. eg. "sgFGptM.dsmMbM//xsCv\zcLGpM-RdsbXsVI"

-f --format: Optional the desired output format; either pretty or csv

Questions

Questions or comements? Please contact the Yukon Geological Survey

About

Parse surficial geology labels for Yukon Geological Survey.

License:Other


Languages

Language:VBA 78.2%Language:Python 21.8%