TIMA-Min-Dif处理器
tima-mindif的Python项目详细描述
TIMA Mindif处理器v1.5.7
入门
从pypi安装
pip install tima-mindif
直接从git安装(注意:这是一个私有存储库)
^{pr2}$或者克隆repo以便您可以进行更改或查看代码,请注意pip安装中的-e是可选的,它使任何代码更改都能自动获取。在
git clone https://gitlab.com/csiro-geoanalytics/tima-utils/tima-mindif-processor.git
<Navigate to the code directory>
pip install -e .
如果您想在虚拟环境中处理代码,可以使用pip文件
pip install pipenv
pipenv install
pipenv shell
使用
安装完成后,使用命令“tima mindif”
tima-mindif -h
usage: tima-mindif [-h] [--output OUTPUT] [--verbose] [--exclude-unclassified]
[--show-low-val] [--thumbs]
project_path mindif_root
Process TIMA data
positional arguments:
project_path Path to the TIMA project
mindif_root Path to the MinDif root
optional arguments:
-h, --help show this help message and exit
--output OUTPUT, -o OUTPUT
Path to the desired output folder
--verbose Prints more information about app progress.
--exclude-unclassified, -u
Exclude unclassified rock types from image
--show-low-val, -l Prints rock types with <0.01 in the legend.
--thumbs Create thumbnails.
脚本应按以下方式执行: 蒂玛·明迪夫_处理器.py项目/路径mindif_root output_root
例如:
tima-mindif "/media/sf_Y_DRIVE/Data/Evolution" "/media/sf_Y_DRIVE/Data/Adam Brown" -o ./output
- 项目
标签: