Skip to content

Commit

Permalink
fix type tiff->png
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaingaudan committed Dec 23, 2024
1 parent 98bbfb9 commit 97c86ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/aproc/proc/ingest/drivers/impl/cosmoskymed.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def identify_assets(self, url: str) -> list[Asset]:
self.quicklook_path = quicklook_path + '/quicklook.jpg'
geotiff_to_jpg(self.browse_path, 250, 250, self.quicklook_path)
assets.append(Asset(href=self.quicklook_path,
roles=[Role.overview.value], name=Role.overview.value, type=MimeType.TIFF.value,
roles=[Role.overview.value], name=Role.overview.value, type=MimeType.JPG.value,
description=Role.overview.value, size=get_file_size(self.quicklook_path), asset_format=AssetFormat.jpg.value))
assets.append(Asset(href=self.tif_path, size=get_file_size(self.tif_path),
roles=[Role.data.value], name=Role.data.value, type=MimeType.TIFF.value,
Expand Down

0 comments on commit 97c86ad

Please sign in to comment.