Skip to content

0.4.1 Release

Latest

Choose a tag to compare

@lungoruscello lungoruscello released this 07 Jan 14:41

Summary

Major refactor of the library, including its manifest logic, raster operations, API surface, and documentation.

Key Changes

  • Build a data manifest from scratch by leveraging WorldPop's official meta-data API
  • Support rasters from the "Global 2" series as a result
  • Improve separation of concerns by distinguishing between wp_raster and wp_warp
  • Implement performance improvements in raster.py
    • Automatic as well as manual spatial subsetting (pre-clipping) of input rasters
    • Experimental helper function allowing for lazy raster merges
  • Simplify data discovery (through the new show_supported_data_products function)
  • Improve testing, including of core raster operations
  • Extend example scripts to cover both basic and advanced use
  • Overhaul the README, including with an example gallery and a "Data Usage & Attribution" section

⚠️ Breaking Changes

This release is a complete rewrite. Many public APIs have changed their signatures and behaviour (including wp_raster). Users upgrading from v0.3.0 will need to update their scripts to match the new examples.