Ethan-M2024/earthfetch ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library called earthfetch that lets me grab analysis ready Earth data with almost no setup, and no API keys or accounts.

I want to be able to type one line and get things like cloud free Sentinel 2 composites, DEM terrain products, river based relative elevation models, Sentinel 1 radar, and NAIP imagery for a place name, bbox, GeoJSON file, or shapely shape. It should handle clipping, cloud masking, mosaicking, auto UTM choice, and make it easy to preview, save to GeoTIFF or COG, and work with xarray for ML style pipelines.

Please include a simple command line too for searching and downloading data, plus examples and docs that show the main workflows. It should use free public data sources, cache downloads, and be careful about not downloading more than the requested area. If you need to look up current source docs or endpoints online, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab