datamodel’s documentation¶
This is the documentation for the SDSS Python product datamodel. The current version is 0.6.1dev. You can install the package by doing
$ git clone https://github.com/sdss/datamodel
$ cd datamodel
$ pip install -e .
The above pip command installs a lightweight package for using the Python datamodel representations
only, see Navigating Datamodels. For generating or designing new datamodels, you need to install
extra dependencies with the gen
extras options, i.e.
$ pip install -e ".[gen]"
This will install all dependencies needed for generating datamodels, with support for FITS files only. Support for additional file types requires extra dependency packages to be installed.
Filetype |
Suffix |
Package |
Install Command |
---|---|---|---|
FITS |
.fits |
N/A |
|
Yanny files |
.par |
“.[gen, par]” |
|
HDF5 files |
.h5 |
“.[gen, hdf]” |
To install all extra file dependencies, run pip install -e ".[all]"
during the installation process.
The sdss datamodel
product is a python package for creating, validating, and navigating
datamodels for SDSS data products.
Examples