Wrong time axis on Liverpool Telescope observability plots
JTerwel opened this issue · 6 comments
Description
The observability plot for the Liverpool Telescope lists the wrong times
To Reproduce
Steps to reproduce the behavior:
- Go to https://fritz.science/observability/ZTF22abqxkhd or another object
- Select Liverpool Telescope & Nordic Optical Telescope
- Note the differing x-axis while the rest is the same
Expected behavior
As the Liverpool Telescope & Nordic Optical Telescope are both on Roque de los Muchachos de La Palma, both plots should be the same. As the sun does not set at 5PM in this time of the year (mid November), it is the Liverpool Telescope whose x-axis is off. Below is a screenshot with an example.
Platform information:
- Fritz version: v0.9.dev0+git20221116.21fa0401+fritz.bffbd60.
- Interface
- I am browsing on a desktop
@JTerwel It looks like LT was put in the wrong place originally. https://fritz.science/telescopes Maybe you @JTerwel or Dan could use the patch API to change the latitude and longitude?
Sorry, I'm not sure how to do that unfortunately.
But from looking at the telescope placements, the WHT and INT have the same issue: a minus sign is missing in the longitude.
@JTerwel
https://www.youtube.com/watch?v=3qnCT0orKiI&list=PLCRsMmFfImh3SJJOEU8SI2sWrKbV6BnDJ&index=7&ab_channel=SkyPortalAstronomy
The telescope PUT API is here:
https://github.com/skyportal/skyportal/blob/main/skyportal/handlers/api/telescope.py#L221
and the example is here:
https://github.com/skyportal/skyportal/blob/main/skyportal/tests/api/test_telescope.py#L132
I have tried to change the longitude, but keep getting an authorisation error. What ACL should my token have to be able to do this?
I have Annotate, Classify, Comment, and Upload data. I can make another with Manage observing runs and Run Analyses, but none of these, but I'd have to delete my current one first so I'd like to confirm if this would solve the authorisation access issue first.
Issue has been fixed. The LT, INT, and WHT are all in their correct location on La Palma