Skip to content

Add global livability heat map (65–74°F + low mosquitoes)#19

Draft
SpyC0der77 wants to merge 1 commit into
mainfrom
cursor/climate-livability-map-eec2
Draft

Add global livability heat map (65–74°F + low mosquitoes)#19
SpyC0der77 wants to merge 1 commit into
mainfrom
cursor/climate-livability-map-eec2

Conversation

@SpyC0der77

@SpyC0der77 SpyC0der77 commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a standalone climate analysis tool that identifies optimal places to live based on two combined criteria:

  • Temperature: months with mean temperatures in the 65–74°F band
  • Mosquitoes: low habitat suitability from temperature, humidity, and rainfall

Outputs

  • climate-analysis/generate_livability_map.py — scoring and map generation script
  • climate-analysis/output/livability_globe.html — interactive 3D globe heat map
  • climate-analysis/output/livability_map.png — static world heat map
  • climate-analysis/output/top_locations.json — ranked locations

Method

Climate normals are interpolated from 45 reference stations using inverse-distance weighting with a 900 km cutoff. Mosquito pressure is modeled as a climate proxy (not direct insect counts).

Top findings

  1. Canary Islands — best overall balance of temperature and low mosquitoes
  2. Southern Mexico highlands (Oaxaca area)
  3. Madeira, Portugal
  4. San Diego, CA — lowest mosquito burden among major US candidates

Run

python3 climate-analysis/generate_livability_map.py

Requires: numpy, plotly, cartopy, shapely, requests, kaleido (for PNG export).

Open in Web Open in Cursor 

Review in cubic

Introduces a climate-analysis tool that scores locations worldwide by
temperature comfort (65-74°F most months) and low mosquito habitat
suitability, then renders interactive and static global heat maps.

Co-authored-by: Carter Stach <SpyC0der77@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cff14f45-2ea8-48aa-9bbe-6ce492e24ff5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/climate-livability-map-eec2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants