load_earth_file

ssapy.plotUtils.load_earth_file()[source][source]

Loads and resizes an image of the Earth.

This function locates a file named “earth.png” using the find_file function, opens it as an image using the PILImage.open method, and resizes it to 1/5th of its original dimensions (5400x2700 scaled down to 1080x540). The resized image is then returned.

Returns:

The resized Earth image.

Return type:

PIL.Image.Image