Utility classes for working with the LSST EFD.
Project description
LSST EFD Client
Utility classes for working with the LSST EFD.
Free software: MIT license
Features
The client EfdClient, has several useful functions.
get_topics: Return the topics in the EFD.
get_fields: Return the fields in a particular topic
build_time_range_query: Build an InfluxQL query for a topic and time range
select_time_series: Return a DataFrame containing results of a time range query
select_packed_time_series: Return a DataFrame with high cadence telemetry expanded into a single DataFrame.
select_top_n: Return a DataFrame with the results of just the most recent rows.
There are also some utilities for dealing with results of queries
merge_packed_time_series: Takes a dataframe with records that have multiple samples per entry and returns a dataframe with one record per sample.
rendezvous_dataframes: Extend on dataframe with data from another dataframe using the closest record in time in the past, in the future, or nearest overall.
See example notebooks here.
For more information, see the online docs.
CONTRIBUTING
For information on contributing to this project see this page.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-12-23)
First release on PyPI.
0.2.0 (2019-01-15)
Minimal functionality in place.
Docstrings complete.
0.3.0 (2019-01-31)
Unit tests added.
0.4.0 (2019-01-31)
Very minor doc updates.
Accidently pushed minor version when patch was meant.
0.5.0 (2020-05-29)
Switch to the segwarides based credentials.
0.6.0 (2021-02-11)
Fix bug in listing possible endpoints
Add some utility functionality and speed up unpacking packed time series (thank you RHL)
0.6.4 (2021-02-15)
Fix a regression that causes an exception when the name of one column is the same as the start of the name of another column
Add a test for the regression
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lsst-efd-client-0.6.4.tar.gz
.
File metadata
- Download URL: lsst-efd-client-0.6.4.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6650ff920948a00a56cfea18741babf8987bc756a78a268073aff7f30a0caf28 |
|
MD5 | 7c76a4fa1e893dd3baea5f0bdf831e95 |
|
BLAKE2b-256 | fc419a76b9378c005cf71df155dba934dcfafd1e9b119e2467847c3ef1cf7164 |
File details
Details for the file lsst_efd_client-0.6.4-py2.py3-none-any.whl
.
File metadata
- Download URL: lsst_efd_client-0.6.4-py2.py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6ec8fb349bd4b12438a18e14481e1fd3763aaec0e5bdd4301e04ab56822ca4d |
|
MD5 | 66cac3ce9d38e99eb527886ffffc5f80 |
|
BLAKE2b-256 | 84b86ec69d9df648bf242f6bae33a578c3be67ea89afc902511a4ef024307be2 |