MeteorDemod icon indicating copy to clipboard operation
MeteorDemod copied to clipboard

Mercator images / Mercator composite images overlapping the international date line - unexpected behaviour

Open KiwiInNZ opened this issue 3 years ago • 4 comments

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:

mercator_2022-12-03-19-24-01_68_rain_composite

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

KiwiInNZ avatar Dec 03 '22 20:12 KiwiInNZ

Note that this is also happening with non-composite Mercator images which have content which goes across the international date line too. So the composite part is just compounding the problem.

KiwiInNZ avatar Dec 04 '22 09:12 KiwiInNZ

I downloaded the files. I will keep you updated. Thanks.

Digitelektro avatar Dec 04 '22 09:12 Digitelektro

I've now removed the zip file from the webserver. But I can upload other data on request to assist in you having southern hemisphere data which overlaps the international date line for testing.

KiwiInNZ avatar Dec 04 '22 19:12 KiwiInNZ

Note this only applies to Mercator images / composite Mercator images and not equidistant images / composite equidistant images. The author is working on a fix...

KiwiInNZ avatar Dec 19 '22 04:12 KiwiInNZ