Open martinber opened 4 years ago
Map overlay made using Xerbo/satmap for reference
I received a tip from Ken to look at the code of satpy
It seems that if I run this through the terminal and if I specify the time it finished passing in this format (%Y-%m-%dT%H:%M:%S-00:00), most of the time I don't see that offset
I'm not an expert, I'm using an old laptop with Debian 12, gqrx and gpredict and an RTL-SDR USB stick. With Wxtoimg I have the same problem regarding the inclination of the captured image from the satellite, the map overlay most of the time has an incorrect inclination (while vertically it is correct). I thought it was a problem with my PC, but seeing images taken from Wxtoimg on the internet, I noticed that even there the overlay was not perfect. Contrary to noaa-apt, in Wxtoimg it is not possible (I haven't found a way) to adjust the inclination of the overlay.
I'm having problems to make the map overlay completely accurate. As far as I can see:
The satellite position predictions are accurate enough, there are automated tests to check against N2YO.com.
The vertical scale of the map is calculated by looking at how much the satellite moves over time. The satellite position predictions are accurate so this is ok.
The horizontal scale was guessed using values taken from Alexander-Barth/APTDecoder.jl. This is mostly ok but I think a different value for each satellite is needed.
The calculations I do are approximate and can be wrong, but I think it is accurate enough.
The biggest problem is the slant, where the left part of the image is too high and the right part too low, or vice-versa. I guess that the satellites have a slight yaw rotation but I'm not sure.
This i how a default image looks like:
This is the result if I play with the "Yaw correction" value on the GUI. With -3° it looks much better.
The yaw correction needed can be different depending on the image, so I'm not sure on how to correct it. How does WXtoIMG solve it?
My theory is that slightly different values are needed for each satellite (NOAA 15, 18, 19) and also depending if the pass was south to north and north to south.