tsgettoolbox

Command line script and Python package to get weather and hydrologic time-series from Internet services.

https://github.com/timcera/tsgettoolbox

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 8 committers (12.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary

Keywords

cli ftp hydrology opendap python station time-series weather web-services

Keywords from Contributors

tide ranking dice-roller trend rolling-window peak normalization aggregate tidalcycles tidal
Last synced: 6 months ago · JSON representation

Repository

Command line script and Python package to get weather and hydrologic time-series from Internet services.

Basic Info
  • Host: GitHub
  • Owner: timcera
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 90.2 MB
Statistics
  • Stars: 18
  • Watchers: 2
  • Forks: 3
  • Open Issues: 6
  • Releases: 0
Topics
cli ftp hydrology opendap python station time-series weather web-services
Created over 10 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Citation Authors

README.rst

.. image:: https://github.com/timcera/tsgettoolbox/actions/workflows/pypi-package.yml/badge.svg
    :alt: Tests
    :target: https://github.com/timcera/tsgettoolbox/actions/workflows/pypi-package.yml
    :height: 20

.. image:: https://img.shields.io/coveralls/github/timcera/tsgettoolbox
    :alt: Test Coverage
    :target: https://coveralls.io/r/timcera/tsgettoolbox?branch=master
    :height: 20

.. image:: https://img.shields.io/pypi/v/tsgettoolbox.svg
    :alt: Latest release
    :target: https://pypi.python.org/pypi/tsgettoolbox/
    :height: 20

.. image:: https://img.shields.io/pypi/l/tsgettoolbox.svg
    :alt: BSD-3 clause license
    :target: https://pypi.python.org/pypi/tsgettoolbox/
    :height: 20

.. image:: https://img.shields.io/pypi/pyversions/tsgettoolbox
    :alt: PyPI - Python Version
    :target: https://pypi.org/project/tsgettoolbox/
    :height: 20

tsgettoolbox - Quick Guide
==========================
The 'tsgettoolbox' is a Python script and library to get time-series data from
different web services.  The tsgettoolbox will work with Python 2.6+ and 3.0+.

Documentation
-------------
Reference documentation is at `tsgettoolbox_documentation`_.

Installation
------------
At the command line::

    $ pip install tsgettoolbox

Usage Summary - Command Line
----------------------------
Just run 'tsgettoolbox --help' to get a list of subcommands.  To get detailed
help for a particular sub-command, for instance 'coops', type 'tsgettoolbox
coops --help'.

    about
        Display version number and system information.

    cdec
        US/CA station E,H,D,M: California Department of Water Resources

    coops
        global station 1T,6T,H,D,M: Center for Operational Oceanographic
        Products and Services

    cpc
        US/region W: Climate Prediction Center, Weekly Drought Index

    daymet
        NAmerica 1km 1980- D,M:Daymet, daily meteorology by the Oak Ridge
        National Laboratory

    fawn
        US/FL 15T,H,D,M:Florida Automated Weather Network (FAWN)

    hydstra_ts
        Kisters Hydstra Webservice - time series values

    hydstra_catalog
        Kisters Hydstra Webservice - variable catalog for a station

    hydstra_stations
        Kisters Hydstra Webservice - station list for a server

    ldas
        grid: Land Data Assimilation System, includes all ldas_* (NLDAS,
        GLDAS2, TRMM, SMERGE, GRACE, MERRA)

    ldas_gldas_noah
        global 0.25deg 2000- 3H:GLDAS NOAH hydrology model results

    ldas_grace
        NAmerica 0.125deg 2002- 7D:Groundwater and soil moisture from GRACE

    ldas_merra
        global 0.5x0.625deg 1980- H:MERRA-2 Land surface forcings

    ldas_merra_update
        global 0.5x0.667deg 1980-2016 H:MERRA-2 Analysis update

    ldas_nldas_fora
        NAmerica 0.125deg 1979- H:NLDAS Weather Forcing A (surface)

    ldas_nldas_noah
        NAmerica 0.125deg 1979- H:NLDAS NOAH hydrology model results

    ldas_smerge
        global 0.125deg 1997- D:SMERGE-Noah-CCI root zone soil moisture

    ldas_trmm_tmpa
        global 0.25deg 1997- 3H:TRMM (TMPA) rainfall estimate

    metdata
        NAmerica 4km 1980- D: Download daily data from METDATA based on PRISM.

    modis
        global 250m,500m,1000m 2000- 4D,8D,16D,A:Download MODIS derived data.

    ncei_ghcnd_ftp
        global station D:NCEI Global Historical Climatology Network - Daily
        (GHCND)

    ncei_ghcnd
        global station D:Global Historical Climatology Network - Daily (GHCND)

    ncei_gsod
        global station D:NCEI Global Summary of the Day (GSOD)

    ncei_gsom
        global station M:NCEI Global Summary of Month (GSOM)

    ncei_gsoy
        global station A:NCEI Global Summary of Year (GSOY)

    ncei_normal_ann
        global station A: NCEI annual normals

    ncei_normal_dly
        global station D:NCEI Daily Normals

    ncei_normal_hly
        global station H:NCEI Normal hourly

    ncei_normal_mly
        global station M:NCEI Monthly Summaries.

    ncei_precip_15
        global station 15T:NCEI 15 minute precipitation

    ncei_precip_hly
        global station H:NCEI hourly precipitation

    ncei_annual
        global station A:NCEI annual data summaries

    ncei_ghcndms
        global station M:NCEI GHCND Monthly Summaries (GHCNDMS)

    ncei_ish
        global station H:Integrated Surface Database

    ndbc
        US station T,6T,10T,15T,H,D:Download historical from the National Data
        Buoy Center.

    nwis
        US station:Use the ``nwis_*`` functions instead.

    nwis_iv
        US station E:USGS NWIS Instantaneous Values

    nwis_dv
        US station D:USGS NWIS Daily Values

    nwis_site
        US station:USGS NWIS Site Database

    nwis_gwlevels
        US station:USGS NWIS Groundwater Levels

    nwis_measurements
        US station:USGS NWIS Measurements

    nwis_peak
        US station:USGS NWIS Peak

    nwis_stat
        US station:USGS NWIS Statistic

    epa_wqp
        US station E:EPA Water Quality Portal.

    rivergages
        US station:USACE river gages

    swtwc
        US/region station:USACE Southwest Division, Tulsa Water Control

    terraclimate
        global 1/24deg 1958- M:Download monthly data from Terraclimate.

    terraclimate2C
        global 1/24deg M:Monthly normals from Terraclimate with 2deg C hotter
        climate.

    terraclimate4C
        global 1/24deg M:Monthly normals from Terraclimate with 4deg C hotter
        climate.

    terraclimate19611990
        global 1/24deg M:Monthly normals using TerraClimate monthly data from
        1961 to 1990.

    terraclimate19812010
        global 1/24deg M:Monthly normals using TerraClimate monthly data from
        1981 to 2010.

    twc
        US/TX station D:Download Texas Weather Connection (TWC) data.

    unavco
        US station: Download data from the Unavco web services.

Usage Summary - Python Library
------------------------------
To use the tsgettoolbox in a project::

    from tsgettoolbox import tsgettoolbox
    df = tsgettoolbox.nwis_dv(sites="02329500", startDT="2000-01-01")

Refer to the API Documentation at `tsgettoolbox_api`_.

Usage Summary - Command Line
----------------------------

    tsgettoolbox nwis_dv --sites 02329500 --startDT 2000-01-01

Refer to the command line documentation at `tsgettoolbox_cli`_.

Development
~~~~~~~~~~~
Development is managed on bitbucket or github.
https://bitbucket.org/timcera/tsgettoolbox/overview.
https://github.com/timcera/tsgettoolbox

.. _tsgettoolbox_documentation: https://timcera.bitbucket.io/tsgettoolbox/docs/index.html#tsgettoolbox-documentation
.. _tsgettoolbox_api: https://timcera.bitbucket.io/tsgettoolbox/docs/function_summary.html
.. _tsgettoolbox_cli: https://timcera.bitbucket.io/tsgettoolbox/docs/command_line.html

Owner

  • Name: Tim Cera
  • Login: timcera
  • Kind: user

Florida Professional Engineer working in water resources. I program to support data analysis and model simulations.

GitHub Events

Total
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 22
  • Pull request event: 1
  • Pull request review comment event: 1
  • Create event: 2
Last Year
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 22
  • Pull request event: 1
  • Pull request review comment event: 1
  • Create event: 2

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 454
  • Total Committers: 8
  • Avg Commits per committer: 56.75
  • Development Distribution Score (DDS): 0.057
Past Year
  • Commits: 15
  • Committers: 1
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tim Cera t****m@c****t 428
deepsource-autofix[bot] 6****] 11
DeepSource Bot b****t@d****o 7
Timothy Cera t****a@n****v 4
Taher Chegini t****i@g****m 1
snyk-bot s****t@s****o 1
sourcery-ai[bot] 5****] 1
tbongiov 1****v 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 12
  • Total pull requests: 19
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 6 days
  • Total issue authors: 4
  • Total pull request authors: 7
  • Average comments per issue: 1.67
  • Average comments per pull request: 1.32
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 14
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 20 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • timcera (6)
  • mishranurag (4)
  • fischhoff (1)
  • tbongiov (1)
Pull Request Authors
  • deepsource-autofix[bot] (11)
  • snyk-bot (2)
  • sourcery-ai[bot] (2)
  • tbongiov (1)
  • timcera (1)
  • dependabot[bot] (1)
  • cheginit (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1) github_actions (1)

Dependencies

pip_requirements.txt pypi
  • pandas >=0.17.1
  • pygments >=2.7.4
  • sphinx >=3.0.4
  • sphinxcontrib-programoutput *
  • wheel *
setup.py pypi
  • For *
  • List *
  • appdirs *
  • async_retriever *
  • beautifulsoup4 *
  • cdo-api-py *
  • cdo_api_py *
  • cftime *
  • geojson *
  • haversine *
  • http *
  • isodate *
  • lxml *
  • mechanize *
  • pydap *
  • pydaymet *
  • requests *
  • siphon *
  • suds-community *
  • tstoolbox *
  • zeep *
.github/workflows/clean-workflow-runs.yml actions
  • dmvict/clean-workflow-runs v1.0.0 composite
.github/workflows/python-package.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite