astromatic / sextractor

Extract catalogs of sources from astronomical images
http://astromatic.net/software/sextractor
GNU General Public License v3.0
148 stars 43 forks source link

Problems with setting MAG_APER array in parameter file #20

Closed prdurrell closed 2 years ago

prdurrell commented 2 years ago

Hi; I am having issues with running 2.25.0 on a Mac (Catalina - 10.15.7) with the parameter file. In the parameter file I define

MAG_APER(3) Fixed aperture magnitude vector [mag] MAGERR_APER(3) RMS error vector for fixed aperture mag. [mag]

and in the config file I have PHOT_APERTURES 6,12,20 # MAG_APER aperture diameter(s) in pixels

However, when I do this, I get ----- SExtractor 2.25.0 started on 2021-11-09 at 11:23:30 with 1 thread

Setting catalog parameters Error: too many dimensions for keyword MAG_APER

and I have tried [] vs. (), dropping the brackets to see if one aperture will work, and in that case, I get ----- SExtractor 2.25.0 started on 2021-11-09 at 11:09:06 with 1 thread

Setting catalog parameters Error: wrong array syntax for keyword MAG_APER

If I comment out MAG_APER and use other photometric measures (MAG_AUTO), the software works fine. I must be doing something wrong in how I am defining MAG_APER and MAGAPER_ERR in my parameter file, but I am at a loss as to what the problem is. Any suggestions? Pat Durrell

prdurrell commented 2 years ago

Solved -- apparently I need to remove the columns descriptions from the MAG_APER(x) lines in the .param file...