Obsplus

Latest version: v0.3.0

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

Scan your dependencies

Page 1 of 2

0.2.5

- obsplus
* Modernized packaging, including src file and pyrpoject.toml (259)
- obsplus.bank.wavebank
* Added a method called "get_segments_df" to return each segment of
contiguous data (260).
- CI
* Implimented conda env caching, swtiched to use mamba
- Dependencies
* pinned pydantic < 2.0 until we support 2.0.

0.2.3

- obsplus.bank
* Better support for bank paths on Windows See 256.
- obsplus.events.validate
* Loosened check for duplicate pick ids to only check for duplicate
P and S phases
* Made amplitude time window check skip over rejected amplitudes
- obsplus.utils
* Fix issue 249 to allow pandas 1.4+
- versions
* Dropped python 3.7 from test matrix to keep size manageable.
* Added python 3.10 to test matrix.

0.2.2

- Added support for python 3.9, dropped python 3.6

0.2.1

- obsplus.utils
* Handled edge case of a lower precision datetime64 causing an int64
overflow in `obsplus.utils.time.to_datetime64` (224).
- obsplus.WaveBank
* Refactored `get_waveforms_bulk` to allow a dataframe if required
columns exist (229).
- Dependencies
* Bumped pydantic min version to 1.8.2 and pandas min version to 1.0

0.2.0

- obsplus.structures.fetcher
* fixed an edge case were banks with only one file failed to return
streams (186).
- obsplus.structures.dfextractor
* Handled the case of null integers in the NSLC columns and added a logic
to force the seed_id column to match the other NSLC columns(199)
- obsplus.utils
* Fixed issue with duplicate channels setting incorrect start_dates
on station level (188, 190).
* Fixed an issue with `picks_to_df` which would return the wrong channel
code if the location code had a decimal. Now a ValueError is raised if
any seed ids are found which don't have exactly 3 decimals (see 193).
* Made sure that `SpatialCalculator` returns a meaningful error message if
required columns are missing from DataFrame inputs (197).
* Fixed issue in df_to_inventory where a location code of '01' was getting
converted to '1'. (199)
* Changed `merge_events` and `associate merge` to have option to reject old
picks/amplitudes, removed option to delete old picks/amplitudes. (209)
- obsplus.EventBank
* Added `overwrite_existing` keyword to `put_events` to disable squashing
existing events if desired (191).
* Fixes issue with read inventory casting ints to datetime on pd 1.1.0.
* Fixed issue which caused reading deleted files from an EventBank to
raise a TypeError (198).
* Added an obscure attribute called 'allow_update_index' for the rare
cases when index timestamp shouldn't be updated (201).
- obsplus.events.pd
* Made sure that the pre-defined extractors (`*_to_df`) still return all of
the expected columns if there are no valid objects.
- obsplus.stations
* Made sure that location codes and other NSLC components are handled
consistently within stations_to_df (199).
- obsplus.events.merge
* Added a new function called associate merge for merging one event with
the closest (defined by median pick time) of several possible events.
- obsplus.events.json
* Replaced ObsPlus' heavily recursive json conversion code with pydantic
models (218).

0.1.1

- obsplus.events
* Fixed issue with validators flagging picks on stations with the same
name but different networks (173).
* Added `subset` parameter to `get_seed_id_series` for selecting subsets
of full seed id.
- obsplus.EventBank
* Fixed issue where path_structure was overriding a user-specified value
of `""` (178)
- obsplus.structures.fetcher
* fixed issue with Fetcher raising Pandas error when an inventory with
duplicate channels was used (183, 184).
- obsplus.utils
* Refactored df_to_inventory (182).
* Refactored compose_docstring and added function for printing dataframe
columns and their expected dtypes (182).
- obsplus.WaveBank
* Fixed issue where path_structure was overriding a user-specified value
of `""` (178)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.