NASA-DEVELOP / dnppy

DEVELOP National Program Python package for use with NASA data and GIS!
https://nasa-develop.github.io/dnppy/
Other
82 stars 40 forks source link

Landsat metadata file error #84

Open KimBerry opened 8 years ago

KimBerry commented 8 years ago

help2 help 2

There are two errors that I could use some help with. The first relates to the pathname

meta_path = r'D:\Daryl_Ann_Winstead\ACL_MSFC\Spring2016\LakeVic\Data\Landsat\LC81700602016022LGN00\LC81700602016022LGN00_MTL.txt'

The other error relates to dnppy/dnppy/landsat/surface_reflectance.py

for k in xrange(6): if outdir: outdir = os.path.abspath(outdir) asr_path = "{0}{1}".format(outdir, out_list[k]) else: asr_path = "{0}{1}".format(toa_folder, out_list[k]) refl_surf = (toa_list[k] - pr_bands[k])/(entisr_bands[k] * entsrrs_bands[k])

in the dnppy code? Would updating dnppy correct the issue?