<!--
SPDX-FileCopyrightText: 2025 Florian Obersteiner <f.obersteiner@kit.edu>

SPDX-License-Identifier: CC-BY-SA-4.0
-->

# Changelog

<https://keepachangelog.com/>

Types of changes

- 'Added' for new features.
- 'Changed' for changes in existing functionality.
- 'Deprecated' for soon-to-be removed features.
- 'Removed' for now removed features.
- 'Fixed' for any bug fixes.
- 'Security' in case of vulnerabilities.

---

## TODOs

### Backlog

- investigate if data caching is necessary (load-from-thredds)?
- scatter-plot: plot as line if sufficient data is available?
- use a polars dataframe or [fireducks](https://fireducks-dev.github.io/) for better performance - if that turns out to be a bottleneck. (!) Keep this in mind when using pandas-specific functions.
- add tests, esp. to ensure loading data from thredds works
- add pre-commit
- get a DOI for the code

---

## [Unreleased]

## v0.1.0, 2025-04-03

### Added

- build and deploy stage for CI
- disable checkbox "Show trajectories" after user clicks OK/Cancel on confirm dialog that appears if no trajectory data available
- references for BB flagging and TRAJKS model

### Changed

- load appconfig from env file - this can be provided by a gitlab variable for deployment via CI

## v0.0.19, 2025-04-01

### Added

- trajectory data info
- dockerfile and dockerignore

### Changed

- select a secondary parameter by default
- same bg color for both plots
- show map attribution on top of map instead of hiding it below timeseries plot
- put 'show trajectories' button below map plot

## v0.0.18, 2025-03-31

### Fixed

- catch byte order glitch in trajectory data when calling `.sel` to select the trajectory. See also <https://github.com/pandas-dev/pandas/issues/53234>

## v0.0.17, 2025-03-31

### Added

- trajectory data loading from disk and thredds
- trajectory plotting
- backend: possibility to set log level in config file
- frontend: loading indicators for the plots

### Changed

- thredds functionality now part of ./src/data.py

## v0.0.16, 2025-03-28

### Added

- prepare checkbox to toggle trajectories plotting

### Changed

- revised callbacks; separate the one big figure-callback into multiple callbacks, in a separate file `./src/callbacks.py
- tweak css for dropboxes

## v0.0.15 - 2025-03-26

### Added

- secondary variable to plot (optional)
- info about BB flagging

### Changed

- app startup immediately fails if no datasets are found

## v0.0.14 - 2025-03-26

### Changed

- skip files that have no ACN data
- tweak layout so that flights dropdown list doesn't get mangled up

## v0.0.13 - 2025-03-26

### Added

- load data from THREDDS TDS
- load range of flights

### Changed

- replace 'draft' in titlebar with 'IAGOS-CARIBIC'
- put env.toml on gitignore list so that production and testing environment can have different configs

## v0.0.12 - 2025-03-24

### Added

- flight info
- variable info

### Changed

- get version number from latest git tag
- exclude processing variables from Variables dropdown
- clean-up of flight and variable selection

## v0.0.11 - 2025-03-24

### Added

- DotDict class for configuration

### Changed

- use DotDict class for app config

## v0.0.10 - 2025-03-21

initial upload