Recent Releases of CHAP
CHAP - v1.0.7
This release mainly contains new features and improvements for supporting the new Modeling App (which is replacing the old Prediction App as a frontend to the Chap Modeling Platform). This means that this is the first version of chap-core that supports the Modeling App, and that this version is not backwards-compatible with the Prediction App. Users of the Modeling App will now get a warning if they have an incompatible version of the chap-core python package (backend).
This version also has some minor fixes and improvements:
- New API endpoint for checking version compatibility with the Modeling App.
- Some improvements in logging and error handling
- Some initial support for more flexible model configuration (currently only through the command line, plan is to support this in the Modeling app in the future).
- Improvements to the docker compose setup with autoreload functionality
- Google Earth credentials are no longer required for using chap-core with the Modelling app
How to install this release on a server
Step 1 | NB! Only needed if you already have the chap-core repo, otherwise skip to step 2
2.1 If you already have the folder since you previously cloned the CHAP core repo, go into the folder (chap-core) and run the command below. This will shut down running containers related to CHAP. Be aware it will also delete stored data in CHAP, such as predictions.
docker compose down --volumes
2.2. Fetch all new versions
git fetch --tags
2.3. Run the command below to switch the repo to v1.0.7, this is not necessary if you cloned the repo/started from scratch (step 1)
git switch v1.0.7 --detach
Step 2: NB! Only if you have not proceeded with step 1 (you not have the chap-core repo)
Run this command, if you have not cloned the chap-core repo before, or you are starting from scratch, for instance, if you are deploying through GitHub Actions.
git clone --depth 1 --branch v1.0.7 https://github.com/dhis2-chap/chap-core.git
Step 3 | Start chap-core
Within the chap-core folder, rebuild and start the containers in detach mode:
docker compose up --build -d
Climate Change - Climate Data Processing and Analysis
- Python
Published by ivargr about 1 month ago

CHAP - v1.0.5
This release includes:
- Google Earth Engine fix
- Minor bug fixes
Installation on a server
Step 1 | NB! Only needed if you already have the chap-core repo, otherwise skip to step 2
2.1 If you already have the folder since you previously cloned the CHAP core repo, go into the folder (chap-core) and run the command below. This will shut down running containers related to CHAP. Be aware it will also delete stored data in CHAP, such as predictions.
docker compose down -v
2.2. Fetch all new versions
git fetch --tags
2.3. Run the command below to switch the repo to v1.0.5, this is not necessary if you cloned the repo/started from scratch (step 1)
git switch v1.0.5 --detach
Step 2: NB! Only if you have not proceeded with step 1 (you not have the chap-core repo)
Run this command, if you have not cloned the chap-core repo before, or you are starting from scratch, for instance, if you are deploying through GitHub Actions.
git clone --depth 1 --branch v1.0.5 https://github.com/dhis2-chap/chap-core.git
Step 3 | Start chap-core
Within the chap-core folder, rebuild and start the containers in detach mode:
docker compose up --build -d
Climate Change - Climate Data Processing and Analysis
- Python
Published by hermantretteteig 4 months ago

CHAP - v0.1.1
This release includes:
- Working solution for storing results and data to a PostgreSQL database
- New REST API endpoints (using Celery for job handling and storing results to a database)
- More developer documentation
- Added .9 and .1 to quantiles evaluation plots used in the prediction app
- Div minor bugfixes and improvements
Climate Change - Climate Data Processing and Analysis
- Python
Published by ivargr 4 months ago

CHAP - v0.0.18
This release includes new features and improvements:
- Better job handling system using Celery (supporting multiple logs running in parallel)
- Variuos improvements to the documentation, including more info about running CHAP on a server, better documentation on how to integrate external models, and a new developer getting started guide
- Better logging and input validation to jobs (better feedback when models crash or something goes wrong)
- A new system for persisting results using a SQL database
- Support for sending polygons (geojson) to models that require that
- Various code cleanup and minor bugfixes
Climate Change - Climate Data Processing and Analysis
- Python
Published by ivargr 6 months ago

CHAP - v0.0.16
- This release mainly includes improved documentation on how to setup CHAP with the predicions app to integrate CHAP with DHIS2.
- Also includes various bug fixes and improvements related to integrating custom models, along with better documentation on how to do this
Climate Change - Climate Data Processing and Analysis
- Python
Published by ivargr 7 months ago

CHAP - v0.0.14
- Docker compose working, with integration tests (meaning chap and necessary services can be started and run through docker compose)
- Some technical changes: changed to uv and started to use ruff for linting
- Various documentation improvements, new endpoint for all documentation
- Rest API endpoint for evaluation
Climate Change - Climate Data Processing and Analysis
- Python
Published by ivargr 8 months ago

CHAP - v0.0.9
Various minor changes:
- Updated docker file so that it is correct with new package name
- Added github project with development plans (linked from readme)
- Automatically generate command line interface for chap-models
- Added model registry with models with specifications
- General cleanup (removed time-consuming imports)
- Synced list models endpoint with predict endpoint in rest API
- Some documentation improvements (better installation instructions, etc)
Climate Change - Climate Data Processing and Analysis
- Python
Published by ivargr 8 months ago
