jmozmoz / cloudmap

Python script to download a cloudmap from https://clouds.matteason.co.uk/ if a new one is abailable
GNU General Public License v3.0
17 stars 6 forks source link

Black stripes in polar areas #13

Closed ohnonot closed 5 years ago

ohnonot commented 5 years ago

Hello, thank you for providing this!

I have used the script from my own machine a few times, and then from here. Every time there's been some irregularities esp. in the Arctic, see e.g. here - I'm talking about the sharp-edged black areas in the upper left, and also smaller in the upper middle, slightly to the right.

Is it possible to improve this somehow?

I understand there's some limitations to how the original images can be combined into the final image, esp. around the poles. It would be great if python offered some intelligent filling of these obvious gaps (I'm just guessing here)?

jmozmoz commented 5 years ago

The images at the polar regions are just faked. Geo stationary sattelites don't see the polar regions. The "clouds" there are created by mirroring the values of the upper/lower lattitues to not have a black hole.

It is done here: https://github.com/jmozmoz/cloudmap/blob/master/cloudmap/geo_dundee.py#L266

If you change the 95 to something higher, a larger area is covered by "fake" clouds. This could remove the black areas, but might also remove some of the real cloud images.

ohnonot commented 5 years ago

thanks!