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>

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
delay_between_reads: 30
read_always: 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
save_logs_to: logs

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
delay_between_reads: 30
read_always: 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
save_logs_to: logs

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.5.0.tar.gz (24.3 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.5.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dspp_reader-0.5.0.tar.gz
  • Upload date:
  • Size: 24.3 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.5.0.tar.gz
Algorithm Hash digest
SHA256 60e2c566b20119473647fd02402b7e0f0aae7eb98bcc0ab627bdff4187f66687
MD5 56a121c22f49910c27705e473097bd62
BLAKE2b-256 27cf0faf1d32f2c0a63aa22f76a856410ac111bf570294d4b98673e9a5a8752d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspp_reader-0.5.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.5.0-py3-none-any.whl.

File metadata

  • Download URL: dspp_reader-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cda43132aab90c0f35a071532e231a8d97f2ec1535bea2e0582e7ec8953692c
MD5 8540d727addbf3007252d74b2a7d391c
BLAKE2b-256 383b7edea74a9186f9f51bb1fadf0b6eabc7278e5b1feea1d8a0674986c9226f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspp_reader-0.5.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