How to set my sextractor's cfg file?

122 views
Skip to first unread message

Ning B

unread,
Apr 20, 2022, 5:11:28 AM4/20/22
to astrometry
Hi,

My goal is to minimize resolution time as much as possible

I try to reduce the number of extracted sources, so I wanted to use my own cfg file

I notice that no one seems to have any questions about this

I use this :solve-field /home/wn/824001_100/20220401104604583_7824_824001_LVT04.fits -O --config /usr/local/astrometry/etc/astrometry.cfg --dir /home/wn/test  --no-verify -p  --depth 20,30,40,50,60 --wcs none --corr none --rdls none --match none --solved none --ra 149 --dec 9 --radius 6 --scale-units arcsecperpix --scale-low 5.70 --scale-high 5.75  --sextractor-config /usr/share/source-extractor/default.sex --no-remove-lines --uniformize 0

and here is my error:
Reading input file 1 of 1: "/home/wn/824001_100/20220401104604583_7824_824001_LVT04.fits"...
Extracting sources...
----- Source Extractor 2.25.0 started on 2022-04-20 at 17:07:19 with 1 thread

----- Measuring from: 20220401104604583_7824_824001_LVT04.fits
      "Unnamed" / no ext. header / 4096x4096 / 16 bits (integers)
(M+D) Background: 376.902    RMS: 19.1694    / Threshold: 95.847    
      Objects: detected 632      / sextracted 631            

> All done (in 0.4 s: 9851.2 lines/s , 1517.6 detections/s)
Sorting brightness using FLUX and BACKGROUND columns failed; falling back to FLUX.
Done
augment-xylist.c:1442:augment_xylist Failed to copy the data segment of xylist file /tmp/tmp.sorted.GYKGFE to /home/wn/test/20220401104604583_7824_824001_LVT04.axy
 ioutils.c:250:pipe_file_offset Failed to seek to offset 18446744073709551615
 system: Invalid argument
 anqfits.c:412:anqfits_data_size Failed to get data size for file "/tmp/tmp.sorted.GYKGFE" ext 1: ext not in range [0, 1)
 anqfits.c:392:anqfits_header_size Failed to get header size for file "/tmp/tmp.sorted.GYKGFE" ext 1: ext not in range [0, 1)
 anqfits.c:382:anqfits_header_start Failed to get header start for file "/tmp/tmp.sorted.GYKGFE" ext 1: ext not in range [0, 1)
 tabsort.c:87:tabsort Couldn't find column named "FLUX" in extension 1.  Skipping.

I have attached my cfg file if it helps

Any help you can provide would be greatly appreciated,

Thank you


default.param
default.sex

Dustin Lang

unread,
Apr 20, 2022, 9:59:49 AM4/20/22
to Ning B, astrometry
Hi,

The clue is

tabsort.c:87:tabsort Couldn't find column named "FLUX" in extension 1.  Skipping.

-- we were expecting to find a column named "FLUX" in the catalog file produced by source extractor, but it doesn't exist, because you set the parameters file.  You need to add:

-s MAG_AUTO -a -X X_IMAGE -Y Y_IMAGE

to tell it which column to use to sort the stars, and which ones contain the pixel coordinates.

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/c9e5d811-3270-4bee-9fd9-626127cb2b42n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages