├── .gitignore ├── .travis.yml ├── CHANGES.txt ├── MANIFEST.in ├── README.md ├── demo_img ├── capehorn_no_color_hist.png ├── greenland_no_color_hist.png ├── portland_same_color_hist.png ├── toa_capehorn_no_color.gif ├── toa_greenland_no_color.gif ├── toa_greenland_no_color_small.gif ├── toa_portland_same_color.gif └── toa_portland_same_color_small.gif ├── requirements-dev.txt ├── requirements.txt ├── rio_toa ├── __init__.py ├── brightness_temp.py ├── radiance.py ├── reflectance.py ├── scripts │ ├── __init__.py │ └── cli.py ├── sun_utils.py └── toa_utils.py ├── setup.py └── tests ├── data ├── LC80100202015018LGN00_MTL.json ├── LC80100202015018LGN00_MTL.txt ├── LC80430302016140LGN00_MTL.json ├── LC80460282016177LGN00_MTL.json ├── LC81060712016134LGN00_B3.TIF ├── LC81060712016134LGN00_MTL.json ├── LC81060712016134LGN00_MTL.txt ├── LC81390452014295LGN00_MTL.json ├── LC82290902015304LGN00_MTL.json ├── mtltest_LC80100202015018LGN00_MTL.txt ├── path164sundata.json ├── tiny_LC80100202015018LGN00_B1.TIF ├── tiny_LC80100202015018LGN00_B1_refl.TIF ├── tiny_LC80460282016177LGN00_B11.TIF ├── tiny_LC80460282016177LGN00_B2.TIF ├── tiny_LC80460282016177LGN00_B2_refl.TIF ├── tiny_LC80460282016177LGN00_B3.TIF ├── tiny_LC80460282016177LGN00_B4.TIF ├── tiny_LC80460282016177LGN00_rgb_refl.TIF ├── tiny_LC81390452014295LGN00_B10.TIF ├── tiny_LC81390452014295LGN00_B5.TIF ├── tiny_LC81390452014295LGN00_B5_radl.TIF ├── tiny_LC81390452014295LGN00_B5_refl.TIF └── tiny_LLC80460282016177LGN00_B11_bt.TIF ├── expected ├── bt.tif ├── ref1.tif └── ref2.tif ├── test_brightness_temp.py ├── test_cli.py ├── test_radiance.py ├── test_reflectance.py ├── test_sun_utils.py └── test_toa_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/CHANGES.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include requirements.txt 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/README.md -------------------------------------------------------------------------------- /demo_img/capehorn_no_color_hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/capehorn_no_color_hist.png -------------------------------------------------------------------------------- /demo_img/greenland_no_color_hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/greenland_no_color_hist.png -------------------------------------------------------------------------------- /demo_img/portland_same_color_hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/portland_same_color_hist.png -------------------------------------------------------------------------------- /demo_img/toa_capehorn_no_color.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/toa_capehorn_no_color.gif -------------------------------------------------------------------------------- /demo_img/toa_greenland_no_color.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/toa_greenland_no_color.gif -------------------------------------------------------------------------------- /demo_img/toa_greenland_no_color_small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/toa_greenland_no_color_small.gif -------------------------------------------------------------------------------- /demo_img/toa_portland_same_color.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/toa_portland_same_color.gif -------------------------------------------------------------------------------- /demo_img/toa_portland_same_color_small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/demo_img/toa_portland_same_color_small.gif -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/requirements.txt -------------------------------------------------------------------------------- /rio_toa/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/__init__.py -------------------------------------------------------------------------------- /rio_toa/brightness_temp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/brightness_temp.py -------------------------------------------------------------------------------- /rio_toa/radiance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/radiance.py -------------------------------------------------------------------------------- /rio_toa/reflectance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/reflectance.py -------------------------------------------------------------------------------- /rio_toa/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rio_toa/scripts/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/scripts/cli.py -------------------------------------------------------------------------------- /rio_toa/sun_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/sun_utils.py -------------------------------------------------------------------------------- /rio_toa/toa_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/rio_toa/toa_utils.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data/LC80100202015018LGN00_MTL.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC80100202015018LGN00_MTL.json -------------------------------------------------------------------------------- /tests/data/LC80100202015018LGN00_MTL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC80100202015018LGN00_MTL.txt -------------------------------------------------------------------------------- /tests/data/LC80430302016140LGN00_MTL.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC80430302016140LGN00_MTL.json -------------------------------------------------------------------------------- /tests/data/LC80460282016177LGN00_MTL.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC80460282016177LGN00_MTL.json -------------------------------------------------------------------------------- /tests/data/LC81060712016134LGN00_B3.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC81060712016134LGN00_B3.TIF -------------------------------------------------------------------------------- /tests/data/LC81060712016134LGN00_MTL.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC81060712016134LGN00_MTL.json -------------------------------------------------------------------------------- /tests/data/LC81060712016134LGN00_MTL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC81060712016134LGN00_MTL.txt -------------------------------------------------------------------------------- /tests/data/LC81390452014295LGN00_MTL.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC81390452014295LGN00_MTL.json -------------------------------------------------------------------------------- /tests/data/LC82290902015304LGN00_MTL.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/LC82290902015304LGN00_MTL.json -------------------------------------------------------------------------------- /tests/data/mtltest_LC80100202015018LGN00_MTL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/mtltest_LC80100202015018LGN00_MTL.txt -------------------------------------------------------------------------------- /tests/data/path164sundata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/path164sundata.json -------------------------------------------------------------------------------- /tests/data/tiny_LC80100202015018LGN00_B1.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80100202015018LGN00_B1.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80100202015018LGN00_B1_refl.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80100202015018LGN00_B1_refl.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80460282016177LGN00_B11.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80460282016177LGN00_B11.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80460282016177LGN00_B2.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80460282016177LGN00_B2.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80460282016177LGN00_B2_refl.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80460282016177LGN00_B2_refl.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80460282016177LGN00_B3.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80460282016177LGN00_B3.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80460282016177LGN00_B4.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80460282016177LGN00_B4.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC80460282016177LGN00_rgb_refl.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC80460282016177LGN00_rgb_refl.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC81390452014295LGN00_B10.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC81390452014295LGN00_B10.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC81390452014295LGN00_B5.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC81390452014295LGN00_B5.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC81390452014295LGN00_B5_radl.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC81390452014295LGN00_B5_radl.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LC81390452014295LGN00_B5_refl.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LC81390452014295LGN00_B5_refl.TIF -------------------------------------------------------------------------------- /tests/data/tiny_LLC80460282016177LGN00_B11_bt.TIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/data/tiny_LLC80460282016177LGN00_B11_bt.TIF -------------------------------------------------------------------------------- /tests/expected/bt.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/expected/bt.tif -------------------------------------------------------------------------------- /tests/expected/ref1.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/expected/ref1.tif -------------------------------------------------------------------------------- /tests/expected/ref2.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/expected/ref2.tif -------------------------------------------------------------------------------- /tests/test_brightness_temp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/test_brightness_temp.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_radiance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/test_radiance.py -------------------------------------------------------------------------------- /tests/test_reflectance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/test_reflectance.py -------------------------------------------------------------------------------- /tests/test_sun_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/test_sun_utils.py -------------------------------------------------------------------------------- /tests/test_toa_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/rio-toa/HEAD/tests/test_toa_utils.py --------------------------------------------------------------------------------