Open ppmim opened 9 years ago
Strange! I am surprised it fails there, but not surprised it fails with NaNs. Would you mind posting an example file and command-line you are using?
Yes, you can find an example file here:
ftp://ftp.iaa.es/pub/jmiguel/panic/CygX_DR21_Ks0001.Q03.skysub.fits
and the command I use is:
/usr/local/astrometry/bin/solve-field -O -p --scale-units arcsecperpix --scale-low 0.4 --scale-high 0.5 --ra 309.830775908 --dec 42.4411116551 --radius 0.5 -D /data2/out/2015-06-03_D/Q03 --temp-dir /data2/tmp /data2/out/2015-06-03_D/Q03/CygX_DR21_Ks0001.Q03.skysub.fits --downsample 2
PD: If I only replace the NaN with the background level, then it solves.
Solving a FITS file with thousand of NaNs values, I get the next error:
fitstable.c:956:read_array_into: Failed to read column from FITS file fitstable.c:956:read_array_into: Failed to read column from FITS file Failed to read xylist field.
However, with a FITS file with lower number of NaNs or if NaNs are converted to 0s, it works with no problem.
Then, are NaNs supported by Astrometry.net ?