Changelog¶
All notable changes to OCHA AnticiPy will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.1.3] - 2023-08-15¶
Added¶
Support for GloFAS version 4.0, note that this will break any GloFAS filepaths downloaded with previous versions as the model version is now added to the filename
Fixed¶
GloFAS forecast loading was broken due to missing time dimension
[1.1.2] - 2023-07-04¶
Fixed¶
Temporarily restrict Pydantic to below v2
[1.1.1] - 2023-05-30¶
Fixed¶
Typo in required extras for ReadTheDocs
[1.1.0] - 2023-05-30¶
Added¶
Config files for 25/25 HRP countries and several non-HRP countries
Changed¶
Optional dependencies and documentation, testing, and development reqirements moved to
extras_requireGloFAS module dependencies made optional
tox configuration moved to
setup.cfgfromtox.ini
Fixed¶
Automatic raster dimension setting for lat/lon and X/Y fixed to work for rioxarray methods
USGS NDVI documentation was updated to remove dead links and improve users ability to use the historical data
GloFAS does not permit users to go above request limit of 500
[1.0.2] - 2023-05-29¶
Fixed¶
Fixed bug for loading COD AB shapefiles in Windows
pandas
Indexused in raster module docstrings in lieu of the now deprecatedInt64Index
[1.0.1] - 2023-02-03¶
Removed¶
sphinx-rtd-themedependency for docs (switch to Alabaster theme)
Fixed¶
Dropped support for Python 3.7 as it was dropped in dependencies
Fixed badge link in README.md and deprecated PyPI GHA
[1.0.0] - 2022-12-22¶
Changed¶
Renamed from AA Toolbox to OCHA AnticiPy
[0.5.0] - 2022-12-02¶
Added¶
Modules for downloading and processing CHIRPS rainfall, GloFAS river discharge, and USGS NDVI data
Utilities to streamline use of strings for dates across modules
COD AB configuration now has an
admin{level}_namecustom layer name parameterLogging for files being overwritten or not due to clobber
Changed¶
Documented and moved the raster processing module to the top level for public access
Removed¶
Python 3.6 support
Fixed¶
The check in
DataSourcefor the required configuration file section now also checks if the section isNoneAll available admin levels for DRC and Ethiopia are now accessible
IRI download method now checks request headers to verify authentication
[0.4.2] - 2022-05-13¶
Fixed¶
Upgrade version of hdx-python-api to prevent bug when downloading
[0.4.1] - 2022-05-10¶
Fixed¶
Fixed error when loading zipped COD AB shapefiles on Windows
[0.4.0] - 2022-04-21¶
Added¶
Implemented unit testing for
AatRastermodule with full coverageImplemented downloading and processing for IRI seasonal precipitation forecast
Added config for DRC (of which the iso3 is COD)
User can now create a config object from a custom filepath
FewsNet region names are now part of config files
Documentation expanded and put on ReadTheDocs
Changed¶
DataSourceis now an abstract base class with requireddownload,processandloadmethodsGeoBoundingBoxinput parameters changed fromnorth,south,east, andwesttolat_max,lat_min,lon_max,lon_minGeoBoundingBox.roundreturnsGeoBoundingBoxinstance (instead of being in place)COD AB is now optional in the configuration file
FewsNet download functionality follows
DataSourcestructureThis changelog converted from markdown to .rst
Removed¶
Pipelineclass no longer used as main APIRemoved unnecessary explicit install of test requirements on GitHub Actions
Fixed¶
GitHub action to publish on PyPI should not be invoked for pushes to main (using tags instead)
HDX API now uses “prod” server, and version >= 5.5.8 to avoid download error
COD AB dataset URLs on HDX are standardized
GeoBoundingBoxwon’t allow lat_max < lat_min or lon_max < lon_minGeoBoundingBoximposes -90 < latitude < 90 and -180 < longitude < 180
[0.3.1] - 2022-01-06¶
Fixed¶
GitHub action to publish on PyPI when tagged was not running
[0.3.0] - 2022-01-06¶
Added¶
Pipelineclass to serve as main APIDataSourceclass as a base for all data sourcesCodABdata source class for manipulating COD administrative boundariesFunctionality to download and save FewsNet data
Raster processing module
HDX API utility
Caching decorator in IO utility
Configuration files for:
Bangladesh
Ethiopia
Malawi
Nepal
pip-compile pre-commit hook to update requirements files
Version number is now specified in
src/aatoolbox/_version.pyGitHub actions to run unit tests (using
tox.ini) and push to PyPI
Changed¶
markdownlint pre-commit hook switched to Node.js source
requirements.txtmoved torequirementsdirectoryAreaclass moved to utilsSwitched from
pbrtosetuptools_scmfor automated git tag versioningDocumentation to be generated using
sphinx-buildrather than throughsetup.py
Removed¶
Makefilefor generating requirements filessetup.pyas it was only required forscm
[0.2.1] - 2021-10-15¶
Fixed¶
Version number reading function used wrong package name
[0.2.0] - 2021-10-15¶
Added¶
Configuration class
Base class for data manipulation
[0.1.0] - 2021-10-12¶
Added¶
CDS Area module
Package setup with PBR
Pre-commit hooks: black, flake8, mypy plus others
Sphinx documentation