| xdimtogf | tables.fitsio | xdimtogf |
xdimtogf -- Convert a single group (N+1)-dimensional GEIS file to a multigroup GEIS file.
xdimtogf input output
This program will take as input, a one-group file that has an extra dimension to account for groups, and a table with the names and values of the parameters for each group. The output is a multigroup GEIS file with as many groups as the dimensionality of the last dimension of the last input file.
The input file should have the following keywords and values:
GROUPS = F /No groups PSIZE = 0 /Size of the GPB PCOUNT = 0 /Number of parameters GCOUNT = 1 /One group file SDASMGNU = 12 /12 is the value of the extra /dimension
1. Create a multigroup file from a FITS file and table. Notice that the table is not present in the arguments. The program will look for ifile.tab.
fi> xdimtogf ifile.hhh outfile.hhh verbose+
The combination <root>_cvt.??h and <root>_cvt.tab, where the ?? are 2 characters different from hh, is not allowed.
At this time the suffix _cvt is special and it will work only if the filename extension is hhh, e.g. <root>_cvt.hhh and <root_cvt>.tab.
The input file name can have only one extension, e.g., a file name such as file.c0h.hhh would not be allowed.