pndaly / ARTN-ORP

Arizona Robotic Telescope Network Observation Request Portal
0 stars 1 forks source link

Table upload of targets with specified format #6

Open dsand opened 2 years ago

dsand commented 2 years ago

we use to have this capability, I think, but apparently it does not work anymore.
We should be able to upload a file list of targets, with filters, exposure times, etc to AORP.

pndaly commented 2 years ago

OK, be warned that you are not going to like this answer and I shall, probably, end up being unpopular but don't shoot the messenger:

Fixing this is a lot of work if you want the file upload to work with ObsReq2.

The simplest solution is to add 2 new route(s) / buttons to "View Legacy Request(s)" and "View All Legacy Request(s)". How that works with the scheduler, though, is a mystery to me.

dsand commented 2 years ago

I don't mind the answer. I know this worked at one point.
We can assign this to @swyatt7, he specifically asked for 'real world' fixes that need to be done. We made a list. This is definitely functionality we want.

A similar use case will occur of gravitational wave follow-up, where there will be ~50-100 galaxy targets we want to upload immediately. its worth asking right now how we want to do that.

dsand commented 2 years ago

From @swyatt7 on May 19 on slack channel:

I’ve also spent a lot of effort further testing the file uploading which is on production now here it only accepts JSON files and the specified format on that webpage.

dsand commented 2 years ago

We should test this new functionality during the next run.