Skip to main content

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 dcpmessage at this point:
    • DRS_SINCE: string
    • DRS_UNTIL: string
    • SOURCE (can be GOES_SELFTIMED or GOES_RANDOM, or both) : list of strings
    • DCP_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

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

dcpmessage-1.2.2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcpmessage-1.2.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

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

Hashes for dcpmessage-1.2.2.tar.gz
Algorithm Hash digest
SHA256 7fdbd6390275ef8c16349f348417a24293f4ee07cfda3130471580bc254ab71b
MD5 4b4dec8a31297ebdf980187e2a6f1d87
BLAKE2b-256 5dccc454581367a5d52a0c215506608e3b98652127b42f6f575d8f595549beec

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcpmessage-1.2.2.tar.gz:

Publisher: publish.yaml on dcspy/dcpmessage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for dcpmessage-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40d81a3dfc4e3e277943e4abff5cf5e280cbe921686192f60c2df2d965f08bfe
MD5 f2dfe274b29e52019bd291170f6f9e9d
BLAKE2b-256 b2ce41b433a5838d9e4c2fddf8684df705c3b4d8bca5a5f8d8cc11e649c4c398

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcpmessage-1.2.2-py3-none-any.whl:

Publisher: publish.yaml on dcspy/dcpmessage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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