How to use on Mac ?

98 views
Skip to first unread message

Pawel K

unread,
Sep 30, 2021, 12:29:58 PMSep 30
to astrometry
Hi,

I have installed astrometry-net on M1 Mac Mini through this command "brew install astrometry-net".
But I am lost as to what next. What command do i use to run it in terminal ?

➜  ~ astrometry-net

zsh: command not found: astrometry-net

➜  ~ astrometry

zsh: command not found: astrometry

---

Also I've checked the docs but it's impossible for me to understand anything. The index files i suppose contain map of stars ? I want to use this program to help me framing deep sky objects for astrophotography, which files will i need and where would i put them on Mac ?

Which command should I use as a noob to just simply quickly plate solve ?

It's really hard to find any tutorials.

Thanks in advance !

Bryan

unread,
Sep 30, 2021, 1:15:28 PMSep 30
to astrometry
See Step 2 in the Download page that I sent earlier.

Bryan

Pawel K

unread,
Sep 30, 2021, 1:34:32 PMSep 30
to astrometry

I did, I just don't fully understand it :)

Pawel K

unread,
Sep 30, 2021, 1:40:48 PMSep 30
to astrometry
Where do I put the index files on Mac ? I have installed it with Homebrew not source code.

Bryan

unread,
Sep 30, 2021, 1:45:24 PMSep 30
to astrometry
That was a bit brusque.  Let me try again.

If you go to the README page at https://astrometry.net/doc/readme.html

then you can reads sections on
  • special steps for some Macs
  • use of the primary command ... solve-field.  You give it the name of the image to be solved along with parameters, which can shorten the CPU time, provide annotations of the objects in your image (if any), et al.
  • choosing index files.  HOWEVER, I just downloaded them all.  You can fine-tune the selection with a scale parameter.  Then, if you ever change equipment configuration, you do not need to download more files, you just change the scale parameter.  Note that index files with small field of view are large files; hence, if you have limited disk space, you may want to be more judicious about what you download, as opposed to my 'download all' approach.
  • optimizing the solve time...see Tips and Tricks section.  This is a useful section, but the parameters that will shorten CPU time the most are the scale-units, scale-low, and scale-high.
As you become more familiar with the local version, you will return to the README page many times. 

Bryan

Bryan

unread,
Sep 30, 2021, 1:48:54 PMSep 30
to astrometry

"Download the index files you need and then either:

  • Copy the files to the data directory wherever you installed the Astrometry.net code (INSTALL_DIR/data, perhaps /usr/local/astrometry/data); OR

  • Copy the files to the top-level (astrometry-$VERSION) source directory, and run:

    $ make install-indexes"

Bryan

Bryan

unread,
Sep 30, 2021, 1:51:34 PMSep 30
to astrometry
Pawel

I do not use a Mac  Hence, at some point, your questions will be too advanced for my knowledge.  Others should be able to help, however.

Bryan

Pawel K

unread,
Sep 30, 2021, 1:57:20 PMSep 30
to astrometry

I've installed it with a package manager so I don't really know where is the directory.
---

➜  ~ which solve-field 

/opt/homebrew/bin/solve-field

---

^It's a file not a dir.


Thanks

Dustin Lang

unread,
Sep 30, 2021, 2:02:46 PMSep 30
to Pawel K, astrometry
Hi,

Does the directory /opt/homebrew/data exist?  If so, then I think you can put index files there.  Otherwise, check for the file /opt/homebrew/etc/astrometry.cfg , and see if it has a line like "add_path /opt/homebrew/data", that will be where it is looking for index files.

(I have a mac and use homebrew, but my homebrew puts stuff in /usr/local rather than /opt/homebrew :)

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/15ea973d-9bee-40f0-ad0f-3892c6e792abn%40googlegroups.com.

Pawel K

unread,
Sep 30, 2021, 2:13:46 PMSep 30
to astrometry

# In which directories should we search for indices?

add_path /opt/homebrew/Cellar/astrometry-net/0.85_1/data

➜  ~ cd /opt/homebrew/Cellar/astrometry-net/0.85_1/data

cd: no such file or directory: /opt/homebrew/Cellar/astrometry-net/0.85_1/data



Do I just create the "data" folder ?

Dustin Lang

unread,
Sep 30, 2021, 2:20:21 PMSep 30
to Pawel K, astrometry
Sure, you can either create that directory (mkdir -p /opt/homebrew/Cellar/astrometry-net/0.85_1/data) and put index files there, or edit that astrometry.cfg file to wherever you want to put them.


Pawel K

unread,
Sep 30, 2021, 5:17:15 PMSep 30
to astrometry
Should i put 4200 and 4100 together in "data" folder ?
Thanks

Dustin Lang

unread,
Sep 30, 2021, 5:18:30 PMSep 30
to Pawel K, astrometry
Sure, mix and match as you like.

Pawel K

unread,
Sep 30, 2021, 10:54:06 PMSep 30
to astrometry
Okay I've tried running it but got an error.

➜  Desktop solve-field --out apod1b http://antwrp.gsfc.nasa.gov/apod/image/0302/ngc2264_croman_c3.jpg

Reading input file 1 of 1: "http://antwrp.gsfc.nasa.gov/apod/image/0302/ngc2264_croman_c3.jpg"...

Downloading...

ERROR: Image type not recognized: Unknown image type "['empty']"

augment-xylist.c:590:backtick Failed to run command: /opt/homebrew/bin/image2pnm --infile ./apod1b --uncompressed-outfile /tmp/tmp.uncompressed.CF7tZ2 --outfile /tmp/tmp.ppm.bUr5kz --ppm --mydir /opt/homebrew/bin/solve-field

 ioutils.c:568:run_command_get_outputs Command failed: return value 255


Dustin Lang

unread,
Sep 30, 2021, 11:05:34 PMSep 30
to Pawel K, astrometry
Try adding the "-G" flag (use wget rather than curl).

It appears that they forward http to https, and curl doesn't handle that automatically, hence it writes a length-0 file (which is why the file type is 'empty'); wget handles the forwarding.  And the solve-field code only recognizes http://, not https:// !  (I'll fix that...)

cheers,
--dustin


Pawel K

unread,
Sep 30, 2021, 11:24:25 PMSep 30
to astrometry
I am not sure if it's working properly. I am using the image from docs but it doesn't seem to be able to plate solve.
I ran it for like 10 min already.

-------

Reading input file 1 of 1: "http://antwrp.gsfc.nasa.gov/apod/image/0302/ngc2264_croman_c3.jpg"...

Downloading...

jpegtopnm: WRITING PPM FILE

Read file stdin: 800 x 526 pixels x 1 color(s); maxval 255

Using 8-bit output

Extracting sources...

simplexy: found 1778 sources.

Solving...

Reading file "./apod1b.axy"...

Field 1 did not solve (index index-4219.fits, field objects 1-10).

Field 1 did not solve (index index-4218.fits, field objects 1-10).

Field 1 did not solve (index index-4217.fits, field objects 1-10).

Field 1 did not solve (index index-4216.fits, field objects 1-10).

Field 1 did not solve (index index-4215.fits, field objects 1-10).

Field 1 did not solve (index index-4214.fits, field objects 1-10).

Field 1 did not solve (index index-4213.fits, field objects 1-10).

Field 1 did not solve (index index-4212.fits, field objects 1-10).

Field 1 did not solve (index index-4211.fits, field objects 1-10).

Field 1 did not solve (index index-4210.fits, field objects 1-10).

Field 1 did not solve (index index-4209.fits, field objects 1-10).

Field 1 did not solve (index index-4208.fits, field objects 1-10).

Field 1 did not solve (index index-4207-11.fits, field objects 1-10).

Field 1 did not solve (index index-4207-10.fits, field objects 1-10).

Field 1 did not solve (index index-4207-09.fits, field objects 1-10).

Field 1 did not solve (index index-4207-08.fits, field objects 1-10).

Field 1 did not solve (index index-4207-07.fits, field objects 1-10).

Field 1 did not solve (index index-4207-06.fits, field objects 1-10).

Field 1 did not solve (index index-4207-05.fits, field objects 1-10).

Field 1 did not solve (index index-4207-04.fits, field objects 1-10).

Field 1 did not solve (index index-4207-03.fits, field objects 1-10).

Field 1 did not solve (index index-4207-02.fits, field objects 1-10).

Field 1 did not solve (index index-4207-01.fits, field objects 1-10).

Field 1 did not solve (index index-4207-00.fits, field objects 1-10).

Field 1 did not solve (index index-4206-11.fits, field objects 1-10).

Field 1 did not solve (index index-4206-10.fits, field objects 1-10).

Field 1 did not solve (index index-4206-09.fits, field objects 1-10).

Field 1 did not solve (index index-4206-08.fits, field objects 1-10).

Field 1 did not solve (index index-4206-07.fits, field objects 1-10).

Field 1 did not solve (index index-4206-06.fits, field objects 1-10).

Field 1 did not solve (index index-4206-05.fits, field objects 1-10).

Field 1 did not solve (index index-4206-04.fits, field objects 1-10).

Field 1 did not solve (index index-4206-03.fits, field objects 1-10).

Field 1 did not solve (index index-4206-02.fits, field objects 1-10).

Field 1 did not solve (index index-4206-01.fits, field objects 1-10).

Field 1 did not solve (index index-4206-00.fits, field objects 1-10).

Field 1 did not solve (index index-4205-11.fits, field objects 1-10).

Field 1 did not solve (index index-4205-10.fits, field objects 1-10).

Field 1 did not solve (index index-4205-09.fits, field objects 1-10).

Field 1 did not solve (index index-4205-08.fits, field objects 1-10).

Field 1 did not solve (index index-4205-07.fits, field objects 1-10).

Field 1 did not solve (index index-4205-06.fits, field objects 1-10).

Field 1 did not solve (index index-4205-05.fits, field objects 1-10).

Field 1 did not solve (index index-4205-04.fits, field objects 1-10).

Field 1 did not solve (index index-4205-03.fits, field objects 1-10).

Field 1 did not solve (index index-4205-02.fits, field objects 1-10).

Field 1 did not solve (index index-4205-01.fits, field objects 1-10).

Field 1 did not solve (index index-4205-00.fits, field objects 1-10).

Field 1 did not solve (index index-4204-47.fits, field objects 1-10).

Field 1 did not solve (index index-4204-46.fits, field objects 1-10).

Field 1 did not solve (index index-4204-45.fits, field objects 1-10).

Field 1 did not solve (index index-4204-44.fits, field objects 1-10).

Field 1 did not solve (index index-4204-43.fits, field objects 1-10).

Field 1 did not solve (index index-4204-42.fits, field objects 1-10).

Field 1 did not solve (index index-4204-41.fits, field objects 1-10).

Field 1 did not solve (index index-4204-40.fits, field objects 1-10).

Field 1 did not solve (index index-4204-39.fits, field objects 1-10).

Field 1 did not solve (index index-4204-38.fits, field objects 1-10).

Field 1 did not solve (index index-4204-37.fits, field objects 1-10).

Field 1 did not solve (index index-4204-36.fits, field objects 1-10).

Field 1 did not solve (index index-4204-35.fits, field objects 1-10).

Field 1 did not solve (index index-4204-34.fits, field objects 1-10).

Field 1 did not solve (index index-4204-33.fits, field objects 1-10).

Field 1 did not solve (index index-4204-32.fits, field objects 1-10).

Field 1 did not solve (index index-4204-31.fits, field objects 1-10).

Field 1 did not solve (index index-4204-30.fits, field objects 1-10).

Field 1 did not solve (index index-4204-29.fits, field objects 1-10).

Field 1 did not solve (index index-4204-28.fits, field objects 1-10).

Field 1 did not solve (index index-4204-27.fits, field objects 1-10).

Field 1 did not solve (index index-4204-26.fits, field objects 1-10).

Field 1 did not solve (index index-4204-25.fits, field objects 1-10).

Field 1 did not solve (index index-4204-24.fits, field objects 1-10).

Field 1 did not solve (index index-4204-23.fits, field objects 1-10).

Field 1 did not solve (index index-4204-22.fits, field objects 1-10).

Field 1 did not solve (index index-4204-21.fits, field objects 1-10).

Field 1 did not solve (index index-4204-20.fits, field objects 1-10).

Field 1 did not solve (index index-4204-19.fits, field objects 1-10).

Field 1 did not solve (index index-4204-18.fits, field objects 1-10).

Field 1 did not solve (index index-4204-17.fits, field objects 1-10).

Field 1 did not solve (index index-4204-16.fits, field objects 1-10).

Field 1 did not solve (index index-4204-15.fits, field objects 1-10).

Field 1 did not solve (index index-4204-14.fits, field objects 1-10).

Field 1 did not solve (index index-4204-13.fits, field objects 1-10).

Field 1 did not solve (index index-4204-12.fits, field objects 1-10).

Field 1 did not solve (index index-4204-11.fits, field objects 1-10).

Field 1 did not solve (index index-4204-10.fits, field objects 1-10).

Field 1 did not solve (index index-4204-09.fits, field objects 1-10).

Field 1 did not solve (index index-4204-08.fits, field objects 1-10).

Field 1 did not solve (index index-4204-07.fits, field objects 1-10).

Field 1 did not solve (index index-4204-06.fits, field objects 1-10).

Field 1 did not solve (index index-4204-05.fits, field objects 1-10).

Field 1 did not solve (index index-4204-04.fits, field objects 1-10).

Field 1 did not solve (index index-4204-03.fits, field objects 1-10).

Field 1 did not solve (index index-4204-02.fits, field objects 1-10).

Field 1 did not solve (index index-4204-01.fits, field objects 1-10).

Field 1 did not solve (index index-4204-00.fits, field objects 1-10).

Field 1 did not solve (index index-4203-47.fits, field objects 1-10).

Field 1 did not solve (index index-4203-46.fits, field objects 1-10).

Field 1 did not solve (index index-4203-45.fits, field objects 1-10).

Field 1 did not solve (index index-4203-44.fits, field objects 1-10).

Field 1 did not solve (index index-4203-43.fits, field objects 1-10).

Field 1 did not solve (index index-4203-42.fits, field objects 1-10).

Field 1 did not solve (index index-4203-41.fits, field objects 1-10).

Field 1 did not solve (index index-4203-40.fits, field objects 1-10).

Field 1 did not solve (index index-4203-39.fits, field objects 1-10).

Field 1 did not solve (index index-4203-38.fits, field objects 1-10).

Field 1 did not solve (index index-4203-37.fits, field objects 1-10).

Field 1 did not solve (index index-4203-36.fits, field objects 1-10).

Field 1 did not solve (index index-4203-35.fits, field objects 1-10).

Field 1 did not solve (index index-4203-34.fits, field objects 1-10).

Field 1 did not solve (index index-4203-33.fits, field objects 1-10).

Field 1 did not solve (index index-4203-32.fits, field objects 1-10).

Field 1 did not solve (index index-4203-31.fits, field objects 1-10).

Field 1 did not solve (index index-4203-30.fits, field objects 1-10).

Field 1 did not solve (index index-4203-29.fits, field objects 1-10).

Field 1 did not solve (index index-4203-28.fits, field objects 1-10).

Field 1 did not solve (index index-4203-27.fits, field objects 1-10).

Field 1 did not solve (index index-4203-26.fits, field objects 1-10).

Field 1 did not solve (index index-4203-25.fits, field objects 1-10).

Field 1 did not solve (index index-4203-24.fits, field objects 1-10).

Field 1 did not solve (index index-4203-23.fits, field objects 1-10).

Field 1 did not solve (index index-4203-22.fits, field objects 1-10).

Field 1 did not solve (index index-4203-21.fits, field objects 1-10).

Field 1 did not solve (index index-4203-20.fits, field objects 1-10).

Field 1 did not solve (index index-4203-19.fits, field objects 1-10).

Field 1 did not solve (index index-4203-18.fits, field objects 1-10).

Field 1 did not solve (index index-4203-17.fits, field objects 1-10).

Field 1 did not solve (index index-4203-16.fits, field objects 1-10).

Field 1 did not solve (index index-4203-15.fits, field objects 1-10).

Field 1 did not solve (index index-4203-14.fits, field objects 1-10).

Field 1 did not solve (index index-4203-13.fits, field objects 1-10).

Field 1 did not solve (index index-4203-12.fits, field objects 1-10).

Field 1 did not solve (index index-4203-11.fits, field objects 1-10).

Field 1 did not solve (index index-4203-10.fits, field objects 1-10).

Field 1 did not solve (index index-4203-09.fits, field objects 1-10).

Field 1 did not solve (index index-4203-08.fits, field objects 1-10).

Field 1 did not solve (index index-4203-07.fits, field objects 1-10).

Field 1 did not solve (index index-4203-06.fits, field objects 1-10).

Field 1 did not solve (index index-4203-05.fits, field objects 1-10).

Field 1 did not solve (index index-4203-04.fits, field objects 1-10).

Field 1 did not solve (index index-4203-03.fits, field objects 1-10).

Field 1 did not solve (index index-4203-02.fits, field objects 1-10).

Field 1 did not solve (index index-4203-01.fits, field objects 1-10).

Field 1 did not solve (index index-4203-00.fits, field objects 1-10).

Field 1 did not solve (index index-4202-47.fits, field objects 1-10).

Field 1 did not solve (index index-4202-46.fits, field objects 1-10).

Field 1 did not solve (index index-4202-45.fits, field objects 1-10).

Field 1 did not solve (index index-4202-44.fits, field objects 1-10).

Field 1 did not solve (index index-4202-43.fits, field objects 1-10).

Field 1 did not solve (index index-4202-42.fits, field objects 1-10).

Field 1 did not solve (index index-4202-41.fits, field objects 1-10).

Field 1 did not solve (index index-4202-40.fits, field objects 1-10).

Field 1 did not solve (index index-4202-39.fits, field objects 1-10).

Field 1 did not solve (index index-4202-38.fits, field objects 1-10).

Field 1 did not solve (index index-4202-37.fits, field objects 1-10).

Field 1 did not solve (index index-4202-36.fits, field objects 1-10).

Field 1 did not solve (index index-4202-35.fits, field objects 1-10).

Field 1 did not solve (index index-4202-34.fits, field objects 1-10).

Field 1 did not solve (index index-4202-33.fits, field objects 1-10).

Field 1 did not solve (index index-4202-32.fits, field objects 1-10).

Field 1 did not solve (index index-4202-31.fits, field objects 1-10).

Field 1 did not solve (index index-4202-30.fits, field objects 1-10).

Field 1 did not solve (index index-4202-29.fits, field objects 1-10).

Field 1 did not solve (index index-4202-28.fits, field objects 1-10).

Field 1 did not solve (index index-4202-27.fits, field objects 1-10).

Field 1 did not solve (index index-4202-26.fits, field objects 1-10).

Field 1 did not solve (index index-4202-25.fits, field objects 1-10).

Field 1 did not solve (index index-4202-24.fits, field objects 1-10).

Field 1 did not solve (index index-4202-23.fits, field objects 1-10).

Field 1 did not solve (index index-4202-22.fits, field objects 1-10).

Field 1 did not solve (index index-4202-21.fits, field objects 1-10).

Field 1 did not solve (index index-4202-20.fits, field objects 1-10).

Field 1 did not solve (index index-4202-19.fits, field objects 1-10).

Field 1 did not solve (index index-4202-18.fits, field objects 1-10).

Field 1 did not solve (index index-4202-17.fits, field objects 1-10).

Field 1 did not solve (index index-4202-16.fits, field objects 1-10).

Field 1 did not solve (index index-4202-15.fits, field objects 1-10).

Field 1 did not solve (index index-4202-14.fits, field objects 1-10).

Field 1 did not solve (index index-4202-13.fits, field objects 1-10).

Field 1 did not solve (index index-4202-12.fits, field objects 1-10).

Field 1 did not solve (index index-4202-11.fits, field objects 1-10).

Field 1 did not solve (index index-4202-10.fits, field objects 1-10).

Field 1 did not solve (index index-4202-09.fits, field objects 1-10).

Field 1 did not solve (index index-4202-08.fits, field objects 1-10).

Field 1 did not solve (index index-4202-07.fits, field objects 1-10).

Field 1 did not solve (index index-4202-06.fits, field objects 1-10).

Field 1 did not solve (index index-4202-05.fits, field objects 1-10).

Field 1 did not solve (index index-4202-04.fits, field objects 1-10).

Field 1 did not solve (index index-4202-03.fits, field objects 1-10).

Field 1 did not solve (index index-4202-02.fits, field objects 1-10).

Field 1 did not solve (index index-4202-01.fits, field objects 1-10).

Field 1 did not solve (index index-4202-00.fits, field objects 1-10).

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).

Field 1 did not solve (index index-4111.fits, field objects 1-10).

Field 1 did not solve (index index-4110.fits, field objects 1-10).

Field 1 did not solve (index index-4109.fits, field objects 1-10).

Field 1 did not solve (index index-4108.fits, field objects 1-10).

Field 1 did not solve (index index-4107.fits, field objects 1-10).

Field 1 did not solve (index index-4219.fits, field objects 11-20).

Field 1 did not solve (index index-4218.fits, field objects 11-20).

Field 1 did not solve (index index-4217.fits, field objects 11-20).

Field 1 did not solve (index index-4216.fits, field objects 11-20).

Field 1 did not solve (index index-4215.fits, field objects 11-20).

Field 1 did not solve (index index-4214.fits, field objects 11-20).

Field 1 did not solve (index index-4213.fits, field objects 11-20).

Field 1 did not solve (index index-4212.fits, field objects 11-20).

Field 1 did not solve (index index-4211.fits, field objects 11-20).

Field 1 did not solve (index index-4210.fits, field objects 11-20).

Field 1 did not solve (index index-4209.fits, field objects 11-20).

Field 1 did not solve (index index-4208.fits, field objects 11-20).


Dustin Lang

unread,
Oct 1, 2021, 9:34:23 AMOct 1
to Pawel K, astrometry
Hi,

Apparently, the documentation lies about that image; I think you have to add "--downsample 2" to the command-line args to get a solution.


For a bit faster results, you can also add:

--scale-low 1.4 --scale-high 1.6

and you may need to add "--continue" if you're re-running and some old results files already exist.


It's also possible that there is an issue running on the M1 chips (big-endian vs little-endian).  I would have expected the code to report an error if that was what was happening.  I haven't had any reports (success or failure) on the M1 yet.  Amazon's EC2 has Arm machines, but they're little-endian, and Google Cloud doesn't seem to have Arm or M1 yet.

cheers,
--dustin




Bryan

unread,
Oct 1, 2021, 11:01:35 AMOct 1
to astrometry
FYI

This worked on my PC (Win 10).

solve-field --downsample 2 --scale-low 1.4 --scale-high 1.6 --continue --out apod1b http://antwrp.gsfc.nasa.gov/apod/
image/0302/ngc2264_croman_c3.jpg -G


 log-odds ratio 141.398 (2.56068e+61), 34 match, 0 conflict, 86 distractors, 57 index.
  RA,Dec = (100.217,9.83112), pixel scale 6.78537 arcsec/pix.
  Hit/miss: +-+++++++-+++--++++---+-+-++++++---+----+-----+------+----+-----------------------------------+++--+
Field 1: solved with index index-4208.fits.
Field 1 solved: writing to file ./apod1b.solved to indicate this.
Field: ./apod1b
Field center: (RA,Dec) = (100.2, 9.832) deg.
Field center: (RA H:M:S, Dec D:M:S) = (06:40:51.726, +09:49:54.091).
Field size: 90.3575 x 59.4411 arcminutes
Creating new FITS file "./apod1b.new"...
Creating index object overlay plot...
Creating annotation plot...
Your field contains:
  NGC 2264 / Christmas Tree cluster / Cone nebula

Attached are the image files generated.

Bryan
apod1b-ngc.png
apod1b-indx.png
apod1b-objs.png

Pawel K

unread,
Oct 1, 2021, 8:49:39 PMOct 1
to astrometry
^This indeed worked.

Problem is that if i try to plate solve any picture i took, it fails.

Here is my example image i tried plate solving: 

➜  Desktop solve-field --downsample 2 --scale-low 1.4 --scale-high 1.6 --continue --out platesolve nan.png     

Reading input file 1 of 1: "nan.png"...

Read file stdin: 1280 x 638 pixels x 1 color(s); maxval 65535

Using 16-bit output

Extracting sources...

Downsampling by 2...

simplexy: found 324 sources.

Solving...

Reading file "./platesolve.axy"...

Field 1 did not solve (index index-4211.fits, field objects 1-10).

Field 1 did not solve (index index-4210.fits, field objects 1-10).

Field 1 did not solve (index index-4209.fits, field objects 1-10).

Field 1 did not solve (index index-4208.fits, field objects 1-10).

Field 1 did not solve (index index-4207-11.fits, field objects 1-10).



Dustin Lang

unread,
Oct 2, 2021, 8:41:15 AMOct 2
to Pawel K, astrometry
Hi,

The --scale-low and --scale-high arguments you're using are incorrect for that image.  Those tell solve-field "my image is definitely between 1.4 and 1.6 degrees wide, do not look for solutions outside that range."  Your image is ~9 degrees wide.  The web version gets a solution with index-4112.fits.

cheers,
--dustin


Pawel K

unread,
Oct 3, 2021, 9:12:02 PMOct 3
to astrometry
Thanks for reply but I didn't understand anything tbh ;)

So what options should I use for the kind of images that i posted above please ?

I've tried something like this:

➜  Desktop solve-field --downsample 2 --continue --out platesolve t.png  


Thanks

Pawel K

unread,
Oct 3, 2021, 9:13:56 PMOct 3
to astrometry
Also previously one it did successfully plate solve on the image from NASA servers, it spitted out a lot of weird files. 

All i need to know is stars positions so it helps me with framing.

Should I use some option so it won't produce so much bloat I don't even know how to use ?

Dustin Lang

unread,
Oct 4, 2021, 8:26:39 AMOct 4
to Pawel K, astrometry
Hi,

(If you have the index file index-4112.fits, "solve-field --downsample 2 --continue nan.png" should work.)

Which output files do you use?  Are you looking at the annotated image (*-ngc.png)?

You can turn off a bunch of the output files by adding:

--corr none --match none --solved none --new-fits none --rdls none --index-xyls none --temp-axy

cheers,
--dustin



Daniel Heyer

unread,
Oct 4, 2021, 11:44:49 AMOct 4
to astrometry
Pawel,
I don't use an M1 mac but I do use Brew (Homebrew). With Python, I suggest using Python3's virtual environment. Example: 
1. python3 -m venv astrometry-net (this creates a folder with the virtual environment )
2. cd astromeetry-net
3. source bin/activate (this activates the virtual environment)
4. pip install astrometry-net-client  or brew install astrometry-net

Using the virtual environment will help keep the project all in one place and troubleshooting.
I found an install using pip at https://pypi.org/project/astrometry-net-client/ but this might be a different version. 
for more info on Python3's virtual environments https://docs.python.org/3/tutorial/venv.html
Message has been deleted

Pawel K

unread,
Oct 4, 2021, 9:32:03 PMOct 4
to astrometry
Can i make it not spit out files like nan.wcs, nan-indx.png or nan-objs.png ? 
Thanks

Dustin Lang

unread,
Oct 4, 2021, 9:34:02 PMOct 4
to Pawel K, astrometry
Nope :)

--
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