Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 (2026-11-22)¶
- The package is now
climex-py(repositoryfdzul/climex-py); it is still imported asclimex. The nameclimexon PyPI belongs to another project. - Declared the dependencies (
pandas,requests). download_nasa_power_data(): monthly requests use the years of the period; missing values (-999) are NaN; the monthly table hasyearandmonth;processes=1downloads in order; new argumentverbose.- Downloads run in threads instead of processes: no
if __name__ == "__main__"guard is needed in scripts (on macOS and Windows the processes failed without it). - Busy answers of NASA POWER (429, 5xx) are retried three times, and the points that still fail get a second round at the end.
- The result has only the period requested, one row per point and date (no duplicates), sorted by point and date; at the end it reports whether every point has all the period and the days without data.
- A point whose CSV in
output_folderalready has the period requested is not downloaded again (days not yet published, NaN, are asked again), so an interrupted download continues where it stopped; with a laterend_date(an update) it is downloaded again (overwrite=Truedownloads everything again); repeated identifiers raise an error; the failed points are listed at the end. - New
municipalities(): one point for each of the 2,465 municipalities of Mexico (INEGI 2019), bundled with the package, for all the country or by state; built withdata-raw/municipalities.py. - New
centroids(): a point inside each polygon (e.g. municipalities of rgeomex) ready fordownload_nasa_power_data(). spatial_resolutionaccepts only"point"(the regional API needs a bounding box, not a latitude and longitude); kept so the code of 0.1 runs.- The identifiers keep their leading zeros in the result (
01001, not1001). load_centroid_data()keeps the municipalities of the state given by the first two digits ofCVEGEO(before it compared the last three).- New
build_url()andparse_response(); tests; documentation with mkdocs.
0.1.0 (2025-08-15)¶
- First release of
climex.