Deriving wavelength dependent parameters using relative spectral response (RSRs) for Landsat 8 and Sentinel 2.
If you already have the necessary dependencies (mentioned in step 3) installed in your environment, start from step 4. The installation is much easier in a conda environment [miniconda or anaconda]
-
Create a new environment named ENVNAME with the latest Python version:
conda create -n ENVNAME python
-
Activate the new conda environment:
conda activate ENVNAME
The list of dependencies is available in requirements.txt
.
-
Install package from conda-forge:
conda install -c conda-forge rasterio conda install -c conda-forge glob2 conda install -c conda-forge pandas
Numpy, os, and IPython.display are installed by default.
To run the script in anaconda prompt:
python rsr.py
Note: This is not a fully developed repository. The code is provided as it is and no help will be provided regarding the same.