Landsat 8 SWIR Bands
Posted: Mon Aug 17, 2020 3:09 pm
Hello,I cannot get Polymer to write Landsat-8's SWIR bands onto a level-2 netCDF. I want the 1610 band and the 2200 band in the atmospheric correction as well. I tried to add code to the file level1_landsat.py, but that didn't work.
Here is my modification of the level1_landsast.py:
band_index = {
440: 1,
480: 2,
560: 3,
655: 4,
865: 5,
1610: 6,
2200: 7,
}
And here is is my code when I run level 2 processing.
run_atm_corr(
Level1_OLI(fileLoc),
Level2_NETCDF(outdir=outLoc, ext=(fileName + '.nc'),
overwrite=True), multiprocessing=-1
)
Thanks!
Here is my modification of the level1_landsast.py:
band_index = {
440: 1,
480: 2,
560: 3,
655: 4,
865: 5,
1610: 6,
2200: 7,
}
And here is is my code when I run level 2 processing.
run_atm_corr(
Level1_OLI(fileLoc),
Level2_NETCDF(outdir=outLoc, ext=(fileName + '.nc'),
overwrite=True), multiprocessing=-1
)
Thanks!