package for retrieving GOES DCS message data from LRGS servers.
Project description
Introduction
The dcpmessage package is a Python library designed for retrieving GOES DCS message data from LRGS servers. Initially
developed for deployment as an AWS Lambda function, its primary purpose is to execute periodic data retrieval for
specified Data Collection Platforms (DCPs). The decoding, processing, or archiving the received DCP messages should
be handled by other processes as this tool is intended only for retrieving the messages.
Installation
Download the latest .tar.gz from releases page and install it using pip
pip install dcpmessage-#.#.#.tar.gz
Usage
from dcpmessage import DcpMessage
msg = DcpMessage.get(username="<USERNAME>",
password="<PASSWORD>",
search_criteria="<PATH TO SEARCH CRITERIA>",
host="<HOST>",
)
print("\n".join(msg))
Search Criteria
Path to Search Criteria file should be passed when getting dcp messages. Search Criteria file should be json. An
example is provided below.
{
"DRS_SINCE": "now - 1 hour",
"DRS_UNTIL": "now",
"SOURCE": [
"GOES_SELFTIMED",
"GOES_RANDOM"
],
"DCP_ADDRESS": [
"address1",
"address2"
]
}
- NOTE THAT, only following keywords are supported by
dcpmessageat this point:DRS_SINCE: stringDRS_UNTIL: stringSOURCE(can beGOES_SELFTIMEDorGOES_RANDOM, or both) : list of stringsDCP_ADDRESS(can add multiple dcp addresses): list of strings
- All other keywords will be ignored.
- For more information about search criteria, check opendcs docs.
Contributors
- Manoj Kotteda
- Darshan Baral
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcpmessage-1.2.2.tar.gz.
File metadata
- Download URL: dcpmessage-1.2.2.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fdbd6390275ef8c16349f348417a24293f4ee07cfda3130471580bc254ab71b
|
|
| MD5 |
4b4dec8a31297ebdf980187e2a6f1d87
|
|
| BLAKE2b-256 |
5dccc454581367a5d52a0c215506608e3b98652127b42f6f575d8f595549beec
|
Provenance
The following attestation bundles were made for dcpmessage-1.2.2.tar.gz:
Publisher:
publish.yaml on dcspy/dcpmessage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcpmessage-1.2.2.tar.gz -
Subject digest:
7fdbd6390275ef8c16349f348417a24293f4ee07cfda3130471580bc254ab71b - Sigstore transparency entry: 191621784
- Sigstore integration time:
-
Permalink:
dcspy/dcpmessage@b409d425075e97f1ddfaf93e030fc8f860f3ceb6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dcspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@b409d425075e97f1ddfaf93e030fc8f860f3ceb6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file dcpmessage-1.2.2-py3-none-any.whl.
File metadata
- Download URL: dcpmessage-1.2.2-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40d81a3dfc4e3e277943e4abff5cf5e280cbe921686192f60c2df2d965f08bfe
|
|
| MD5 |
f2dfe274b29e52019bd291170f6f9e9d
|
|
| BLAKE2b-256 |
b2ce41b433a5838d9e4c2fddf8684df705c3b4d8bca5a5f8d8cc11e649c4c398
|
Provenance
The following attestation bundles were made for dcpmessage-1.2.2-py3-none-any.whl:
Publisher:
publish.yaml on dcspy/dcpmessage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcpmessage-1.2.2-py3-none-any.whl -
Subject digest:
40d81a3dfc4e3e277943e4abff5cf5e280cbe921686192f60c2df2d965f08bfe - Sigstore transparency entry: 191621786
- Sigstore integration time:
-
Permalink:
dcspy/dcpmessage@b409d425075e97f1ddfaf93e030fc8f860f3ceb6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dcspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@b409d425075e97f1ddfaf93e030fc8f860f3ceb6 -
Trigger Event:
workflow_dispatch
-
Statement type: