hydrotoolbox 2.3.1__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/CHANGELOG.md +6 -0
- {hydrotoolbox-2.3.1/src/hydrotoolbox.egg-info → hydrotoolbox-2.3.2}/PKG-INFO +1 -1
- hydrotoolbox-2.3.2/VERSION +1 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/pyproject.toml +1 -1
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/tsutils.py +2 -6
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2/src/hydrotoolbox.egg-info}/PKG-INFO +1 -1
- hydrotoolbox-2.3.1/VERSION +0 -1
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.deepsource.toml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.github/dependabot.yml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.github/workflows/clean-workflow-runs.yml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.github/workflows/pypi-package.yml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.github/workflows/tests.yml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.gitignore +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.gitmodules +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.pre-commit-config.yaml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/.sourcery.yaml +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/AUTHORS.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/BADGES.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/CONTRIBUTING.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/LICENSE.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/README.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/Makefile +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/authors.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/command_line.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/conf.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/contributing.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/function_summary.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/index.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/license.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/make.bat +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/docs/readme.rst +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/setup.cfg +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/__init__.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/__init__.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/comparison.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/example.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/__init__.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/boughton.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/chapman.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/chapman_maxwell.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/eckhardt.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/ewma.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/five_day.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/fixed.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/furey.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/general_form.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/ihacres.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/local.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/lyne_hollick.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/slide.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/strict.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/ukih.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/willems.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/param_estimate.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/separation.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/utils.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow_sep.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/hydrotoolbox.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/indices/__init__.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/indices/indices.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/docs/conf.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/__init__.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/readers/__init__.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/readers/hbn.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/readers/plotgen.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/readers/utils.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/readers/wdm.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/utils.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_asbestfreq.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_date_slice.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_dateparse.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_extract.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_hbn.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_make_list.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_period_timestamp.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_plotgen.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_range_to_numlist.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_read.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_wdm.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/utils.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox.egg-info/SOURCES.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox.egg-info/dependency_links.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox.egg-info/entry_points.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox.egg-info/requires.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox.egg-info/top_level.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/BEC_test.sh +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/Q_BEC_BE_6500.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/Q_BEC_BE_6500.ssf +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/black_earth_creek_05406500_flow.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/black_earth_creek_05406500_test.sh +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_02239501.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_boughton.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_chapman.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_chapman_maxwell.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_eckhardt.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_ewma.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_five_day.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_furey.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_ihacres.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_lyne_hollick.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_strict.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_ukih.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_usgs_hysep_fixed.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_usgs_hysep_local.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_usgs_hysep_slide.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_baseflow_willems.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_percentile_test.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_short.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/data_test_storm_events.csv +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/gtable.out +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/gtable_1955.out +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/hydrotoolbox_indices.txt +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/run_test.sh +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/test_baseflow_sep.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/test_exceedance_time.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/test_flow_duration.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/test_indices.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/test_recession.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/test_storm_events.py +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/tsproc_hydrologic_indices.inp +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/tsproc_hydrologic_indices.rec +0 -0
- {hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/tsproc_hydrologic_indices_percentile_test.inp +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.2
|
|
@@ -1754,7 +1754,7 @@ def asbestfreq(data: DataFrame, force_freq: Optional[str] = None) -> DataFrame:
|
|
|
1754
1754
|
ndiff = (
|
|
1755
1755
|
ndata.index.astype("datetime64[ns]").values[1:]
|
|
1756
1756
|
- ndata.index.astype("datetime64[ns]").values[:-1]
|
|
1757
|
-
)
|
|
1757
|
+
).astype("int64")
|
|
1758
1758
|
|
|
1759
1759
|
if np.any(ndiff <= 0):
|
|
1760
1760
|
raise ValueError(
|
|
@@ -1773,11 +1773,7 @@ def asbestfreq(data: DataFrame, force_freq: Optional[str] = None) -> DataFrame:
|
|
|
1773
1773
|
# Use the minimum of the intervals to test a new interval.
|
|
1774
1774
|
# Should work for fixed intervals.
|
|
1775
1775
|
ndiff = sorted(set(ndiff))
|
|
1776
|
-
ngcd = (
|
|
1777
|
-
ndiff[0].astype("int64")
|
|
1778
|
-
if len(ndiff) == 1
|
|
1779
|
-
else reduce(np.gcd, [i.astype("int64") for i in ndiff])
|
|
1780
|
-
)
|
|
1776
|
+
ngcd = ndiff[0] if len(ndiff) == 1 else reduce(np.gcd, ndiff)
|
|
1781
1777
|
ndiff = np.array(ndiff)
|
|
1782
1778
|
# ngcd is the greatest common divisor of the intervals in nanoseconds.
|
|
1783
1779
|
infer_freq = f"{ngcd}{pandas_offset_by_version('ns')}"
|
hydrotoolbox-2.3.1/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/baseflow/methods/chapman_maxwell.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/src/toolbox_utils/utils.py
RENAMED
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_asbestfreq.py
RENAMED
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_date_slice.py
RENAMED
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_dateparse.py
RENAMED
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_extract.py
RENAMED
|
File without changes
|
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_make_list.py
RENAMED
|
File without changes
|
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/src/hydrotoolbox/toolbox_utils/tests/test_plotgen.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hydrotoolbox-2.3.1 → hydrotoolbox-2.3.2}/tests/tsproc_hydrologic_indices_percentile_test.inp
RENAMED
|
File without changes
|