Skip to main content

A simple package from getting data from the national river flow archive.

Project description

nrfapy

A collection of tools for exploring the national river flow archive https://nrfa.ceh.ac.uk/.

Features

  • Gets national river flow archive datasets and loads them into pandas dataframes

  • Explanation of the dataset is here: https://nrfa.ceh.ac.uk/

History

0.1 (2024-01-20)

  • Initial coding by Simon Moulds, packaged by Simon Mudd

  • Initial release on pypi

  • Then Simon Mudd had to delete the release because he was calling it NFRA instead of NRFA, mainly because nfrapy sounds a bit like frappuchino and that suggests a clever logo. Simon Moulds had to point out to the disappointed Muddpile that this was the wrong acronym.

  • Basic functionality: simply calls the NRFA API and gets time series data

  • A command line script is included: nrfa_get_ts

0.2 (2024-02-01)

  • Update so that the time column is always parsed as a datetime (S Moulds)

  • Added flag that allows the time to be used as an index, which is useful for some dataframe operations (D Golberg)

  • Added an option to feed the timeseries function a list of strings that all fetching then concatenaiton of different timeseries (D Goldberg)

0.3 (2024-02-02)

  • Added some code to make sure the package works on pandas versions < 2.0.0 (SMM)

0.4 (2024-02-02)

  • For utterly crazy reasons, I need to make this package resiliant against cases where the pandas version using .__version__ is different than that from pkg_resources

0.5 (2024-02-23)

  • pandas concat in get_ts() needs to be called with the axis kwarg set to 1, otherwise strange behavior

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrfapy-0.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

nrfapy-0.5-py2.py3-none-any.whl (7.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nrfapy-0.5.tar.gz.

File metadata

  • Download URL: nrfapy-0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for nrfapy-0.5.tar.gz
Algorithm Hash digest
SHA256 7de983879ca115bea948ac8b29227805db1439d935f4c439907e3831d334ecb3
MD5 75b7d251e978db25c96c44bf175e6bc5
BLAKE2b-256 252ec84799bf196dd9b5f5667532b70a6efe4c052e1c906746a43348cbce86bd

See more details on using hashes here.

File details

Details for the file nrfapy-0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: nrfapy-0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for nrfapy-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc1c94bf7d7c55ace214e39bc6e3caac5dc6234fc9813f2376f6628074f2fd17
MD5 d061d1ca812c5cd3990c038ebd5feb52
BLAKE2b-256 3110d1984fcad619a78af0bb075e4633eaf78b183c7efac3a70fb6021c592d93

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page