noaa-apt icon indicating copy to clipboard operation
noaa-apt copied to clipboard

Fix slight map overlay offsets

Open martinber opened this issue 4 years ago • 4 comments

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.

poes_question

This i how a default image looks like:

original

This is the result if I play with the "Yaw correction" value on the GUI. With -3° it looks much better.

assuming_3deg_of_yaw

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.

martinber avatar May 09 '20 15:05 martinber

image Map overlay made using Xerbo/satmap for reference

martinber avatar Aug 11 '20 01:08 martinber

I received a tip from Ken to look at the code of satpy

martinber avatar Nov 07 '20 12:11 martinber

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

Dio76453 avatar Nov 24 '21 12:11 Dio76453

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.

Kappa971 avatar Jun 25 '23 10:06 Kappa971