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

Landsat-8 scene_list repeated lines #268

Open
maabdelghaffar opened this issue Oct 30, 2017 · 0 comments
Open

Landsat-8 scene_list repeated lines #268

maabdelghaffar opened this issue Oct 30, 2017 · 0 comments

Comments

@maabdelghaffar
Copy link
Contributor

Description:
After executing Landsat8SearchOperator for many times using the new search criteria (startdate-enddate, etc...), repeated records appeared in the result-set as follows:

[.....,
('LC08_L1TP_150037_20170723_20170729_01_T1', 'LC81500372017204LGN00', 'https://s3-us-west-2.amazonaws.com/landsat-pds/c1/L8/150/037/LC08_L1TP_150037_20170723_20170729_01_T1/index.html'), ('LC08_L1TP_150037_20170723_20170729_01_T1', 'LC81500372017204LGN00', 'https://s3-us-west-2.amazonaws.com/landsat-pds/c1/L8/150/037/LC08_L1TP_150037_20170723_20170729_01_T1/index.html'),
.......]

Investigation:
After exploring the issue, CSV file scene_list which is retrieved from AWS got some repeated lines.

Proposed solution:
Update the UpdateSceneList plugin to make sure there is no repeated line in the CSV before importing it to the DB

@maabdelghaffar maabdelghaffar changed the title Landsat-8 scene_list Landsat-8 scene_list repeated lines Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants