Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AladinLite render of superimposed host and transient offset in Intel Macs vs Arm Macs #233

Open
genghisken opened this issue Dec 14, 2024 · 4 comments
Assignees

Comments

@genghisken
Copy link
Collaborator

This is a very odd error (highlighted by Michael).

See this transient:
https://lasair-ztf.lsst.ac.uk/objects/ZTF24abvyngn/

On an Arm Mac, the context map renders (correctly) like this:
image

But on an Intel Mac, the context map renders (incorrectly) like this:
image

The host and transient are offset north. In actuality, the underlying image render is forced south on Intel Macs.
Same error for both Chrome and Safari. Both render correctly in Arm, incorrectly in Intel, so the problem is in the Javascript I think!

@RoyWilliams
Copy link
Contributor

I copied an example from the aladin pages
https://static.lasair.lsst.ac.uk/ztf/BBBimages/aladin.html
and it looks good on my Apple M1 laptop.
Who has an Intel-chip Mac to try this?

@genghisken
Copy link
Collaborator Author

I checked both Intel and Arm Macs. Both render the Pleiades superimposed stars correctly (in Chrome and Firefox). So something about the way we display markers is doing something odd. The Lasair web code renders the latest version of AladinLite, so it's possible that there's a bug in the latest version which is triggered by the way we display markers. Note that the problem does NOT exist (e.g.) the ATLAS and Pan-STARRS pages for the equivalent object (where I burn in the version of AladinLite).

@genghisken
Copy link
Collaborator Author

Incidentally - @RoyWilliams what did you do to make the "stack" problem go away on the lasair-lsst-dev web pages AladinLite?

@RoyWilliams
Copy link
Contributor

Wrote to the developers. They updated the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants