1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
# 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 (12, i.e., the last) with no information.
# - A vector column.
# - 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]
# Column 11: VECTOR [no-units, f32(3)] Each row has three values
# 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-2025 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 +0.672147 +1.806462 -1.191592 1
2 -2 are only for easy 3466 -3466 2 -2 10 123.93373 893.3497e5 +5.600531 +3.342579 +4.003947 2
3 -3 visual identification 3467 -3467 3 -3 12 -0.737648 nan +8.286964 +1.593513 -11.908021 3
4 -4 of the limits of this 3468 -3468 4 -4 800 78.983 8.2328438e8 +1.831690 -0.370989 +10.096006 4
5 -5 |string column. | 3469 -3469 5 -5 8923 -99 -7.32384e4 -16.008546 +7.949368 +2.401607 5
6 -6 |characters beyond | 20821 -20821 6 -6 9823 -99 nan +1.724322 +1.178122 -1.299836 6
7 -7 the last one will be 20822 -20822 7 -7 7232 9999 8.3343e-5 +2.044397 +2.859421 -2.17172 7
8 -8 read as a number. 20823 -20823 8 -8 921 2.3 934892734.82 +9.722353 -5.720703 +4.191695 8
9 -9 With@Some#!STRANGE@ 60983 -25722 9 -9 8127 -99 3474924.489252 +2.304411 +6.798331 -1.780500 9
10 -10 Characters%^&*()~ 62182 -30100 10 -10 8287 7.3e-4 -3467.3432e5 +1.537032 -5.253743 +3.832875 10
11 -12 no data 65500 -32700 11 -11 999 8.73E2 nan +9.388170 -2.710523 +2.262376 11
255 -12 -- Last Line :-) -- 65501 -32701 12 -12 8282 892.23 8975.3653 -10.782658 +2.881371 +0.951901 12
|