Pysat

Latest version: v3.2.1

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

Scan your dependencies

Page 1 of 5

3.2.1

--------------------
* Bug Fix
* Fixed a bug for identifying clean warnings to test
* Imposed minimum frequency of `1D` on `Instrument.bounds` to enable data loading for instruments with inter-file time intervals of less than one day
* Maintenance
* Update usage of `dims` to be consistent with future versions of `xarray`
* Update frequency strings for `pandas`
* Update usage of getitem for `pds.Series`
* Updates usage of `dt.datetime.utcnow()` to `dt.datetime.now(dt.timezone.utc)`
* Implement SPEC0000 testing limits for pandas, scipy, xarray.
* Update pip rc install workflow to test against multiple python versions
* Implement coveralls app in GitHub Actions
* Updated deprecated useage of `step.delta` to `pds.Timedelta(step)`
* Updated rationale and usage for `export_pysat_info` in docstrings.
* Update lower limits of core dependencies based on operational tests

3.2.0

--------------------
* New Features
* Added tests for warnings, logging messages, and errors in the Instrument
clean method.
* Added Instrument loading test with padding and for times without data.
* Allow Instruments to define custom `concat_data` methods.
* Added `include` kwarg to `Instrument.concat_data` to expand allowed inputs.
* Added data kwarg to the Instrument class `__getitem__` method and reduced
memory usage in the `load` method.
* Added a hidden method the Instrument class `_get_epoch_name_from_data` to
reduce code duplication.
* Added `__delitem__` to Meta and `drop` to MetaHeader and MetaLabels classes.
* Modified Meta to allow MetaHeader attribute access directly from Meta.
* Expanded `Meta.drop` to traverse attached MetaLabel and MetaHeader data.
* Added `__delitem__` and `drop` to Instrument and Constellation classes.
* Added options to customize `pysat_ndtesting` instrument with sample rate,
shift in time.
* Added orbit number to `pysat_ndtesting`.
* Added the overwrite kwarg to `utils.registry.register_by_module`.
* Added unit tests for all functions in `utils.files`.
* Reduced code duplication in the `utils.files.parse_fixed_width_filenames`
and `utils.files.parse_delimited_filenames` functions
* Added ability to set Meta data using `meta['data_var', 'label'] = value`
structure.
* Added test for loading multiple days of data.
* Added user-friendly warning when trying to load data when there are
no files at all to load. Situation currently raises an IndexError.
* Expanded `eval_warnings` to support testing against multiple warning types.
* Bug Fix
* Fixed `utils.files.parse_fixed_width_filenames` output for empty file list
* Updated the parsing functions in `utils.files` to consider type specifiers
when identifying appropriate files in a directory
* Maintenance
* Update link redirects in docs.
* Improved Instrument ValueError messages.
* Updated `Constellation.to_inst` method definition of coords, using dims
to combine common dimensions instead.
* Implement pyproject to manage metadata
* Updated docstring references to `pysat.utils.files` in other modules.
* Remove Sphinx cap
* Update usage of whitespace and if statements (E275)
* Remove hacking cap
* Removed deprecated `pysat_testing2d` instrument
* Removed deprecated meta children info
* Removed deprecated `pysat_testing_xarray` instrument
* Removed deprecated `pysat_testing2d_xarray` instrument
* Removed deprecated `instrument_test_class`
* Removed deprecated `malformed_index` kwarg in test instrumennts
* Removed deprecated `convert_timestamp_to_datetime` function
* Removed deprecated `_test_download_travis` flag
* Removed deprecated `freq` kwarg from `download`
* Removed deprecated `use_header` kwarg from `load` and changed default
behaviour to `use_header=True`
* Use temporary directories for files created during test_utils.py
* Updated code file headers to be consistent and include NRL pub release
* Added acknowledgements.md which includes full institutional funding list
* Removed deprecated `labels` kwarg for `pysat.Instrument()`
* Removed deprecated `utils.load_netcdf4` method
* Removed deprecated `_filter_netcdf4_metadata` method
* Removed deprecated usage of None for tag and inst_id
* Removed deprecated kwarg behaviour for 'fname' in `to_netCDF4`
* Added verion cap for sphinx_rtd_theme
* Used line specific noqa statements for imports
* Add `_new_tests` flag for packages to ignore select new tests
* Add CI testing for python 3.12

3.1.0

--------------------
* New Features
* Added a utility to ensure two xarray Datasets can be concatonated, and
incorporated this utility into the Instrument file loading
* Added unit tests for different file cadences in the Instrument class
* Added `to_inst` method to the Constellation class
* Added `export_pysat_info` kwarg to `to_netcdf` routines to select whether
pysat instrument info is written to files
* Added Constellation class examples to the docs tutorial
* Added links to the project standards repository to the docs
* Improved formatting of custom kwargs when running `print` on an instrument
* Added a core utility to update fill values consistently in the data and
metadata
* Adapted `check_and_make_path` to treat an empty path as the current dir
* Added `meta_kwargs` attribute and kwarg to Instrument, allowing full custom
specification of the Meta class on instantiation
* Expanded MetaLabels type defaults for 'max_val', 'min_val', and 'fill_val'
to include more common data types
* Added `data_types` input to Meta and certain MetaLabels methods, allowing
the default values to be set to the specified data type when multiple types
are allowed, ensure these are updated when adding new data to an Instrument
* Added `_update_label_types` to MetaLabels, expanding the Python float/int
types to include all numpy float/int types
* Added `strict_dim_check` for loading xarray Datasets through netCDF
* Added `combine_by_coords` kwarg to `io.load_netcdf` for use on multi-file
xarray Datasets
* Deprecations
* Deprecated the Instrument kwarg `labels` in favor of `meta_kwargs` and
replaced the `meta_labels` attribute with the `meta_kwargs` attribute
* Deprecated the `labels` keyword arg in favor of `meta_kwargs` in the
netCDF I/O functions and Instrument sub-module
* Deprecated the `malformed_index` kwarg in the test instruments. This is
replaced by `non_monotonic_index` and `non_unique_index`
* Bug Fix
* Allow `pysat.instruments.methods.general.list_files` to handle file
cadences other than daily or monthly
* Allow equality assessments if optional kwargs are used in Instrument
* Fixed an issue with setting single variables in xarray coords (988)
* Fixed `pysat.Instrument.bounds` to handle all input types for `step`
and `width` regardless of `start` and `stop` time. Also fixed
seasonal bounds specified using file names.
* Fixed `pysat.utils.io.apply_table_translation_to_file` check for duplicates
in the meta translation table
* Fixed an issue when passing dates through load_remote_files (1022)
* Fixed a bug where data may not have any times, but still not be empty
* Fixed a bug where metadata with values of None are assigned as useful
attributes when attaching metadata to xarray objects
* Fixed a bug where a multi_file_day non-monotonic xarray index failed to
merge datasets (1005)
* Fixed a bug in testing for setting multiple optional load kwargs (1097)
* Fixed a bug when setting xarray data as a tuple
* Fixed a bug when loading constellations for partially empty instrument lists
* Fixed a bug when cleaning up temporary directories on windows during testing
* Fixed a bug in Instrument loading with a pad, where RangeIndex slicing no
longer works on an empty series
* Maintenance
* Added roadmap to readthedocs
* Improved the documentation in `pysat.utils.files`
* Clarified documentation and tests for name slicing support in pandas
* Clarified documentation for adding new instruments
* Fixed broken links in docs
* Updated docstring header underline lengths and addressed documentation
build errors and warnings
* Additional unit tests for data padding when a data index is non-monotonic.
* Deprecated the `malformed_index` kwarg in the test instruments. This is
replaced by `non_monotonic_index` and `non_unique_index`
* Set the `instruments.pysat_testing` tag='no_download' to return an empty
pandas DataFrame for `load`
* Added `constellations.testing_partial`, which loads a partially empty
constellation dataset
* Reduced default num_samples for constellation test objects
* Improved consistency in metadata for test instruments

3.0.6

--------------------
* Bug Fix
* Ensure pysat tests do not store temporary directory to file
* Updated links for supported instruments in documentation
* Deprecations
* `pysat_testing2d_xarray` instrument deprecated and replaced by
`pysat_ndtesting`
* Maintenance
* Updated pytest syntax to remove nose backwards-compatibility
* Fixed NEP29 compliance
* Updated Github Actions versions
* Improved docstrings
* Fixed a bug where a deprecation warning was thrown incorrectly
* Add pysatModels to pysat instrument count
* Update contributing document
* Added support for testing with python 3.6, updated reported
minimum supported Python version to 3.6

3.0.5

--------------------
* Maintenance
* Update usage of logger throughout code.
* Update NEP29 minimum CI numpy version to 1.20
* Bug Fix
* Updated meta.py so that internal assignment of None to children is not
converted to NaN when using pandas>=1.5.0

3.0.4

--------------------
* Maintenance
* Removed version cap on xarray
* Bug Fix
* Improved compatibility with xarray 2022.06 when accessing data via slices
* Fixed a bug for fractional seconds in `methods.testing.generate_times`.
* Fixed a bug for testing FTP instruments in a CI environment.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.