NEWS
CAWET 1.2.0 (2026-11-09)
New features
- The SAFRAN (Sim2) meteo path only requested liquid precipitation
(
PRELIQ_Q), silently dropping the solid fraction (PRENEI_Q), while the
DRIAS path already used total precipitation (prtot); the crop model now
receives total precipitation from both paths. The meteo column is renamed
PRELIQ_Q -> PRETOT_Q in the Meteo/Meteo*.csv outputs and in the
unique-climate path's canonical rain column (user-provided climate files
keep their own column name, set in the ordonnancer Colname_Pluie):
David Dorchies,
#114
- The meteorological thresholds used for climatic indicator graphs (hot days,
tropical nights, rainy days) can now be externalized by the user instead of
being hardcoded in
run_script3_3():
Pierre Rouault,
#95
- Added crop yield to the graphical outputs of the modelling results:
Claire Richert,
#84
- Added the possibility of a fixed irrigation dose as an alternative to the
default variable dose strategy:
Pierre Rouault,
#32
Enhancements
- Plot outputs (
Plots_all_RADIS_information_<Year>,
Crops_all_RADIS_information, Plots_location_notcenteredforillustration) are
now written as GeoPackage (.gpkg) instead of ESRI Shapefile (.shp): field
names are kept as-is (code_cultu, id_sous_maille, surface_totale_m2, ...)
instead of being mangled by the shapefile driver (e.g. surface_totale_m2 used
to be written as srfc__2):
David Dorchies,
#110
- DRIAS scenario data is now downloaded on demand instead of fetching all
available scenarios at once:
Pierre Rouault,
#103
- Limited the SIM2 daily query to only the variables actually needed by CAWET,
reducing API load, download size and memory usage:
Pierre Rouault,
#70
Bug fixes
- Fixed a crash when the "RPG complété" option is enabled and the simulation
period extends outside the 2018-2023 availability window:
Claire Richert,
#93
- Corrected the computation of parcel centroids:
Pierre Rouault,
#92
- Fixed the soil depth values passed to the CropWat model:
Pierre Rouault,
#91
- Modified the default sowing date to match actual agricultural practice:
Pierre Rouault,
#85
- Fixed broken download links in the package documentation:
David Dorchies,
#82
- Fixed a crash for "Carottes" and "Poireaux" crops (listed in CropWat_to_RPG
but missing from the main crop parameters table):
Claire Richert,
#78
- Fixed incorrect irrigation volume units in the aggregated results
(
Modelisation_for_polygones_and_network):
Claire Richert,
#74
- Fixed
run_script3_3(): the "Annual Rain" plot was never saved
(ggsave() missing) for forced-climate scenarios:
David Dorchies,
#113
- Fixed
run_script3_3(): forced-climate daily graphs failed with
object 'DATE' not found when no DRIAS scenario was selected:
David Dorchies,
#111
- Fixed
run_script3_3(): positional column selection now adapts to the actual
number of meteo variables (previously assumed a fixed 28-column Safran
layout, which broke after the SIM2 query was limited to needed fields):
David Dorchies,
#98
- Corrected the crop surface export for reuse in the dummy territory
("territoire fantoche"):
Pierre Rouault,
#104
- Corrected the meteo indicator graphs for forced meteorological files when
some data columns are missing:
Pierre Rouault,
#15
- Added validation of the DRIAS parameter table to select only the available
scenario options:
Pierre Rouault,
#12
- Fixed the soil parameter export in the "formodification" file to correctly
handle different soils per crop:
Pierre Rouault,
#11
Documentation
- Added the package architecture diagram to the tutorial vignette (clickable
for full-size view in the browser):
David Dorchies,
#99
- Clarified the documentation of package outputs (definitions and units):
Claire Richert,
#75
Internal changes
- Fixed ~134 ggplot2 deprecation warnings across the package (
size ->
linewidth for line geoms; sec_axis(trans = ) -> sec_axis(transform = )):
David Dorchies,
#102
- Fixed R CMD check structural NOTEs: added
.Rbuildignore entries
(.devcontainer, .vscode, CONTRIBUTING.md) and made the vignette
installation link absolute:
David Dorchies,
#101
- The CI check pipeline now caches RADIS data via
RADIS_CACHE_DIR (GitLab
cache), so Dataverse outages no longer turn the dev pipeline red:
David Dorchies,
#100
- CI installs RADIS from its dev branch on feature/dev (r-universe release on
main):
David Dorchies,
#109
- Wrapped top-level
CAWET::run() calls in testthat 3e test_that() for
proper test isolation:
David Dorchies,
#108
- Fixed
test-Chargement_data.R: surf_parc assertion was comparing in the
wrong unit (ha vs m²):
David Dorchies,
#112
CAWET 1.1.0 (2026-03-30)
Bug fixes
Enhancements
- Modification of the
install file name for a better identification in the
downloaded directory:
David Dorchies,
#25
- Make download of soil texture optional:
David Dorchies,
#40
- Auto-update CAWET package to the latest version at startup:
David Dorchies,
#42
- Do not produce
warning_missing_crops.csv when empty:
David Dorchies,
#43
- Remove verbose "Joining with
by = join_by(...)" messages from the console
:
David Dorchies,
#44
- Improve format of console outputs:
David Dorchies,
#48
- Remove dependency to online file
coordonnees-des-mailles_339.csv:
#53
Documentation
Internal changes
- Fix package imports (remove
library() usage in functions and clean imports):
David Dorchies,
#8
CAWET 1.0.2 (2026-01-30)
CAWET 1.0.1 (2026-01-29)
Bug fixes
- Correction of the non generation of agregate table when the last crop is not
parametred
Pierre Rouault
#36
CAWET 1.0.0 (2025-12-19)
New features
Bug fixes
Documentation
Enhancements
Internal changes