Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L8 Pan product #495

Open
bhbraswell opened this issue Aug 17, 2018 · 1 comment
Open

L8 Pan product #495

bhbraswell opened this issue Aug 17, 2018 · 1 comment

Comments

@bhbraswell
Copy link

I'd like to export L8 band 8, 15m panchromatic as its own thing. Because it is 15m. I think I can do this if no one else is working on it. But, I know it is currently handled as part of the Asset. Any input on that is welcome. I think atmospheric correction is probably not an option and that is probably OK.

@ircwaves
Copy link
Collaborator

Looks like a panchromatic product would be a good addition, and applicable to both LC8 and LE7 (although their bandwidths are very different). We don't have it in queue yet over here. If you wanted just TOA, it could be as simple as:

                    out_fn = os.path.join(self.path, self.basename + '_pan.tif')
                    vsi_pan_path = [os.path.join('/vsitar/' + asset_obj.filename, f)
                        for f in md['filenames'] if f.endswith('B8.tif')][0]
                    os.symlink(out_fn, vsi_pan_path)
                    imgout = gippy.GeoImage(out_fn)

If you want to atmospherically correct, then you would need to extract the image, and compute an ESUN value for LC8's panchromatic band. And then we could get back into discussion about the appropriate ESUN values to use, keep it 💯%! And maybe even talk about how badly we need to get VRT products in the mix, and deprecate symlinking 😮

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants