Skip to content

Commit f1a0f8b

Browse files
authored
🐛 Fix flag for combined datasets
1 parent dc98dab commit f1a0f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cube_builder/utils/processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def merge(merge_file: str, mask: dict, assets: List[dict], band: str,
266266
dataset = asset['dataset']
267267
platform = asset.get('platform', '')
268268

269-
if platform and 'landsat' in platform.lower():
269+
if platform and 'landsat' in platform.lower() and kwargs.get('combined'):
270270
_, platform_version = platform.split('-' if '-' in platform else '_')
271271
is_oli = int(platform_version) > 7
272272
if is_oli:

0 commit comments

Comments
 (0)