-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As described in the title. The related code:
sentinelPot/sentinelPot/preprocess_level3.py
Lines 694 to 699 in d838cd2
| fnames_all = os.listdir(processed_path) | |
| fnames_all = list(filter(lambda fname: os.path.isdir(join(processed_path, fname)), fnames_all)) | |
| if len(fnames_all) == 0: | |
| fnames_all = os.listdir(processed_path) | |
| fnames_all = list(filter(lambda fname: fname.endswith('zip'), fnames_all)) | |
| tile_ids = list(set(map(lambda fname: re.search("T[0-9]{2}[A-Z]{3}", fname).group(0), fnames_all))) |
Thoughts:
- List all zip files and unzipped folders
- Compare their names
- If they are identical, pass
- If they are not identical, get the difference between them, give the user a warning, then pick up the ones with more files to use.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request