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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dspp_reader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d27591fe265f88232651c5d2c91204f0f69115a6d7656fa1b27dfdd9eca56e9c
MD5 7edd73b117131f9d62f32c847d6134d9
BLAKE2b-256 47175d8f4e2dafd8eaee8f5e0a58b07a268e248789b10bd62f094f6b3639d5ba

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for dspp_reader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdf1d508527c4d89ba85b994ef8ae4d19c55a60341027ed81f5f76bc5b4d531f
MD5 f76ab16c503fed5103c8764383ac8d7a
BLAKE2b-256 38f43b259497ea5a055088650568920174ea3b2d418d8836250a8cae5b40cdef

See more details on using hashes here.

Provenance

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