nrfapy
A collection of tools for exploring the national river flow archive https://nrfa.ceh.ac.uk/.
Free software: MIT license
Documentation: https://nrfapy.readthedocs.io.
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
Metadata
Release files for nrfapy 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nrfapy-0.5.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrfapy-0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / nrfapy-0.5.tar.gz
| Download URL | nrfapy-0.5.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7de983879ca115bea948ac8b29227805db1439d935f4c439907e3831d334ecb3
|
|
BLAKE2b-256 checksum How to use checksums |
252ec84799bf196dd9b5f5667532b70a6efe4c052e1c906746a43348cbce86bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / nrfapy-0.5-py2.py3-none-any.whl
| Download URL | nrfapy-0.5-py2.py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dc1c94bf7d7c55ace214e39bc6e3caac5dc6234fc9813f2376f6628074f2fd17
|
|
BLAKE2b-256 checksum How to use checksums |
3110d1984fcad619a78af0bb075e4633eaf78b183c7efac3a70fb6021c592d93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|