CoCoRaHS-Download-Tool
Tool to download CoCoRaHS data.
Requirements
Python >= 2.6
Installation
To get started using CoCoRaHS-Download-Tool simply install it with pip:
$ pip install CoCoRaHS-Download-Tool
Or, use pip locally with the .tar.gz distribution file:
$ pip install CoCoRaHS-Download-Tool-0.0.2.tar.gz
Usage
The CoCoRaHS-Download-Tool tool has two modes of operation, listing of CoCoRaHS station metadata, and listing of CoCoRaHS station data.
Stations Metadata
To list CoCoRaHS stations metadata for the default state (NM) the following command is issued:
$ python -m cocorahs_dlt stations
To save the output of this operation, run:
$ python -m cocorahs_dlt stations > stations.csv
To download and save CoCoRaHS stations metadata for a different state (specified by the two-character state code), the following command is issued:
$ python -m cocorahs_dlt --state CO stations > stations.csv
Stations Data
To list CoCoRaHS stations data for the default state (NM), the default date range (last three days), and the default output (CSV) the following command is issued:
$ python -m cocorahs_dlt data
To save the output of this operation, run:
$ python -m cocorahs_dlt data > data.csv
To download and save CoCoRaHS stations data for a different state (specified by the two-character state code), the following command is issued:
$ python -m cocorahs_dlt --state CO data > data.csv
To download and save CoCoRaHS stations data for a different state (specified by the two-character state code) and in a different output format, the following command is issued:
$ python -m cocorahs_dlt --state CO data --format XML > data.xml
To download and save CoCoRaHS stations data for a different state (specified by the two-character state code) in a different output format, and with volunteer comments, the following command is issued:
$ python -m cocorahs_dlt --state CO data --format XML --comments > data.xml
To download and save CoCoRaHS stations data for a different state (specified by the two-character state code) in a different output format, with volunteer comments, and for a different date range, the following command is issued:
$ python -m cocorahs_dlt --state CO data --format XML --comments --start_date 2014-09-13 --end_date 2014-09-21 > data.xml
To only list the data from the previous command, the > data.xml text is dropped:
$ python -m cocorahs_dlt --state CO data --format XML --comments --start_date 2014-09-13 --end_date 2014-09-21
Metadata
Release files for CoCoRaHS-Download-Tool 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| CoCoRaHS-Download-Tool-0.0.3.tar.gz | 5.0 kB | Without provenance | Details for CoCoRaHS-Download-Tool-0.0.3.tar.gz |
Release files / CoCoRaHS-Download-Tool-0.0.3.tar.gz
| Download URL | CoCoRaHS-Download-Tool-0.0.3.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0f6ade82d86c0ff14b041cdae8e5b0569a06b64c22310da3232cb25eb7c605e
|
|
BLAKE2b-256 checksum How to use checksums |
8bf7c2db71d71800b03b75e0f87d465103f0681ba50f7d491eed349174557e75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for CoCoRaHS-Download-Tool 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.