Capturing images from NZ, I'm about 174 west, so captures can often overlap the dateline, i.e. 180 east / west, which results in a rendering which covers from 180 East through 0 through 180 West.
Example to illustrate the issue:

Can the code be updated to handle this with just showing the area covered by the captured areas? This will also have a significant impact on performance as this requires a lot less rendering time for the images.
Source file for settings.ini and the .s and .tle files - https://kiwiweather.com/downloads/meteordemod.zip (339MB - let me know when you've downloaded this so I can remove it). I can supply the .wav files, but that is about twice as much space!
Commands used to generate the images:
meteordemod -i 2022-12-01-16-41-42-METEOR-M_2.s -t 2022-12-01-16-41-42-METEOR-M_2weather.tle -f jpg -d 01-12-2022
meteordemod -i 2022-12-01-18-21-57-METEOR-M_2.s -t 2022-12-01-18-21-57-METEOR-M_2weather.tle -f jpg -d 01-12-2022
meteordemod -i 2022-12-02-06-41-13-METEOR-M_2.s -t 2022-12-02-06-41-13-METEOR-M_2weather.tle -f jpg -d 02-12-2022