https://github.com/lsst-dm/legacy-dax_imgserv
Web Interface for LSST Image Services
https://github.com/lsst-dm/legacy-dax_imgserv
Last synced: 19 days ago
JSON representation
Web Interface for LSST Image Services
- Host: GitHub
- URL: https://github.com/lsst-dm/legacy-dax_imgserv
- Owner: lsst-dm
- License: gpl-3.0
- Created: 2015-02-03T22:50:07.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T19:19:21.000Z (over 3 years ago)
- Last Synced: 2024-04-17T06:17:33.603Z (about 1 year ago)
- Language: Python
- Homepage: http://dm.lsst.org/
- Size: 22.9 MB
- Stars: 1
- Watchers: 45
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
# Useful link:
http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask# Get code from GitHub
git clone https://github.com/lsst/dax_imgserv.git
cd dax_imgserv# Install the requirements
pip install -r requirements.txt# To run some quick tests:
# run the server
python bin/imageServer.py# and fetch the urls:
http://127.0.0.1:5000/api/image/soda/availability
http://127.0.0.1:5000/api/image/soda/capabilities
http://127.0.0.1:5000/api/image/soda/examples
http://127.0.0.1:5000/api/image/soda/sync?ID=ci_hsc_gen3.calexp.r&POS=CIRCLE+320.94+-0.289128+0.01
http://127.0.0.1:5000/api/image/soda/sync?ID=ci_hsc_gen3.calexp.r&POS=RANGE+320.94+321.04+-0.289128+-0.279128
http://127.0.0.1:5000/api/image/soda/sync?ID=ci_hsc_gen3.calexp.r&POS=POLYGON+320.94+-0.289128+320.95+-0.279128+320.96+-0.289128
http://127.0.0.1:5000/api/image/soda/sync?ID=ci_hsc_gen3.calexp.r&POS=BBOX+320.94+-0.289128+0.01+0.01