1konve(1) C-Munipack 1.2 konve(1)
2
3
4
6 konve - utility for conversion of CCD frames to the FITS format
7
9 konve [ options ] input-files ...
10
12 The konve command converts CCD frames from the format used by camera
13 controling software to FITS format. The correction of time of observa‐
14 tion or image flipping can be applied also.
15
16 The program can be run in several modes, the mode is selected by com‐
17 mand-line parameters. Besides the usual conversion mode, it allows
18 printing header informations of source files in short or detailed form.
19 You can convert header only while not copying the image. Additional
20 informations, which shall be written to the output files can be given
21 in parameter file.
22
23 Current version of program supports reading SBIG (ST-xx) compressed and
24 uncompressed files and the FITS files also. Note, that you can use FITS
25 to FITS conversion for gathering files from many locations into one
26 directory. It will solve the file name collisions.
27
29 Names of input files can be specified directly on a command-line as
30 command arguments; it is allowed to use the usual wildcard notation. In
31 case the input files are placed outside the working directory, you have
32 to specify the proper path relative to the current working directory.
33
34 Alternatively, you can also prepare a list of input file names in a
35 text file, each input file on a separate line. It is not allowed to use
36 the wildcard notation here. Use the -i option to instruct the program
37 to read the file.
38
40 By default, output files are stored to the current working directory.
41 Their names are derived from the command name followed by a sequential
42 number starting by 1. Command options allows a caller to modify the
43 default naming of output files:
44
45 The -o option sets the format string; it may contain a path where the
46 files shall be stored to. Special meaning has a sequence of question
47 marks, it is replaced by the ordinal number of a file indented by
48 leading zeros to the same number of decimal places as the number of the
49 question marks.
50
51 By means of the -i option, you can modify the initial value of a
52 counter.
53
54 On request, the program can write a list of output files to a text
55 file, use the -g option to specify a file name.
56
58 Options are used to provide extra information to customize the execu‐
59 tion of a command. They are specified as command arguments.
60
61 Each option has a full form starting with two dashes and an optional
62 short form starting with one dash only. Options are case-sensitive. It
63 is allowed to merge two or more successive short options together. Some
64 options require a value; in this case a value is taken from a subse‐
65 quent argument. When a full form is used, an option and its value can
66 also be separated by an equal sign. When a short form is used, its
67 value can immediately follow the option.
68
69 Whenever there is a conflict between a configuration file parameter and
70 an option of the same meaning, the option always take precedence.
71
72 -n, --print-info
73 print short info about frames; don´t make any output file.
74
75 -e, --print-header
76 print content of the header; don´t make any output file.
77
78 -s, --set name=value
79 set value of configuration parameter
80
81 -p, --configuration-file filepath
82 read parameters from given configuration file. See the Configu‐
83 ration file section for details.
84
85 -e, --print-header value
86 flip image; value can be ´x´, ´y´ or ´xy´
87
88 -i, --read-dirfile filepath
89 read list of input files from specified file; see the Files sec‐
90 tion for details.
91
92 -g, --make-dirfile filepath
93 save list of output files to specified file, existing content of
94 the file will be overwritten; see the Files section for details.
95
96 -o, --output-mask mask
97 set output file mask (default=kout????.fts), see the Files sec‐
98 tion for details.
99
100 -c, --counter value
101 set initial counter value (default=1), see the Files section for
102 details.
103
104 -h, --help
105 print list of command-line parameters
106
107 -q, --quiet
108 quiet mode; suppress all messages
109
110 --version
111 print software version string
112
113 --licence
114 print software licence
115
116 --verbose
117 verbose mode; print debug messages
118
120 Configuration files are used to set the input parameters to the process
121 that is going to be executed by a command. Use the -p option to
122 instruct the program to read the file before other command-line options
123 are processed.
124
125 The configuration file consists of a set of parameters stored in a text
126 file. Each parameter is stored on a separate line in the following
127 form: name = value, all other lines are silently ignored. Parameter
128 names are case-sensitive.
129
130 flip-image = xy
131 flip image (value can be ´x´, ´y´ or ´xy´)
132
133 rotate-image = value
134 rotate image by angle in degrees (0, 90, 180 or 270)
135
137 konve -oout?.fts test1.st7 test2.st7 test3.st7
138 The command converts the files test1.st7, test2.st7 and
139 test3.st7 and writes the output to the files: out1.fts, out2.fts
140 and out3.fts.
141
143 The command returns a zero exit status if it succeeds to process all
144 specified files. Otherwise, it will stop immediately when an error
145 occurs and a nonzero error code is returned.
146
148 http://c-munipack.sourceforge.net/
149
151 David Motl, dmotl@volny.cz
152
154 This program is free software; you can redistribute it and/or modify it
155 under the terms of the GNU General Public License version 2 as pub‐
156 lished by the Free Software Foundation.
157
158 This program is distributed in the hope that it will be useful, but
159 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
160 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
161 Public License for more details.
162
164 cmunipack(3), muniwin(1), meanbias(1), meandark(1), autoflat(1), bias‐
165 bat(1), darkbat(1), flatbat(1), timebat(1), airmass(1), helcor(1), kom‐
166 bine(1), muniphot(1), munimatch(1), munilist(1)
167
168
169
170version 1.2.10 May 16, 2010 konve(1)