Skip to content

Bug : config.json overwritten when continuing a download #273

Description

@2320sharon

When a user loads an session with an ROI that has already been downloaded and they want to download an additional satellite, they may only select the satellite they want to download then click download imagery. If they do this the sat_list stored in the config.json will be overwritten to only include the satellite they selected. For example lets say the initial session had downloaded L5 and L8; the user loads it up and selected S2 from the drop down in settings, then click download imagery. This will overwrite the sat_list in config.json to be overwritten from [L5,L8] to [S2]. This will cause issues when extracting shorelines.

Additionally it should be checked that the dates are not being overwritten in the config.json file as well.

Tasks

  • Separate the download settings from the loaded session settings to avoid this issue

If I can detect an existing session was loaded and extend the settings instead of overwriting them this would work.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions