Metadata-Version: 2.4
Name: pyhecdss
Version: 1.6.0
Summary: For reading/writing HEC-DSS files
Home-page: https://github.com/dwr-psandhu/pyhecdss
Author: Nicky Sandhu
Author-email: psandhu@water.ca.gov
License: MIT license
Keywords: pyhecdss
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: ~=3.5
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: numpy
Requires-Dist: pandas
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

========
pyhecdss
========

>  **Note:** This project only supports **DSS version 6** and now recommends users to `HEC-DSS Python`_ version 7 and higher

For reading/writing HEC-DSS files [https://www.hec.usace.army.mil/software/hec-dss/]
HEC-DSS is an ancient database used by the Army Corps of Engineers and prevalent
in water related models. This module is a bridge to read and write time series
data from this data format and read it into pandas DataFrame

* Free software: MIT license
* Documentation: https://cadwrdeltamodeling.github.io/pyhecdss/


Features
--------

* Open and close DSS files
* Read catalog of DSS files as pandas DataFrame
* Read and write time series from DSS files

Limitations
-----------

* Only support for Python 3 - 64 bit for windows and linux
* Relies on pre-compiled libraries the source distribution of which is not allowed

Credits
-------

This package wraps the `HEC-DSS Software`_ using the `Swig`_ library.

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`HEC-DSS Software`: https://www.hec.usace.army.mil/software/hec-dss/
.. _`HEC-DSS Python`: https://github.com/HydrologicEngineeringCenter/hec-dss-python
.. _Swig: http://www.swig.org/


=========
CHANGELOG
=========
1.1.4
-----
fix for issue #25, #26, #27 and warning cleanup

1.1.3
-----
Fixed imports to avoid circular import issue #27

1.1.2
-----
more fixes for create_new flag tests

1.1.1
------
fixing tests for create_new flag

1.1.0
-----
DSS file only created when explicitly create_new=True(default: False)
 
1.0.2
-----
bugfix for empty arrays

1.0.1
-----
handle pandas Series on writes

1.0.0
------
using generators for get_ts and get_matching_ts functions for efficiency
context manager for use "with" statement 
fixed for pandas >=1.1
auto versioning turned on 

0.6.1
-----
 fixed bug when switching to non-condensed catalog that caused shortening of time windows
 
0.6.0
-----
 * fix for breaking change by pandas >= 1.1
 * switching to using non-condensed catalog, flag available to switch back
 * changing exception on missing pathname to logging message
 * changing message level to 0 as default
 * adding get_rts_matching for pathname selection by regular expressions
 * replaced warnings with debug logging

0.5.1
-----
Fixed for '\*' in catalog file in case of missing periods

0.5.0
-----
Added helper function for simple timeseries retrieval

0.4.1
-----
regular and irregular timeseries now share same time window parsing logic

0.4.0
-----
fixes for issue #16: pandas timestamp limitations

0.3.1
-----
another fix for pandas 1.0.0 upgrade - issue #15

0.3.0
-----
fix for issue 15: units 'M' and 'Y' no longer supported

0.2.9
-----
Fixed issue with end of timestamp writing to dss files for "PER-\*" data type

0.2.8
-----
Recompiled heclib in linux with latest compilers to resolve issue 8

0.2.7
-----
Partial fixes for offset: Fixed for "INST-\*" timeseries but not "PER-\*" timeseries (issue #12)

0.2.6
-----
Performance tests added to showcase pyhecdss is the fastest
Fixed issue #10: Period data stored shifted to end of time stamp (HEC-DSS convention)
Fixing libgfortran dependency on linux by statically linking the library

0.2.5
-----
Merged pull request from HenryDane:
issues warnings or throws exception based on return value from functions
fixed minor typo(s), added tests

0.2.4
-----

Fixes issues #2, #4: get_version(), set_message_level(), set_program_name() now supported at module level
Fixes issues #1: HECDSS marks periods by end of time stamp bug

0.2.3
-----
Added linux 64bit support
Corrected license to MIT for conda distribution

0.2.2
-----
Update tests to use a smaller test.dss files
Added sphinx documentation and demo notebook

0.2.1
-----
Write irregular time series

0.2.0
------
Write regular time series
Read irregular time series as data frame + units + type
Performance improvement to using np.zeros instead of np.array(range...)

0.1.6
-----
