En essayant de relire les fichiers FITS généré par HOPS (le pipeline d'Exoclock) j'obtiens systématiquement le message d'erreur suivant :
ERREUR : FITS sans dimension
Après avoir demandé à A. Tsiaras (le développeur de HOPS) ce qu'ilm en pensait, il m'a expliqué que le fichier est compressé et que, je cite :
"the primary entry should not include the data if you want to compress it".
L'entête lue par PRISM se résume au premier bloc :
Code : Tout sélectionner
1 : SIMPLE = T / conforms to FITS standard
2 : BITPIX = 8 / array data type
3 : NAXIS = 0 / number of array dimensions
4 : EXTEND = T
5 : END
Voici un contenu de l'entête du second bloc :
Code : Tout sélectionner
XTENSION= 'BINTABLE' / binary table extension
BITPIX = 8 / array data type
NAXIS = 2 / number of array dimensions
NAXIS1 = 8 / width of table in bytes
NAXIS2 = 4176 / number of rows in table
PCOUNT = 25137374 / number of group parameters
GCOUNT = 1 / number of groups
TFIELDS = 1 / number of fields in each row
TTYPE1 = 'COMPRESSED_DATA' / label for field 1
TFORM1 = '1PB(6091)' / data format of field: variable length array
ZIMAGE = T / extension contains compressed image
ZTENSION= 'IMAGE ' / binary table extension
ZBITPIX = 32 / array data type
ZNAXIS = 2 / number of array dimensions
ZNAXIS1 = 6252 / width of table in bytes
ZNAXIS2 = 4176 / number of rows in table
ZPCOUNT = 0 / number of group parameters
ZGCOUNT = 1 / number of groups
ZTILE1 = 6252 / size of tiles to be compressed
ZTILE2 = 1 / size of tiles to be compressed
ZCMPTYPE= 'RICE_1 ' / compression algorithm
ZNAME1 = 'BLOCKSIZE' / compression block size
ZVAL1 = 32 / pixels per block
ZNAME2 = 'BYTEPIX ' / bytes per pixel (1, 2, 4, or 8)
ZVAL2 = 4 / bytes per pixel (1, 2, 4, or 8)
EXTNAME = 'COMPRESSED_IMAGE' / name of this binary table extension
XBINNING= 1
YBINNING= 1
SITELAT = 43.999700000000004
SITELONG= 5.6475
RA = 232.14663583333336
DEC = 66.35876222222223
DATE-OBS= '2024-08-03T21:41:17.407200'
EXPTIME = 60.0
FILTER = 'r'' '
HOPSJD = 2460526.4036736945
AIRMASS = 1.2244828634568066
MEAN = 37.02925087554618
STD = 28.990939494016462
SATUR = 65535
PSF = 6.860176538285252
SKIP = F
ALIGN_X0= 3110.119059547724
ALIGN_Y0= 2206.8852486922433
ALIGN_U0= 6.80174483956144E-05
PRISM pourrait-il être amélioré pour pouvoir lire ce type de fichier ?
Merci