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

The path for the wrs2_tile_utm_zones.json is hardcoded to the footprint workspace #44

Open
cgmorton opened this issue Sep 17, 2018 · 1 comment

Comments

@cgmorton
Copy link
Contributor

In landsat_prep_path_row.py the path for the wrs2_tile_utm_zones.json is hardcoded to the footprint workspace. The problem with this is that this JSON file is provided as part of the repository, but the footprints can be downloaded to a different folder (i.e. outside of pymetric). This path could be set as part of the project INI, the path could be set relative to the script location, or we might just need to add some text to the docs making it clear that the footprints should always be downloaded to the pymetric\landsat\footprints folder.

@cgmorton
Copy link
Contributor Author

I added code to the download_footprints.py script that will attempt to copy this file to the output folder (if the output folder is set and the file doesn't exist). I don't think this is the best solution or closes the issue, but hopefully it will reduce the impact of this issue a little.

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

1 participant