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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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