Updating local copy of astrometry.net

111 views
Skip to first unread message

Astro Keith

unread,
Nov 1, 2023, 6:02:30 AM11/1/23
to astrometry
I've been struggling with compatibility issues on my Raspberry Pi builds.

Bookworm OS seems to be best avoided for now. Too many issues. However will be needed eventually for the new Pi5 hardware.
Beware of the latest numpy, ver 1.26. It's not backwards compatible. v1.24.0 seems good.

I want to update the astrometry.net version (currently I'm on 0.90 ) on my Pi. Is there a straightforward way. (I installed using sudo make, sudo make py, sudo make extra, sudo make install)

TIA Keith

Dustin Lang

unread,
Nov 1, 2023, 11:20:48 AM11/1/23
to astrometry
Hi,

If you're getting errors compiling the astrometry.net code, please go ahead and post them.  As far as I know, it should build fine on any typical Linux machine.  I just tested Ubuntu 23.10 and numpy 1.26.1 and it worked.

cheers,
dustin

Dustin Lang

unread,
Nov 1, 2023, 11:21:26 AM11/1/23
to astrometry
oh, and to your question, there isn't an 'uninstall' command, so to upgrade you can just `make install` over top of the existing version.

Astro Keith

unread,
Nov 2, 2023, 4:02:10 AM11/2/23
to astrometry
Thanks Dustin.
I've been using 0.90 so far. Great.
I updated to 0.94 last night. Works, except for one thing. Previously I was using the fact that in the solve result any bright stars in the field would be listed. In 0.94 this seems to have gone. I went back to 0.90 and it reappeared.
So can I get the equivalent result in 0.94?

What I am doing is during telescope to finder camera alignment calibration, the main scope is pointed accurately at a bright star, and then the next solve reports the name of the brightest star found and its offset is saved for future reports of scope RA & Dec.

TIA
Keith

Dustin Lang

unread,
Nov 2, 2023, 8:57:54 AM11/2/23
to Astro Keith, astrometry
Hi Keith,

I looked through the source code but I don't see any changes between 0.90 and 0.94 that would result in different sets of objects being labelled.  Are you building from source or using Debian packages?

If you can send an example image or xylist, that might help track this down.

cheers,
dustin

--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astrometry/e334ca8c-519d-4c0a-9c45-fa3c4d60b399n%40googlegroups.com.

andreas....@gmail.com

unread,
May 6, 2024, 4:42:18 PMMay 6
to astrometry
Hi all,

I don't get my local raspberry pi 5 with bookworm 32bit to solve an image, even though nova can[0].
Is there something else still "to be avoided" with the current raspbian and astrometry.net?


I got astrometry.net to run well on my pi 4 and previous raspbian versions. I installed astrometry and the 4100er indices as before but it cannot make it solve the linked image [0] and also other images I know to be solvable within seconds from the previous raspbians.

solve-field --version says 0.93
I do not see any errors when it is running through all the indices. It just does not find a solution and finishes.

Maybe I miss something obvious and you can help :).

Best regards,

Andreas

Dustin Lang

unread,
May 6, 2024, 4:54:24 PMMay 6
to andreas....@gmail.com, astrometry
What's the full solve-field command-line arg you are using, and what are the full logs it prints out?

You probably want  "--downsample 2", that's what the web service does.

cheers,
dustin


--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.

Astro Keith

unread,
May 6, 2024, 5:00:47 PMMay 6
to astrometry
Hi Andreas,
I'm now running astrometry.net on a Pi5 64 bit Bookworm/Debian 12 with no problems. It's about x3 faster than the Pi4.
I found that I had to install libnetpbm11-dev instead of libnetpbm10-dev

Some of the dependencies (pip ones)  had to be install in a the virtual environment , others (apt-get) not.

andreas....@gmail.com

unread,
May 9, 2024, 5:21:48 AMMay 9
to astrometry
Hi Dustin,

I used this cmd before and it did not work...
solve-field -u degw --crpix-center --tag-all --overwrite Stacked_screenshot_05.05.2024_2.png

When I use the --downsample 2 then it works. It gets a Ra/Dec solution, but it does not solve it. There is no final print of the solution and the .solution file is not stored, which it does both with other images.

What interests me is why the nova solution tells me it solved it. Does this mean as long as there is a .wcs stored, even though it misses the .solution file, nova says it was solved?
When checking nova, it does stop sooner. My run tries longer with more field objects being tested.

Best regards, Andreas

## here my raspberry pi 5 terminal printout ##

pi@ raspberrypi:~/Desktop $ solve-field --downsample 2 -u degw --crpix-center --tag-all --overwrite Stacked_screenshot_05.05.2024_2.png
Reading input file 1 of 1: "Stacked_screenshot_05.05.2024_2.png"...
Read file stdin: 841 x 636 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 325 sources.
Solving...
Reading file "./Stacked_screenshot_05.05.2024_2.axy"...
Field 1 did not solve (index index-4119.fits, field objects 1-10).
Field 1 did not solve (index index-4118.fits, field objects 1-10).
Field 1 did not solve (index index-4117.fits, field objects 1-10).
Field 1 did not solve (index index-4116.fits, field objects 1-10).
Field 1 did not solve (index index-4115.fits, field objects 1-10).
Field 1 did not solve (index index-4114.fits, field objects 1-10).
Field 1 did not solve (index index-4113.fits, field objects 1-10).
Field 1 did not solve (index index-4112.fits, field objects 1-10).
  log-odds ratio 23.1436 (1.12493e+10), 8 match, 0 conflict, 9 distractors, 41 index.
  RA,Dec = (258.881,13.9338), pixel scale 208.214 arcsec/pix.
  Hit/miss:   Hit/miss: -++----+-+--++-++(best)------------------------------------------------------------+----------------------
Field 1 did not solve (index index-4119.fits, field objects 11-20).
  log-odds ratio 3.89385 (49.0997), 3 match, 0 conflict, 10 distractors, 41 index.
  RA,Dec = (258.881,13.9338), pixel scale 206.377 arcsec/pix.
Field 1 did not solve (index index-4118.fits, field objects 11-20).
Field 1 did not solve (index index-4117.fits, field objects 11-20).
Field 1 did not solve (index index-4116.fits, field objects 11-20).
Field 1 did not solve (index index-4115.fits, field objects 11-20).
Field 1 did not solve (index index-4114.fits, field objects 11-20).
Field 1 did not solve (index index-4113.fits, field objects 11-20).
Field 1 did not solve (index index-4112.fits, field objects 11-20).
Field 1 did not solve (index index-4119.fits, field objects 21-30).
Field 1 did not solve (index index-4118.fits, field objects 21-30).
Field 1 did not solve (index index-4117.fits, field objects 21-30).
Field 1 did not solve (index index-4116.fits, field objects 21-30).
Field 1 did not solve (index index-4115.fits, field objects 21-30).
Field 1 did not solve (index index-4114.fits, field objects 21-30).
Field 1 did not solve (index index-4113.fits, field objects 21-30).
Field 1 did not solve (index index-4112.fits, field objects 21-30).
Field 1 did not solve (index index-4119.fits, field objects 31-40).
Field 1 did not solve (index index-4118.fits, field objects 31-40).
Field 1 did not solve (index index-4117.fits, field objects 31-40).
Field 1 did not solve (index index-4116.fits, field objects 31-40).
Field 1 did not solve (index index-4115.fits, field objects 31-40).
Field 1 did not solve (index index-4114.fits, field objects 31-40).
Field 1 did not solve (index index-4113.fits, field objects 31-40).
Field 1 did not solve (index index-4112.fits, field objects 31-40).
Field 1 did not solve (index index-4119.fits, field objects 41-50).
Field 1 did not solve (index index-4118.fits, field objects 41-50).
Field 1 did not solve (index index-4117.fits, field objects 41-50).
Field 1 did not solve (index index-4116.fits, field objects 41-50).
Field 1 did not solve (index index-4115.fits, field objects 41-50).
Field 1 did not solve (index index-4114.fits, field objects 41-50).
  log-odds ratio 15.3725 (4.74443e+06), 3 match, 0 conflict, 4 distractors, 18 index.
  RA,Dec = (149.933,-17.9924), pixel scale 16.8924 arcsec/pix.
  log-odds ratio 14.7134 (2.45441e+06), 4 match, 0 conflict, 5 distractors, 23 index.
  RA,Dec = (182.758,-31.4559), pixel scale 21.4494 arcsec/pix.
Field 1 did not solve (index index-4113.fits, field objects 41-50).
Field 1 did not solve (index index-4112.fits, field objects 41-50).
Field 1 did not solve (index index-4119.fits, field objects 51-60).
Field 1 did not solve (index index-4118.fits, field objects 51-60).
Field 1 did not solve (index index-4117.fits, field objects 51-60).
Field 1 did not solve (index index-4116.fits, field objects 51-60).
Field 1 did not solve (index index-4115.fits, field objects 51-60).
Field 1 did not solve (index index-4114.fits, field objects 51-60).
Field 1 did not solve (index index-4113.fits, field objects 51-60).
Field 1 did not solve (index index-4112.fits, field objects 51-60).
Field 1 did not solve (index index-4119.fits, field objects 61-70).
Field 1 did not solve (index index-4118.fits, field objects 61-70).
Field 1 did not solve (index index-4117.fits, field objects 61-70).
Field 1 did not solve (index index-4116.fits, field objects 61-70).
Field 1 did not solve (index index-4115.fits, field objects 61-70).
Field 1 did not solve (index index-4114.fits, field objects 61-70).
Field 1 did not solve (index index-4113.fits, field objects 61-70).
  log-odds ratio 16.5854 (1.59562e+07), 3 match, 0 conflict, 2 distractors, 29 index.
  RA,Dec = (31.4511,33.2826), pixel scale 17.5135 arcsec/pix.
Field 1 did not solve (index index-4112.fits, field objects 61-70).
Field 1 did not solve (index index-4119.fits, field objects 71-80).
Field 1 did not solve (index index-4118.fits, field objects 71-80).
Field 1 did not solve (index index-4117.fits, field objects 71-80).
Field 1 did not solve (index index-4116.fits, field objects 71-80).
Field 1 did not solve (index index-4115.fits, field objects 71-80).
Field 1 did not solve (index index-4114.fits, field objects 71-80).
  log-odds ratio 17.2849 (3.21187e+07), 3 match, 0 conflict, 1 distractors, 34 index.
  RA,Dec = (354.118,1.32924), pixel scale 26.421 arcsec/pix.
Field 1 did not solve (index index-4113.fits, field objects 71-80).
Total CPU time limit reached!
Field 1 did not solve (index index-4112.fits, field objects 71-80).
Field: Stacked_screenshot_05.05.2024_2.png
Field center: (RA,Dec) = (258.447013, 13.696758) deg.
Field center: (RA H:M:S, Dec D:M:S) = (17:13:47.283, +13:41:48.327).
Field size: 46.5393 x 34.6258 degrees
Field rotation angle: up is 127.557 degrees E of N
Field parity: neg
Creating new FITS file "./Stacked_screenshot_05.05.2024_2.new"...
Creating index object overlay plot...
Creating annotation plot...
Your field contains:
  Part of the constellation Hercules (Her)
  Part of the constellation Ophiuchus (Oph)
  Part of the constellation Serpens (Ser)
  The star Rasalgethi / Ras Algethi (α1 Her / α2 Her / 64 Her)
  The star Kornephoros / Rutilicus (β Her / 27 Her)
  The star Marsic / Marfik (κ Her / 7 Her A)
  The star Maasym / Masym (λ Her / 76 Her)
  The star Cujam (ω Her / 24 Her)
  The star Sarin (δ Her / 65 Her)
  The star Nasak Shamiya III (γ Her / 20 Her)
  The star Rasalhague (α Oph / 55 Oph)
  The star Cebalrai (β Oph / 60 Oph)
  The star Yed Prior / Yad (δ Oph / 1 Oph)
  The star Yed Posterior (ε Oph / 2 Oph)
  The star Marfik (λ Oph / 10 Oph)
  The star Muliphen (γ Oph / 62 Oph)
  The star Unukalhai / Cor Serpentis / Unuk Al Hay (α Ser / 24 Ser)
  The star Nasak Shamiya II (γ Ser / 41 Ser)
  The star Nasak Yamani II (ε Ser / 37 Ser)
  The star ε Her / 58 Her
  The star μ Her / 86 Her
  The star ν Her / 94 Her
  The star ξ Her / 92 Her
  The star ο Her / 103 Her
  The star Ï€ Her / 67 Her
  The star Ï Her / 75 Her
  The star b Her / 99 Her
  The star c Her
  The star d Her / 59 Her
  The star e Her / 69 Her
  The star h Her / 29 Her
  The star i Her / 43 Her
  The star k Her / 47 Her
  The star l Her / 45 Her
  The star n Her / 28 Her
  The star o Her / 21 Her
  The star q Her
  The star r Her / 5 Her
  The star s Her
  The star t Her / 107 Her
  The star u Her / 68 Her
  The star w Her / 72 Her
  The star 7 Her B
  The star 8 Her
  The star 9 Her
  The star 16 Her
  The star 36 Her
  The star 37 Her
  The star 39 Her
  The star 49 Her
  The star 50 Her
  The star 51 Her
  The star 53 Her
  The star 54 Her
  The star 56 Her
  The star 57 Her
  The star 60 Her
  The star 61 Her
  The star 63 Her
  The star 70 Her
  The star 73 Her
  The star 78 Her
  The star 79 Her
  The star 83 Her
  The star 84 Her
  The star 87 Her
  The star 89 Her
  The star 93 Her
  The star 95 Her
  The star 96 Her
  The star 97 Her
  The star 98 Her
  The star 100 Her A
  The star 100 Her B
  The star 101 Her
  The star 102 Her
  The star 104 Her
  The star 105 Her
  The star 106 Her
  The star 108 Her
  The star 109 Her
  The star 110 Her
  The star 111 Her
  The star 112 Her
  The star 113 Her
  The star ι Oph / 25 Oph
  The star κ Oph / 27 Oph
  The star σ Oph / 49 Oph
  The star e Oph
  The star f Oph / 53 Oph
  The star 12 Oph
  The star 14 Oph
  The star 16 Oph
  The star 19 Oph
  The star 21 Oph
  The star 23 Oph
  The star 30 Oph
  The star 37 Oph
  The star 41 Oph
  The star 61 Oph
  The star 66 Oph
  The star 67 Oph
  The star 68 Oph
  The star 70 Oph
  The star 71 Oph
  The star 72 Oph
  The star 73 Oph
  The star λ Ser / 27 Ser
  The star σ Ser / 50 Ser
  The star φ Ser
  The star ψ Ser / 23 Ser
  The star ω Ser / 34 Ser
  The star 39 Ser
  The star 40 Ser
  The star 43 Ser
  The star 45 Ser
  The star 47 Ser

pi@ raspberrypi:~/Desktop $

Dustin Lang

unread,
May 9, 2024, 8:14:24 AMMay 9
to andreas....@gmail.com, astrometry
Hi,

If you have an old .wcs file in the current directory, it will print the results from that file even if it doesn't find a solution.

I think you mean .solved, not .solution ...

Can you please send the link to the nova.astrometry.net submission?

cheers,
dustin



--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages