Skip to main content

A library of tools for SDSS telescope operations.

Project description

ObserverTools

This is a home for Python 3 tools which came from the sdss-hub:~/bin directory. It is designed primarily for SDSS-V usage. Individual file documentation will be on confluence at https://wiki.sdss.org/display/APO/Observing+Scripts.

Moderators

Dylan Gatlin, Dmitry Bizyaev

Authors

In addition to the moderators who maintain this repo, scripts were written by the following authors: Elena Malanushenko, Jon Brinkmann, Viktor Malanushenko, Kaike Pan, Stephen Bailey, Bernie

Installation

For observers at on their personal laptops, they can install these scripts via pip install sdss-obstools. The pip page can be found here. This will install the scripts in your current pip environment. To run, you must have proper tunnels to Influx/sdss5 servers.

Structure

Files that were once under sdss-hub:~/bin are now under old_bin, and Python 3 scripts are now under bin. Any non-user tools are stored under python. All user tools have tests.

Code Guidelines

All scripts designed for users should follow the SDSS Coding Standards, include a main function, and use argparse if arguments are needed. Prefer pathlib and fitsio. Scripts should try to be runnable on sdss-hub if possible. Anything in old_bin will be left there, but they are intended primarily for reference and you should avoid using them.

If a script is moved to bin, it should have a test file in tests that will run it in a few ways that we will likely use it during normal observing. Tests are critical for us maintaining code dependability.

TODO

Python

The best way of installing all dependencies is to create an pyenv environment. This project is usually tested on Python 3.9. All the requirements can be found in requirements.txt

Ubuntu

These libraries were needed on Ubuntu 20.04

sudo apt install libxt-dev libbz2-dev saods9 xpa-tools

License

ObserverTools is licensed under a 3-clause BSD style license - see the LICENSE.md file.

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

sdss-obstools-3.8.1.tar.gz (1.7 MB view details)

Uploaded Source

File details

Details for the file sdss-obstools-3.8.1.tar.gz.

File metadata

  • Download URL: sdss-obstools-3.8.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.50.2 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for sdss-obstools-3.8.1.tar.gz
Algorithm Hash digest
SHA256 913b38d9fe244a2fdd9336578a9a91df05968849cafaa4e88853a7d7fb05256d
MD5 a513328b28858edbc7502bfe05c656a7
BLAKE2b-256 8c148dc3e6173334c99afa118c69f5a1bdb3d89f2adef66c7c124ddb2b9adf21

See more details on using hashes here.

Supported by

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