# Changelog

## 6.0.1

Release date: 2025-03-03

### Dependency Changes

- `climada` >=5.0 &rarr; >=6.0

## 6.0.0

Release date: 2025-03-03

### Dependency Changes

Added:

- `boario` >=0.5,<0.6
- `meson` >=1.4,<1.5

Updated:

- `cdsapi` >=0.6 &rarr; >=0.7
- `esmpy` !=8.4.* &rarr; >=8.4.2
- `scikit-image` >=0.22 &rarr; >=0.25

Removed:

- `gfortran`: this conda package conflicts with, e.g., `esmf`, at least on Windows.
For using the `climada_petals.hazard.tc_surge_clawpack` module fortran must be installed natively on the local machine.

### Added

- Included `boario` in the supplychain module [#81](https://github.com/CLIMADA-project/climada_petals/pull/81/)
- Added a Copernicus download function `downloader.py` as part of the `climada.hazard.copernicus_interface` module under construction [#150](https://github.com/CLIMADA-project/climada_petals/pull/150/)
- Update name of IBTrACS file to version 4.1 in tc_rainfield and tc_surge_bathub tests. [#152](https://github.com/CLIMADA-project/climada_petals/pull/152)

## 5.0.0

Release date: 2024-07-19

### Dependency Changes

Added:

- `cdsapi` >=0.7
- `importlib-metadata` <8.0
- `meson-python` >=0.15,<0.16
- `rioxarray` >=0.13
- `ruamel.yaml` >=0.18
- `seaborn` >=0.13
- `xesmf` >=0.8

### Changed

- Adaptations to refactoring of the `climada.hazard.Centroids` class, to be compatible with `climada>=5.0` [#122](https://github.com/CLIMADA-project/climada_petals/pull/122)
- Always assign `csr_matrix` to `Hazard.intensity` [#129](https://github.com/CLIMADA-project/climada_petals/pull/129) [#131](https://github.com/CLIMADA-project/climada_petals/pull/131)

### Fixed

- Fix `climada.hazard.tc_rainfield` for TC tracks crossing the antimeridian [#105](https://github.com/CLIMADA-project/climada_petals/pull/105)
- Update the table of content for the tutorials [#125](https://github.com/CLIMADA-project/climada_petals/pull/125)
- Store all-zero fraction matrices in `LowFlow` and `WildFire` hazards [#129](https://github.com/CLIMADA-project/climada_petals/pull/129) [#131](https://github.com/CLIMADA-project/climada_petals/pull/131)

- `eeioa` approach from the supply chain module. See [associated discussion](https://github.com/CLIMADA-project/climada_petals/pull/81#discussion_r1596546221).

## 4.1.0

Release date: 2024-02-19

### Dependency Changes

Updated:

- `climada` >=4.0 &rarr; ==4.1

Added:

- `overpy` >=0.7
- `osm-flex` >=1.1.1
- `pymrio` >=0.5

### Changed

- Restructured `Supplychain` module, which now uses `pymrio` to download and handle multi-regional input output tables [#66](https://github.com/CLIMADA-project/climada_petals/pull/66)
- Restructured `openstreetmap` module to draw functionalities from external package osm-flex [#103](https://github.com/CLIMADA-project/climada_petals/pull/103)
- As part of `climada_petals.hazard.tc_rainfield`, implement a new, physics-based TC rain model ("TCR") in addition to the existing implementation of the purely statistical R-CLIPER model ([#85](https://github.com/CLIMADA-project/climada_petals/pull/85))
- Conda environment now avoids `default` channel packages, as these are incompatible to conda-forge [#110](https://github.com/CLIMADA-project/climada_petals/pull/110)

## 4.0.2

Release date: 2023-09-27

### Dependency Changes

- `pandas` >=1.5,<2.0 &rarr; >=1.5 (compatibility with pandas 2.x)

### Changed

- improved integration tests for notebooks and external data apis

### Fixed

- implicit casting from `DataArray` to `int` in reading mehtods made explicit [#95](https://github.com/CLIMADA-project/climada_petals/pull/95/files)

## 4.0.1

Release date: 2023-09-06

### Fixed

- `TCForecast` now skips "untrackable" TCs when reading multi-message `.bufr` files [#91](https://github.com/CLIMADA-project/climada_petals/pull/91)

## 4.0.0

Release date: 2023-09-01

### Dependency Changes

Upgraded:

- shapely `1.8` -> `2.0` ([#80](https://github.com/CLIMADA-project/climada_petals/pull/80))

### Changed

- refactored `climada_petals.river_flood.RiverFlood.from_nc`, removing calls to `set_raster` ([#80](https://github.com/CLIMADA-project/climada_petals/pull/80))
- Replace `tag` attribute with string `description` in classes derived from `Exposure` [#89](https://github.com/CLIMADA-project/climada_petals/pull/89)

### Removed

- `tag` attribute from hazard classes [#88](https://github.com/CLIMADA-project/climada_petals/pull/88)

## v3.3.2

Release date: 2023-08-25

### Description

Patch release

## v3.3.1

Release date: 2023-08-24

### Description

Rearranged file-system structure: `data` subdirectory of `climada_petals`.

## v3.3.0

Release date: 2023-05-08

### Description

Release aligned with climada (core) 3.3.

### Added

- Changelog and PR description template based on the Climada Core repository [#72](https://github.com/CLIMADA-project/climada_petals/pull/72)

### Changed

- Rework docs and switch to Book theme [#63](https://github.com/CLIMADA-project/climada_petals/pull/63)

### Fixed

- fix issue [#69](https://github.com/CLIMADA-project/climada_petals/issues/70) Warn.zeropadding for islands [](https://github.com/CLIMADA-project/climada_petals/pull/70)
