From baab5b8c98fc484a4d492fd37d7ff0434169dfb4 Mon Sep 17 00:00:00 2001 From: Marco Matthies <71844+marcom@users.noreply.github.com> Date: Fri, 14 Mar 2025 09:07:18 +0100 Subject: [PATCH] v0.6.1 --- CHANGELOG.md | 58 +++++++++++++++++++++++++++++++++++++--------------- Project.toml | 2 +- 2 files changed, 42 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d78f731..d552f6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,33 +12,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 *Plan: decouple CairoMakie (#81), fix & test ALMaSS, set up first experiments* -## [0.6.1] - unreleased +*Plan: add more regions* -*Plan: add soil maps, update GIS documentation, add more regions* + +## [0.7.0] - unreleased + +*Plan: allow for multiple crop models, AquaCrop crop model* + +### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + + +## [0.6.1] - 14-03-2025 ### Added - user manual: documentation is now compiled to PDF (#91) +- added soil maps to region data, but not used yet + +- added `mean_cloud_cover` and `potential_evapotranspiration` fields + to weather data csv files + ### Changed - added soil map section to GIS docs -- the `Weather` type now stores all weather information for the whole - simulation as a "struct-of-arrays" and with a function interface, - e.g. `sunshine(weather, date)` (previously, `Weather` was a struct - that stored the weather data for one day only, and - `AgricultureModel` had a field `weather::Dict{Date,Weather}`, making - it a "dict-of-struct" data layout) - -- `AgricultureModel` and `Weather` are now defined with `@kwdef`, - allowing for keyword arguments in their constructors - -- when reading weather data, we now throw an error when there are - missing values for the fields `min_temperature`, `max_temperature`, - `mean_temperature`, `precipitation`, and - `potential_evapotranspiration` (in the future missing values could - also be imputed) +- Changed weather internal representation to struct-of-arrays + (previously a dict-of-struct representation). The `Weather` type + now stores all weather information for the whole simulation, with a + function interface, e.g. `sunshine(weather, date)`. + +- When reading weather data, we now throw an error when there are + missing days or any missing values for the fields `min_temperature`, + `max_temperature`, `mean_temperature`, `precipitation`, and + `potential_evapotranspiration`. In the future missing values could + also be imputed. + +- The script for weather data extraction at + `data/regions/auxiliary/extract_weather_data.R` has been reworked to + always return an output row for each day in the date range, even if + the day is missing in the original data source. It now also accepts + the stations to download as command-line arguments. The `renv` + lockfile for the R environment used to run the script can be found + at `data/regions/auxiliary/renv.lock`. ### Deprecated diff --git a/Project.toml b/Project.toml index 9ec4c21..5189975 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Persefone" uuid = "039acd1d-2a07-4b33-b082-83a1ff0fd136" authors = ["Daniel Vedder <daniel.vedder@idiv.de>"] -version = "0.6.0" +version = "0.6.1" [deps] ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63" -- GitLab