For the complete documentation index, see llms.txt. This page is also available as Markdown.

Python Usage/Development

Installation

Installation Instructions
1

Install Miniconda

Choose the correct option for your computer.

2

Open Anaconda Prompt (miniconda3)

Open the Anaconda Prompt application

3

Clone py-radiometric-corrections

git clone https://github.com/SenteraLLC/py-radiometric-corrections.git
4
cd py-radiometric-corrections/
5

Run The Following Commands

This creates an imgcorrect-venv environment that all scripts should be run in and installs the analyticstest library for the scripts to reference. If no errors appear, the imgcorrect library should be installed correctly.

conda env create -f environment.yml
conda activate imgcorrect-venv
pip install .

Change hint settings you may need to add --user at the end of the install command.

6

Installation Complete.

This creates an imgcorrect-venv environment that all scripts should be run in and installs the analyticstest library for the scripts to reference.

If no errors appear, the imgcorrect library should be installed correctly.

Instructions

Use local data folders when running the proceesing scripts.

1

Open Anaconda Prompt and navigate to py-radiometric-corrections/.

cd py-radiometric-corrections/ 
2

Activate Environment

conda activate imgcorrect-venv 
3

Get Required Arguments

 python scripts\correct_images.py -h  
4

Run Corrections

python scripts\correct_images.py "input_path" --output_path "output_path" 

Last updated