Giter VIP home page Giter VIP logo

atca-rapid-response-api's Introduction

atca-rapid-response-api

API to submit requests for the ATCA rapid response mode.

The Australia Telescope Compact Array has the ability to very quickly respond to requests to observe transient events. All requests need to be submitted via the web service provided by the observatory, and this API is supplied to make this process easy.

As much of the code that transient astronomers use to receive, parse and react to events is written in Python, the Python library is recommended. The library functions may be made available in other languages if there is sufficient demand.

atca-rapid-response-api's People

Contributors

ste616 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

atca-rapid-response-api's Issues

Suggested enhancement: schedule altered for observations of bandpass calibrator

The current rapid-response mode back-end alters the incoming schedule file by adding a scan of a flux density calibrator at an opportune time but not a bandpass calibrator. While this is not a problem at 4cm, in the future I would like to try triggering with the 15 mm receiver but in this band 1934 is not suitable for bandpass calibration. Could the schedule file editing code please be updated to also include a bandpass calibrator scan to be added at an opportune time for observation bands where 1934 is not bright enough?

Fix crashing bug

I think, because the JSON request had just been renamed, due to the source setting, the code got confused and crashed. Error message follows:

`Checking...

starting to run!

Traceback (most recent call last):

File "rapid_response_actioner.py", line 1017, in
atca, sched, logFile)

File "rapid_response_actioner.py", line 301, in checkOverride
monica.updatePoints()

File "/n/ste616/usr/src/atca-rapid-response/webserver/env/lib/python2.7/site-packages/cabb_scheduler/monica_information.py", line 107, in updatePoints

response = self.__comms(data)

File "/n/ste616/usr/src/atca-rapid-response/webserver/env/lib/python2.7/site-packages/cabb_scheduler/monica_information.py", line 101, in __comms

return json.loads(postResponse.text)

File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)

File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.