Captest

Latest version: v0.13.1

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

Scan your dependencies

Page 1 of 3

0.13.1

Fixed
- Issue 112 - plotting tool would plot only last curve for plots with more than 25 curves.

0.13.0

Added
- `load_data` can read site location and system information for generating clear sky irradiance from a json or yaml file.
- New plotting module with a plot function which replaces the CapData.plot method. The new plot function creates a panel dashboard with expanded functionality. Internally, removes
the plotting dependency on the CapData.trans_keys attribute.
- `loc` and `floc` can be used to retrieve the regression columns, similar to previous rview functionality by using `regcols`.

Changed
- Removed the CapData `trans_keys ` attribute, which was a copy of the `column_groups` keys and would be modified by the old `CapData.plot` method. `trans_keys` made it difficult to create a `CapData` object without using the `load_data` function.
- Replaces all uses of `view` and `rview` with `loc` and `floc`.
- Updated `loc` and `floc` to always return a DataFrame. Previously these would sometimes return a Series.
- `load_data` now checks if any individual files were loaded when loading multiple files from a directory.
- Adds underlay curve of unfiltered power to the linked timeseries created when calling `scatter_hv` with `timeseries=True`.
- Changes selected points on scatter plot and linked timeseries produced by `scatter_hv` to red.
- Tolerances may now be fractions eg '- 3.5'
- The plotting methods `scatter_hv`, `scatter_filters`, and `timeseries_filters` do not require a column labeled 'index' with string datetimes in the `data` DataFrame anymore. Also, the index of the `data` DataFrame does not need to be named 'Timeseries'.
- Removes the `add_index_col` kwarg option from `util.reindex`.

0.12.0

Added
- Added a user guide section to the documentation with an overview and bifacial tests section.
- Added verbose kwarg to the DataLoader load method, which prints which files have been loaded
- DataLoader load method has new kwarg print_errors
- DataLoader load method stores list of paths of files that fail to load in failed_to_load attribute
- CapData method to save column_groups dictionary to excel
- Github action to build and publish to PyPI on tags like v* pushed from master

Changed
- Updates to make pvcaptest compatible with pvlib 0.10 and scipy 1.11
- Update to make pvcaptest compatible with bokeh v3.0.0, change `plot_width` and `plot_height` to `width` and `height`
- Make bokeh v3 minimum version
- Drop support for python 3.7
- Drop to_numeric from io.file_reader
- CapData.column_groups is instance of ColumnGroups now when group_columns is a callable
- Changed defaults for the CapData plot method to single column

0.11.2

Added
- Adds CI testing across python 3.7 to 3.11 on OSX, Linux, and Windows using Github actions.

Changed
- Re-organized project root directory to place captest package under a src directory, see PR 83.
- Re-organized the extras for pip installation into optional, test, docs, and all. Updated the installation section of the docs to reflect change.
- Updated installation instructions with links to pandas and conda docs for more information on environments.
- Re-organized installation instructions.
- Changed instructions on creating a conda env for pvcaptest to directly download the env yaml file from the repository rather than the whole repository.
- Clean up RTD configuration, particularly added project directory to PYTHONPATH in the docs build environment, so the docs build against checked out version instead of installed version from conda.
- Updates to documentation to add new modules, remove history section of releases, and remove references to Travis CI.

Fixed
- Cleaned up issues in tests found after re-implementing CI on other platforms.

0.11.1

Added
- Added new dependencies - colorcet, param
- Added openpyxl as an optional dependency
- Loads bokeh as holoviews extension in captest imports so user doesn't need to

Changed
- Removed use of hvplot, replaced with holoviews to avoid adding unnecessary dependency. PR 73.

Fixed
- Typo in the import check of panel

0.11.0

Added
- Added columngroups module with a ColumnGroups class that extends python
dictionaries to include each column group as an attribute and __repr__ is
formatted for easy reading.
- Created the `loc` and `floc` callables for CapData, which allow easier access to columns of the `data` and `data_filtered` attributes, repsectively. Will replace `view` and `rview` method.
- Added `read_json` function to util module.
- Added `read_yaml` function to util module.
- Added the io module with functions to load data and return instances of CapData containing the loaded data.
- Added the ReportingIrradiance class for calculations of a reporting irradiance that is between the 40th and 60th percentile. `ReportingIrradiance.plot` includes a dashboard type view of the selected and possible reporting irradiance values and method to save possible reporting conditions table to csv.
- Added the `spatial_uncert` and `expanded_uncert` methods. Improvements and testing needed.


Changed
- Moved group_columns method, series_type, and type definitions from the capdata module to the columngroups module and changed group_columns from a CapData method to a function that returns a ColumnGroups instance.
- Completely refactored the algorithim to determine the reporting irradiance when `irr_bal` is set to True. Now an instance of the new ReportingIrradiance class is created and used to determine the reporting irradiance.
- Updated the examples to reflect the changes to the API for data loading, column grouping, selection (loc and floc vs view and rview), and balanced reporting irradiance.
- Changed the `scatter_hv` method to be more flexible and not require temperature or wind regression columns.

Removed
- Removed the value checking functionality of the group_columns function. Data quality is outside the scope of the pvcaptest project.
- Removed the `load_data`, `load_das`, and `load_pvsyst` methods from the CapData class. Replaced with io module.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.