-
Notifications
You must be signed in to change notification settings - Fork 42
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
Images are sometimes not correctly centered #219
Comments
Is there other examples of sources/objects whose coordinates are not centered ? If so can you can the list of non matching coordinates ? |
This issue happened during the validation around of 4000 objets, and I cannot provide a full list because it would mean to inspect again every object one by one. But if there is a more recent stable versions, I can ask the users to make a test. |
We did more checks on our side.
|
An other user saw the issue on mac. So it is not related to linux as suggested above.
I had not offsets problem with Safari on:
|
Is there an open ticket about this? I did not find it Edit: #225 |
I think this issue could be linked to #193 |
I was able to reproduce it I think with the position 270.334079 66.730469. It seems the radec2xyz on single precision float adds that offset for lat that tends towards the poles. I now perform it on double and it looks centered on my configuration. |
Some users of the Jafar website have noticed that some objects are not correctly centered. It is like as if a vertical offset was applied. But this offset is not systematic and not constant : sometimes the centering is ok, sometimes it is not.
Also this issue does not happen for Mac users, it seems to happen only for Linux users (to be confirmed). Which means it is very difficult to reproduce...
Here is an example of badly centered object. The dwarf galaxy is correctly centered for users using macbookpro.
The resolution of the screen showing this issue is 1920x1200.
The coordinates of this objet are :
269.53707, 66.192977
But the object located at 272.192917, 65.969009 is correctly centered.
The jafar website is currently using https://aladin.cds.unistra.fr/AladinLite/api/v3/3.4.5/aladin.js.
In terms of javascript code, I am just doing this:
aladin.setFoV(fov);
aladin.gotoRaDec(ra, dec);
I checked that the fov and ra/dev values are correct and that the values transmitted to aladin are the same for the different users. So it is not a truncated value issue at my level.
We have tested different coordinates systems, different zoom values, different projections, but it does not help.
We also tested different versions of aladin. Version 3.3.2 is working but 3.4.2-beta already shows the issue. So a modification between those 2 versions seems to be cause of the problem.
The text was updated successfully, but these errors were encountered: