Skip to content

Instantly share code, notes, and snippets.

@Adizlois
Adizlois / AtCorrUtils.py
Last active December 26, 2015 21:09
This program receives a metadata file in USGS format, and it then applies the Wang atmospheric correction method based on a minimimal set of input parameters. It will take the original data, subset it if required using a geographical box in projection units (UTM). It will produce datasets with the TOA radiance (e.g. `LE72040312010347EDC00_ROI_B2…
#!/usr/bin/env python
"""
This file contains a number of support functions to perform
Atmospheric correction over inland waters. They will be used
by a number of different atmospheric correction algorithms.
AUTHORS:
José Gómez-Dans
Alfonso Diz-Lois Palomares
@Adizlois
Adizlois / Classifier.ipynb
Last active January 3, 2016 07:19
Maximum Likelihood classifier, adapted from Jose Gómez-Dans
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / WangLEDAPS-Update.ipynb
Created January 30, 2014 02:05
Atmospheric Correction - Wang adaptation and LEDAPS
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / AtCorrUtils and doWang.ipynb
Created January 30, 2014 02:32
AtCorrUtils & do_wang
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / Classifier_testing.ipynb
Created February 7, 2014 00:20
Maximum Likelihood Tool - Testing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / Classifier_testing_2.ipynb
Created February 12, 2014 18:22
More testing...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / Classifier_testing_3.ipynb
Created February 13, 2014 23:44
Aerosol Threshold Analysis...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / Import_function.ipynb
Created July 13, 2014 16:24
Import method implementation - Udemy Course "Python GUI programming using Qt framework"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Adizlois
Adizlois / distances.py
Last active December 7, 2015 10:42
Bhattacharyya distance, Euclidean distance, and Spectral angle calculator for multivariate samples
""" - Bhattacharyya distance, Euclidean distance, and Spectral angle calculator for multivariate samples -
It assumes that there are the same amount of non-valid values in every band.
Input files are multiband raster layers
Alfonso Diz-Lois <dizlois@gmail.com>"""