Dave,
I did some tests, this is my workaround for the moment:
from satpy.utils import debug_on
debug_on()
from PIL import Image
from satpy.scene import Scene
from datetime import datetime
from satpy.resample import get_area_def
scn = Scene(platform_name="Meteosat-10", sensor="seviri",
start_time=datetime(2017, 9, 3, 12, 00),
base_dir="/root/decomp2",
reader='hrit_msg',
)
composite = 'natural'
scn.load([composite])
scn.save_dataset('natural', 'my_nice_overview2.png')
png = Image.open('my_nice_overview2.png')
png2 = png.rotate(180)
jpg = Image.new("RGB", png2.size, (0, 0, 0))
jpg.paste(png2, mask=png2.split()[3]) # 3 is the alpha channel
jpg.save('rotate.jpg', 'JPEG', quality=80)
Is this the way to go or is there a simpler build in solution in Pytroll/satpy...?
Regards,
Christian