Utilities for Time-Series, Hydrologic, and Meteorologic Data#

tstoolbox#

Import, calculations, transformations, statistics, and plots for time-series. Can be used with the other toolboxes below ( tsgettoolbox, swmmtoolbox, wdmtoolbox, hspfbintoolbox, …etc. ).

Documentation:

tstoolbox

Install with pip:

pip install tstoolbox

Install with conda:

conda install -c conda-forge tstoolbox

Development:

bitbucket.org/timcera/tstoolbox or github.com/timcera/tstoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

plottoolbox#

Plots data with several plot types, including; time-series, normal x or y axis, xy scatter, box and whiskers. Split from tstoolbox and should replace Python API calls to tstoolbox.plot(…) and command line tstoolbox plot ….

Documentation:

plottoolbox

Install with pip:

pip install plottoolbox

Install with conda:

conda install -c conda-forge plottoolbox

Development:

bitbucket.org/timcera/plottoolbox or github.com/timcera/plottoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

tsgettoolbox#

Command line and Python library to collect meteorologic and hydrologic data from web services. Can collect from the following organizations:

  • California Department of Water Resources

  • Daymet from the Oak Ridge National Laboratory

  • Florida Automated Weather Network

  • Kisters Hydstra time-series database webservice

  • Land Data Assimilation System

  • METDATA, or GridMET based on PRISM.

  • MODIS derived data.

  • Terraclimate.

  • Texas Weather Connection

  • Unavco web services.

  • US Center for Operational Oceanographic Products and Services

  • US Climate Prediction Center

  • US EPA Water Quality Portal.

  • USGS National Water Information System

  • USGS Water Data for the Nation

  • US National Center for Environmental Information

  • US National Data Buoy Center.

Documentation:

tsgettoolbox

Install with pip:

pip install tsgettoolbox

Install with conda:

conda install -c conda-forge tsgettoolbox

Development:

bitbucket.org/timcera/tsgettoolbox or github.com/timcera/tsgettoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

mettoolbox#

Command line and Python library for meteorologic calculations. Includes disaggregation and evaporation functions.

Documentation:

mettoolbox

Install with pip:

pip install mettoolbox

Install with conda:

conda install -c conda-forge mettoolbox

Development:

bitbucket.org/timcera/mettoolbox or github.com/timcera/mettoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

hydrotoolbox#

Command line and Python library for hydrologic calculations and analysis. Includes baseflow separation and hydrologic indices calculations.

Documentation:

hydrotoolbox

Install with pip:

pip install hydrotoolbox

Install with conda:

conda install -c conda-forge hydrotoolbox

Development:

bitbucket.org/timcera/hydrotoolbox or github.com/timcera/hydrotoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

Hydrologic Simulation Program - Python (HSP2)#

hsp2_reader#

A command line tool and Python library to read the Hydrological Simulation Program - Python (HSP2 or HSPsquared) HDF4 files.

Documentation:

hsp2_reader

Install with pip:

pip install hsp2_reader

Install with conda:

conda install -c conda-forge hsp2_reader

Development:

bitbucket.org/timcera/hsp2_reader or github.com/timcera/hsp2_reader

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

Hydrologic Simulation Program - FORTRAN (HSPF)#

wdmtoolbox#

Create, read, and write Watershed Data Management (WDM) files.

Documentation:

wdmtoolbox

Install with pip:

pip install wdmtoolbox

Install with conda:

conda install -c conda-forge wdmtoolbox

Development:

bitbucket.org/timcera/wdmtoolbox or github.com/timcera/wdmtoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

hspfbintoolbox#

Read the Hydrological Simulation Program - FORTRAN (HSPF) binary files.

Documentation:

hspfbintoolbox

Install with pip:

pip install hspfbintoolbox

Install with conda:

conda install -c conda-forge hspfbintoolbox

Development:

bitbucket.org/timcera/hspfbintoolbox or github.com/timcera/hspfbintoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

hspf_reader#

A command line tool and Python library to read the Hydrological Simulation Program - FORTRAN (HSPF) WDM files, binary files, and PLOTGEN files. The hspf_reader is a pure Python package including readers for PLOTGET, HSPF binary files and WDM files. If you need to create or populate WDM files use wdmtoolbox, and if you need a catalog of available water balance terms or large scale extraction from HPSF binary files use hspfbintoolbox.

Documentation:

hspf_reader

Install with pip:

pip install hspf_reader

Install with conda:

conda install -c conda-forge hspf_reader

Development:

bitbucket.org/timcera/hspf_reader or github.com/timcera/hspf_reader

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

hspf_utils#

Some HSPF model utilities to create a water balance, table of parameters values, …etc.

Documentation:

hspf_utils

Install with pip:

pip install hspf_utils

Install with conda:

conda install -c conda-forge hspf_utils

Development:

bitbucket.org/timcera/hspf_utils or github.com/timcera/hspf_utils

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

Storm Water Management Model (SWMM)#

swmmtoolbox#

Read the Storm Water Management Model (SWMM) version 5 binary files.

Documentation:

swmmtoolbox

Install with pip:

pip install swmmtoolbox

Install with conda:

conda install -c conda-forge swmmtoolbox

Development:

bitbucket.org/timcera/swmmtoolbox or github.com/timcera/swmmtoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

Tidal Analysis#

Tidal Analysis Program in Python (TAPPy)#

Tidal Analysis Program in Python. Takes a time-series of water level observations and finds the pure sine wave tidal constituents that would sum to the observations. TAPPy can then take the calculated constituents and make predictions of tidal heights in the future.

Documentation:

tappy

Install with pip:

pip install tappy

Install with conda:

conda install -c conda-forge tappy

Development:

bitbucket.org/timcera/tappy or github.com/timcera/tappy

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

astronomia#

Calculation of astronomical ephemeris for the Sun, Moon, and Planets. Used by Tidal Analysis Program - Python.

Documentation:

astronomia

Install with pip:

pip install astronomia

Install with conda:

conda install -c conda-forge astronomia

Development:

bitbucket.org/timcera/astronomia or github.com/timcera/astronomia

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

Utilities for Parameter Estimation and Model Optimization#

tsblender#

Command line tool intended as a drop-in replacement for the USGS Time-Series PROCessor (TSPROC) (still in development).

Documentation:

tsblender

Install with pip:

pip install tsblender

Install with conda:

conda install -c conda-forge tsblender

Development:

bitbucket.org/timcera/tsblender or github.com/timcera/tsblender

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

TSPROC#

TSPROC is a Time Series PROCessor that uses a configuration file to describe the tasks the data scientist or modeler wants to accomplish.

Main site:

https://wi.water.usgs.gov/models/tsproc/

Documentation:

https://pubs.usgs.gov/tm/tm7c7/

Development:

github.com/smwesten-usgs/tsproc


PEST HPC Support#

Shell scripts to support running the Parameter ESTimation (PEST), PEST_HP, and PEST++ software on high performance computing clusters using SLURM or PBS.

Documentation:

PEST HPC Support

Install with git HTTPS:

git clone https://github.com/timcera/pest_hpc_support.git

Install with git SSH:

git clone git@github.com:timcera/pest_hpc_support.git

Install with gh CLI:

gh repo clone timcera/pest_hpc_support

Development:

github.com/timcera/pest_hpc_support


pyslice#

Templating engine to develop input model data sets. Especially useful for parametric or Monte Carlo simulations.

Documentation:

pyslice

Install with pip:

pip install pyslice

Install with conda:

conda install -c conda-forge pyslice

Development:

bitbucket.org/timcera/pyslice or github.com/timcera/pyslice

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

General Utilities#

cltoolbox#

Toolbox to support the command line features of the other toolboxes.

Documentation:

cltoolbox

Install with pip:

pip install cltoolbox

Install with conda:

conda install -c conda-forge cltoolbox

Development:

bitbucket.org/timcera/cltoolbox or github.com/timcera/cltoolbox

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

toolbox_utils#

Functions to support the other toolboxes.

Documentation:

toolbox_utils

Install with pip:

pip install toolbox_utils

Install with conda:

conda install -c conda-forge toolbox_utils

Development:

bitbucket.org/timcera/toolbox_utils or github.com/timcera/toolbox_utils

Test Coverage Latest release BSD-3 clause license PyPI - Python Version

vigor_rst_tables#

A vim plugin to easily create and edit reStructuredText tables.

Documentation:

vigor_rst_tables

Installation:

Follow the instructions of your vim plugin manager (e.g. Vundle, Pathogen, …etc.) to install the plugin from the GitHub repository.

Development:

github.com/timcera/vigor_rst_tables