# A single table to test the reading and writing functions. # # - It contains all the types. # - String columns, names, and units have space characters. # - Blank values in all the columns. # - Empty lines (not comment or data. # - Column information comments are not in the same order as data. # - A column (11, i.e., the last) with no information. # - Columns with missing information # - Some blank values different from the internal blank values. # Column 10: DOUBLE [no units, f64, 255] Column with double values # Column 1: UINT8_DATA [no units, u8, 5] Column with unsigned char values # Column 2: INT8 [no-units, i8] Column with char values # Column 3: STRING data [, str21, no data] Column with string values # Column 4: UINT16 data [,u16] Column with unsigned short values # Column 5: INT16 [no units, i16] Column with short values # Column 7: INT32 [no units, i32] Column with long values # Column 8: INT64 [no units, i64] Another column of long values # Column 9: FLOAT32 [no units, f32,-99] Column with float values # Column 6: UINT32 [,u32] # IMPORTANT NOTE FOR FITS ASCII tables: CFITSIO will give its error # 412 (data type conversion overflow) when the number cannot be # printed in the provided space (with full precision). So make sure # that the full-integer part of the number has less characters than # the 'width - precision - 1' (when everything is default, you can get # these values from 'lib/gnuastro/table.h'). # Copyright (C) 2015-2022 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice and # this notice are preserved. This file is offered as-is, without any # warranty. 1 -1 The vertical lines 3455 -3455 1 -1 9 1874.103872 8.391334343995 1 2 -2 are only for easy 3466 -3466 2 -2 10 123.93373 893.3497e5 2 3 -3 visual identification 3467 -3467 3 -3 12 -0.737648 nan 3 4 -4 of the limits of this 3468 -3468 4 -4 800 78.983 8.2328438e8 4 5 -5 |string column. | 3469 -3469 5 -5 8923 -99 -7.32384e4 5 6 -6 |characters beyond | 20821 -20821 6 -6 9823 -99 nan 6 7 -7 the last one will be 20822 -20822 7 -7 7232 9999 8.3343e-5 7 8 -8 read as a number. 20823 -20823 8 -8 921 2.3 934892734.82 8 9 -9 With@Some#!STRANGE@ 60983 -25722 9 -9 8127 -99 3474924.489252 9 10 -10 Characters%^&*()~ 62182 -30100 10 -10 8287 7.3e-4 -3467.3432e5 10 11 -12 no data 65500 -32700 11 -11 999 8.73E2 nan 11 255 -12 -- Last Line :-) -- 65501 -32701 12 -12 8282 892.23 8975.3653 12