Closed gnthibault closed 5 years ago
What do you have in your default.param file? Is it empty or are all fields commented?
Thank you for your support, glad to see someone helping :) The file I dumped in my first message is actually named default.param, do I need another parameter file ?
What you attached is not a configuration file (usually indeed called "default.sex"), it is a parameters file. The "default.param" parameters file is different, and specifies what measurements (among all the possibilities offered by SExtractor) you want to extract. Please refer to the manual. This confusion probably led to an empty catalog, explaining why PSFex then complained.
Let's try to following:
sex -dp > default.param
SExtractor should then produce a catalogue. Open it to make sure it is indeed not empty (with your favorite FITS file editor, e.g. Topcat or Python+Astropy).
Note that this catalogue is not suited as input for PSFEx, so you will still have an error if you then run PSFex, but it should be a different error :-) To run SExtractor to feed PSFex, please refer to the PSFEx manual
Great ! thank you for your help. Just in case you know the answer, I now get an error like this in psfex:
Error: parameter not found in catalogue ./test.cat
Usually I get something like "X_IMAGE parameter not found", or "X_IMAGE parameter not found", but now it feels like a void parameter name is missing. Do you know what happened ?
Otherwise I will go to psfex github page
Here is a suggestion for your "default.param" that should satisfy PSFEx:
NUMBER SNR_WIN FLUX_RADIUS FLUX_MAX FLUX_APER(1) FLUXERR_APER(1) X_IMAGE Y_IMAGE ELONGATION FLAGS FLAGS_WEIGHT VIGNET(31,31)
but follow the PSFex manual instructions to tune it to your data and scientific case.
I have no idea what is this error standing for, I am just trying to follow psfex guidelines, that rely on sextractor.
Here is my config file: