Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esheldon/desmeds
code specific to des MEDS production
https://github.com/esheldon/desmeds
Last synced: 11 days ago
JSON representation
code specific to des MEDS production
- Host: GitHub
- URL: https://github.com/esheldon/desmeds
- Owner: esheldon
- License: gpl-3.0
- Created: 2015-04-15T19:42:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T18:46:23.000Z (about 1 year ago)
- Last Synced: 2024-10-19T20:51:00.800Z (19 days ago)
- Language: Python
- Size: 345 KB
- Stars: 1
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# desmeds
[![tests](https://github.com/esheldon/desmeds/actions/workflows/tests.yml/badge.svg)](https://github.com/esheldon/desmeds/actions/workflows/tests.yml)code specific to des MEDS production
## generating a single MEDS file
```bash
# A meds file can be generated using a single script
desmeds-make-meds medsconf coadd_run band# a worked example
medsconf="tb-y1a1-v01d"
coadd_run="20141105000042_DES0347-5540"
band="z"
desmeds-make-meds $medsconf $coadd_run $band# You can also first make a "stubby" meds, holding information
# required to run the MEDSMaker. This is useful because creating
# the inputs requires network and db access, but creating the
# final file does not
desmeds-make-stubby-meds medsconf coadd_run band# now make the full meds, taking inputs from the stubby MEDS.
# this call does not require db access
desmeds-make-meds --from-stubby medsconf coadd_run band
```## Example meds configuration files
For example meds config files, see https://github.com/esheldon/desmeds-config
An example testbed is `medstb-y1a1-v01d.yaml`. Note you need the environment variable
`DESMEDS_CONFIG_DIR` set to point to the location of the config files.## generating scripts to make MEDS files for a DESDM release
```bash
desmeds-gen-all-release medsconf
```
The above generates all the [wq](https://github.com/esheldon/wq) submit scripts.
The `wq` submit scripts call `desmeds-make-meds`## installation
```bash
python setup.py install
python setup.py install --prefix=/some/path
```## requirements
* [meds](https://github.com/esheldon/meds) (version >= 0.9.0)
* [desdb](https://github.com/esheldon/desdb) (version >= 0.9.0)
* [fitsio](https://github.com/esheldon/fitsio) (use git master for now)
* [esutil](https://github.com/esheldon/esutil) (version >= 0.5.3)
* The `$DESDATA` environment variable should point to the
root of the des data on your system
* The `$DESMEDS_CONFIG_DIR` environment variable should point to the location of the config files