Skip to main content

Tools for working with Astrolabe data.

Project description

Astrolabe Python Library

:Version: 0.0.20 :Author: Tom Hicks

| This is a Python 3 library for curating image and data files for the Astrolabe project <>_

  • Astrolabe_py contains scripts and modules to:

    • Upload FITS files to iRods,
    • Extract metadata from FITS files and attach it to files in iRods,

Python Build using Conda

Building this software requires Python 3.6+. Assuming you have Conda installed, you can use it to build this project within a virtual environment::

git clone source activate conda create -n alpy python=3.6 conda activate alpy cd astrolabe_py pip install -r requirements.txt

Running Tests

The tests can be run manually from the test subdirectory, as follows::

cd test python python python python

Build a Docker Image

:TODO: Add this documentation.

Run the Uploader Script

To run a script::

python uploader

Uploader Script Options::

usage: uploader [-h] [-v] [-u] [--version] [--keyfile [metadata-keyfile]] images_path

FITS file metadata extraction and upload of a file or directory of files.

positional arguments: images_path path to a FITS file or a directory of FITS files to be processed

optional arguments: -h, --help show this help message and exit -v, --verbose provide more information during execution -u, --upload-only upload files to iRods only: do not process file metadata --version show program's version number and exit --keyfile [metadata-keyfile] a file specifying which metadata keys which should be processed


uploader -v myDataDirectory uploader --upload-only myImages/someImage.fits uploader --keyfile just-these-keys.txt astrofiles


The User and API documentation is written in ReStructuredText, and can be built using sphinx <>_.


Licensed under Apache License Version 2.0.

Copyright 2018 by Astrolabe Project: American Astronomical Society and the University of Arizona.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
astrolabe_py-0.0.22.tar.gz (11.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page