...
Code Block |
---|
# TODO 1088203096 |
Tried to move past end of file
Symptoms
- first N bytes of a fits file are all nulls
- fitsino can't read the file
- fitscheck shows error code 1
Example
Code Block |
---|
> fitscheck -ci 1351246440_20221031101342_ch118_001.fits
NONCOMPLIANT '1351246440_20221031101342_ch118_001.fits' .. Verification reported errors: HDUList's 0th element is not a primary HDU. Primary HDU does not contain an EXTEND keyword equal to T even though there are extension HDUs. HDUList's element 1 is not an extension HDU. HDU 0: 'SIMPLE' card does not exist. 'BITPIX' card does not exist. 'NAXIS' card does not exist. Card 88931: Card 'D5' is not FITS standard (equal sign not at column 8). Card 'D5' is not FITS standard (invalid value string: '??????\x7f?Da7?D??ND??\x1d?L7?E\x0c?\x1bD??D?[??C(??CP&\x1aD??R?\x03?\x1c?,?\x04?4????AuD\x07\x03???"?D?E='). Card 96164: Unprintable string '\x0f\x07>\x16\x7f???K??\x16?????Z?U@???Y?????@ko1@\x1e@\x05?/???7?\x1c?>?6>?A\x05?K\x00%>?j?>??\x04?3\x16s?3.\x0b???'; commentary cards may only contain printable ASCII characters Card 97343: Card '?H??' is not FITS standard (equal sign not at column 8). Card keyword '?h??' is not upper case. Illegal keyword name '?H??' Card '?H??' is not FITS standard (invalid value string: 'B?\x16,r???\x11??\x03?????>8?????/?8???\\?t>.|?>?\x18????U???e?b?w>?J%>????\x05?*>??????a'). Card 109720: Card '>?\n@' is not FITS standard (equal sign not at column 8). Illegal keyword name '>?\n@' Card '>?\n@' is not FITS standard (invalid value string: '??@A\\\x01??2???i??3?z??O??\x0c???N??>?P??\nZ?=1?g?Q}???!??[m?@??\x03>%?\x10?z?\x11@\x16???\x1e\tY'). Card 114951: Card '????A?' is not FITS standard (equal sign not at column 8). Illegal keyword name '????A?' Card '????A?' is not FITS standard (invalid value string: '????????DHq?DE???\x11??C???C?<?D}(\x16??sHDE??C????u?????#D?\t\x1eD?wr??Vq??cl??1*'). Card 118755: Illegal keyword name '?"???\x19??' Card '?"???\x19??' is not FITS standard (invalid value string: ':???zg?*?)?M?e???\x12?#?????m?.????\n[?#T?@,\x1e??\x1d??>K?\x10???\x1f?\x0b\x08??\x18?o?&\x0cm?B?\\'). Card 119530: Card keyword '@+r??;??' is not upper case. Illegal keyword name '@+R??;??' Card '@+R??;??' is not FITS standard (invalid value string: '?\x1f?\x10\x16N>?7??p&???????????f???Ad??\x1e4?#G??(S???w_????@\x19\x1e??[g?????=????KIk'). Card 123398: Card '>?' is not FITS standard (equal sign not at column 8). Illegal keyword name '>?' Card '>?' is not FITS standard (invalid value string: 'A\x14??@\x02?a??BA??\x7fY=??Z???Z?????_?\x12?\x7fg0@??%@tf?????@????\x1c>??????\x0c3?@*???d\x14??U5?'). Card 123910: Card '?;\x06?=\x0f??' is not FITS standard (equal sign not at column 8). Illegal keyword name '?;\x06?=\x0f??' Card '?;\x06?=\x0f??' is not FITS standard (invalid value string: '\x10??\x1f?I\x00\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00?\x00\x00\x00?_N???????7\x1f>?PV\x00\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00?\x00\x00\x00>?;??\x02?\x0e>\x13\x07?<anj'). Card 124608: Illegal keyword name '>?8J??\x11?' Card '>?8J??\x11?' is not FITS standard (invalid value string: '~ ?5??\x00\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00?\x00\x00\x00?+d?=??\n??!Y?r??\x00\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00?\x00\x00\x00???X<???<IG!?*@?'). Card 128964: Card '=????J3N' is not FITS standard (equal sign not at column 8). Card keyword '=????J3n' is not upper case. Illegal keyword name '=????J3N' Card '=????J3N' is not FITS standard (invalid value string: '??=0?`\x00\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00?\x00\x00\x00??????\x17??\x1f?????s\x00\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00?\x00\x00\x00??+?????>??????7'). Card 131088: Card keyword '??\x11?>??e' is not upper case. Illegal keyword name '??\x11?>??E' Card '??\x11?>??E' is not FITS standard (invalid value string: "??@Nq??\x1a1N>????\x1f?\x7f?$?^??\x11???ZY?@B'??g\x15?zo[??s\x0f?D\x19????#>?\x1fa?????\x08#o?d?!"). Card 132518: Unprintable string '|h??y@??\r??e?\x1e@Q~??Ul5?Ae?@=???.?B??T?@????s???>???y??>K?n=?zR@\x13PY@\x03?\x18<????&\x14F'; commentary cards may only contain printable ASCII characters Card 133575: Card '?P\x7fC' is not FITS standard (equal sign not at column 8). Illegal keyword name '?P\x7fC' Card '?P\x7fC' is not FITS standard (invalid value string: '??????G?\x14??\x7f??$9@?\x05/?=???>\x11?????\x19?\x0f)?>??????h?????GQZ>???=????\x05? ??\x19[?R\x019'). Card 154186: Card 'D{?SE\x18' is not FITS standard (equal sign not at column 8). Illegal keyword name 'D{?SE\x18' Card 'D{?SE\x18' is not FITS standard (invalid value string: 'D?c????.D??\x03?#\x00??\x0cE{??p???\x05???mu?D=??xD?D_?B?\x00???\x10?CC?G\x1b?/\x04?????E\x02\r%?C??'). Card 210578: Card '??\x00C?N' is not FITS standard (equal sign not at column 8). Illegal keyword name '??\x00C?N' Card '??\x00C?N' is not FITS standard (invalid value string: 'D??f?\x05\x7f]?\x0fc"C?.\x0e?\x02\x08d?D=d???\x1e??3f?\'2\x0f???\x14E\x17?K????D?w+E=t:??U?E!>???n?E(E?'). Card 214222: Card '??\x1dDD\x14' is not FITS standard (equal sign not at column 8). Illegal keyword name '??\x1dDD\x14' Card '??\x1dDD\x14' is not FITS standard (invalid value string: '?6????R?????D?A~C?\t0??g??O?eDa?\x1aE\x07G??\t??E?A|ETi?B?I\n?$?JECz??W??B?>?D?{?'). Card 226452: Card 'C?' is not FITS standard (equal sign not at column 8). Illegal keyword name 'C?' Card 'C?' is not FITS standard (invalid value string: '?c?\x16?tS???y?C ?\x13E\x089\x1cD??x?????\x1c\rP?\x11??D??\x1aEL?yE\x08??CE??E\x05??EN?\x0eD:n?D?qi?+?<CKN\x16'). Note: astropy.io.fits uses zero-based indexing.
|
Context
something corrupted raw file in its journey from the correlator to your filesystem