Skip to main content

Software for reading SQMs and TESS-W4C devices, used for measuring sky brightness.

Project description

Dark Sky Protection Photometers Reader

Upload Python Package Documentation Status PyPI - Version

Overview

This package implements two console scripts read-sqmle and read-tessw4c

Those scripts implement very similar arguments. use --help to get a list of usable arguments

The recommended way to make it work is through a configuration file, in order to create a configuration file use --config-file-example and to use an existing configuration file use --config-file <path-to-file.yaml>

Examples are not included here because this is a very early state of development.

Configuration file example

[!NOTE] This is not updated automatically, so always rely on --config-file-example

For TESS-W4C devices

site_id: ctio
site_name: Cerro Tololo
site_latitude: -30.169166
site_longitude: -70.804
site_elevation: 2174
site_timezone: America/Santiago
sun_altitude: -10
device_type: tess-w4c
device_id: stars1823
device_altitude: 45
device_azimuth: 0
device_ip: 0.0.0.0
device_port: 32
use_udp: false
udp_bind_ip: 0.0.0.0
udp_port: 2255
read_all_the_time: false
save_to_file: true
save_to_database: false
post_to_api: false
save_files_to: /path/to/where/to/save/the/data
api_endpoint: http://<hostname>/api/tess-w4c
api_token: <get-an-appropriate-api-token>
file_format: tsv

For SQM-LE devices

site_id: ctio
site_name: Cerro Tololo
site_latitude: -30.169166
site_longitude: -70.804
site_elevation: 2174
site_timezone: America/Santiago
sun_altitude: -10
device_type: sqm-le
device_id: '1823'
device_altitude: 45
device_azimuth: 0
device_ip: 0.0.0.0
device_port: 10001
device_window_correction: -0.11
number_of_reads: 5
reads_frequency: 30
read_all_the_time: false
save_to_file: true
save_to_database: false
post_to_api: false
save_files_to:  /path/to/where/to/save/the/data
api_endpoint: http://<hostname>/api/sqm-le
api_token: <get-an-appropriate-api-token>
file_format: tsv

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

dspp_reader-0.4.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

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

dspp_reader-0.4.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file dspp_reader-0.4.0.tar.gz.

File metadata

  • Download URL: dspp_reader-0.4.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dspp_reader-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9ba11f8b9b385090038b85972619b1f89035939a88bbf018e6f507e945e7d222
MD5 446187cfd6a3ebde5675540299573c83
BLAKE2b-256 3dcbe8ffa7610536f60a8d5cbba293c58a41ade413d7b04e5dc629573b200e58

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspp_reader-0.4.0.tar.gz:

Publisher: python-publish.yml on dark-sky-protection/dspp_reader

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

File details

Details for the file dspp_reader-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: dspp_reader-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dspp_reader-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2b19b57cf9d181ed9fb512b38a31ca307a50257c71f96bc4f03da6b5311b82
MD5 c7c2519f9fa44a097d26fe75b1e01849
BLAKE2b-256 6ca8bcdd626e5a05ce221c6aa5f11846302cde8d38f42fd0be9767081e799fdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspp_reader-0.4.0-py3-none-any.whl:

Publisher: python-publish.yml on dark-sky-protection/dspp_reader

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