Diive

Latest version: v0.84.2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 15

0.53.2

Changes

- Added more output for detecting frequency from timeseries index (`core.times.times.DetectFrequency`)
- The associated functions have been updated accordingly: `core.times.times.timestamp_infer_freq_from_fullset`,
`core.times.times.timestamp_infer_freq_progressively`, `core.times.times.timestamp_infer_freq_from_timedelta`
- Added new notebook (`notebooks/TimeStamps/Detect_time_resolution.ipynb` )
- Added new unittest (`tests/test_timestamps.py`)

0.53.1

Changes

- **GapFinder** now gives by default sorted output, i.e. the output dataframe shows start and
end date for the largest gaps first (`pkgs.analyses.gapfinder.GapFinder`)

Notebooks

- Added new notebook for **finding gaps in time series** in `notebooks/Analyses/GapFinder.ipynb`
- Added new notebook for **time functions** in `notebooks/TimeFunctions/times.ipynb`

Other

- New repository branch `indev` is used as developement branch from now on
- Branch `main` will contain code from the most recent release

0.53.0

This update focuses on wind direction time series and adds the first example notebooks
to `diive`. From now on, new example notebooks will be added regularly.

New features

- **Wind direction offset correction**: Compare yearly wind direction histograms to
reference, detect offset in comparison to reference and correct wind directions
for offset per year (`pkgs.corrections.winddiroffset.WindDirOffset`)
- **Wind direction aggregation**: Calculate mean etc. of wind direction in
degrees (`core.funcs.funcs.winddirection_agg_kanda`)

Notebooks

- Added new notebook for **wind direction offset correction** in `notebooks/Corrections/WindDirectionOffset.ipynb`
- Added new notebok for **reading ICOS BM files** in `notebooks/ReadFiles/Read_data_from_ICOS_BM_files.ipynb`

Changes

- **Histogram analysis** now accepts pandas Series as input (`pkgs.analyses.histogram.Histogram`)

Additions

- Added unittests for reading (some) filetypes

0.52.7

Additions

- The DataFileReader can now directly read zipped files (`core.io.filereader.DataFileReader`)
- **Interactive time series plot**: (`core.plotting.timeseries.TimeSeries.plot_interactive`)
- added x- and y-axis to the plots
- new parameters `width` and `height` allow to control the size of the plot
- more controls such as undo/redo and zoom in/zoom out buttons were added
- The filetypes defined in `diive/configs/filetypes` now accept the setting `COMPRESSION: "zip"`.
In essence, this allows to read zipped files directly.
- New filetype `ICOS_H2R_CSVZIP_10S`

Changes

- Compression in filetypes is now given as `COMPRESSION: "None"` for no compression,
and `COMPRESSION: "zip"` for zipped CSV files.

0.52.6

Additions

- `LocalSD` in `StepwiseMeteoScreeningDb` now accepts the parameter `winsize` to
define the size of the rolling window (default `None`, in which case the window
size is calculated automatically as 1/20 of the number of records).
(`pkgs.qaqc.meteoscreening.StepwiseMeteoScreeningDb.flag_outliers_localsd_test`)

Bugfix

- Fixed bug: outlier test `LocalSD` did not consider user input `n_sd`
(`pkgs.qaqc.meteoscreening.StepwiseMeteoScreeningDb.flag_outliers_localsd_test`)

0.52.4

Bugfix

- Fixed bug: during resampling, the info for the tag `data_version` was incorrectly
stored in tag `freq`. (`pkgs.qaqc.meteoscreening.StepwiseMeteoScreeningDb.resample`)

Page 10 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.