TreacherousDev / Stormchaser

A real-time typhoon visualization system that scrapes and animates Western Pacific typhoon data.
MIT License
5 stars 2 forks source link

Geographic Map Generation Needs Improvement #2

Open TreacherousDev opened 3 days ago

TreacherousDev commented 3 days ago

The current implementation of the typhoon animation engine uses a custom map creator library built with Cartopy and NaturalEarth. This library generates geographical features like land and ocean borders, rivers, lakes, and country borders by using these functions:

# Add Land and Ocean Features
ax.add_feature(cfeature.NaturalEarthFeature('physical', 'land', '10m', facecolor='darkgreen'))
ax.add_feature(cfeature.NaturalEarthFeature('physical', 'ocean', '10m', facecolor=rgb_to_normalized(0, 0, 70)))
ax.add_feature(cfeature.BORDERS, linestyle=':', edgecolor='black', linewidth=1)
ax.add_feature(cfeature.RIVERS, edgecolor=rgb_to_normalized(0, 0, 70), linewidth=0.5)
ax.add_feature(cfeature.LAKES, facecolor=rgb_to_normalized(0, 0, 70))

Hoewver, the satelite image is generated by overlaying a low-quality satellite image and rendering it with a semi-transparent effect for the background.

ax.stock_img(zorder=3).set_alpha(0.35)

While functional, this method isn't the most efficient or accurate approach for creating geographically precise maps, as it turns out to be pixelated. image


Problem:

Expected Solution:

Request:

KurooNxtsu commented 6 hours ago

How about using SAR(Synthetic-aperture radar) images and integrating them with cartopy? I could work on this if need more help!