A python script to parse surficial geology labels for Yukon government's Terrain Classification System.
-
Ensure a copy of Python is installed. This app was developed using Python 3.10.2
-
Download the code via the Github page or using git:
git clone https://github.com/ytgov/surficial-geology-labels
-
Change into the project directory
-
Run `python parseLabels.py be sure to include any relevant 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 or comements? Please contact the Yukon Geological Survey