This file is indexed.

/usr/share/metview/etc/ObjectSpec.OutputFormats is in metview-data 5.0.0~beta.1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
############################################
#  User Interface (Editor) definition
############################################

object,
    class               = PSOUTPUT,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/PSOutputDef',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/PSOUTPUT.icon',
    default_name        = PS Output,
    help_page           = Output_Formats_and_Destinations,
    type                = Window,
    macro               = ps_output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit
   
object,
    class               = KMLOUTPUT,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/KMLOutputDef',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/PSOUTPUT.icon',
    default_name        = KML Output,
    help_page           = Output_Formats_and_Destinations, #-- not the best one!
    type                = Window,
    macro               = kml_output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit

object,
    class               = SVGOUTPUT,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/SVGOutputDef',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/SVGOUTPUT.icon',
    default_name        = SVG Output,
    help_page           = Output_Formats_and_Destinations, #-- not the best one!
    type                = Window,
    macro               = svg_output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit

object,
    class               = PNGOUTPUT,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/PNGOutputDef',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/PSOUTPUT.icon',
    default_name        = PNG Output,
    help_page           = Output_Formats_and_Destinations, #-- not the best one!
    type                = Window,
    macro               = png_output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit

object,
    class               = PDFOUTPUT,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/PDFOutputDef',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/PSOUTPUT.icon',
    default_name        = PDF Output,
    help_page           = Output_Formats_and_Destinations, #-- not the best one!
    type                = Window,
    macro               = pdf_output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit

object,
    class               = EPSOUTPUT,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/EPSOutputDef',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/PSOUTPUT.icon',
    default_name        = EPS Output,
    help_page           = Output_Formats_and_Destinations, #-- not the best one!
    type                = Window,
    macro               = eps_output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit


# REMOVE LATER #############################
# This is a temporary solution to make the Metview 3 output, e.g. DEVICE_DRIVER,
# backwards compatible with Metview 4
object,
    class               = DEVICE_DRIVER,
    can_be_created      = False,
    definition_file     = '$METVIEW_DIR_SHARE/etc/DeviceDriverDef',
    rules_file          = '$METVIEW_DIR_SHARE/etc/DeviceDriverRules',
    pixmap            	= '$METVIEW_DIR_SHARE/icons/DEVICE.icon',
    default_name        = Output Device,
    help_page           = Output_Formats_and_Destinations, #-- not the best one!
    type                = Window,
    macro               = output,
    editor_type         = SimpleEditor,
    graphical_editor  	= NoEditor,
    expand              = 16, # EXPAND_2ND_NAME! # 32,#EXPAND_FIRST_NAME
    doubleclick_method  = Edit

state,
	class    = DEVICE_DRIVER,
	action   = execute,
	service  = uPlotBatch


############################################
#  File definition
############################################

object,
	class              = PSFILE,
	check              = False,
	type               = File,
	default_object     = False,
	default_name	   = Postscript File,
	doubleclick_method = Visualise,
	editor_type        = TextEditor,
	pixmap             = '$METVIEW_DIR_SHARE/icons/PSFILE.icon',
        default_method	   = Visualise

object,
	class              = KML,
	check              = False,
	default_object     = False,
	type               = File,
	pixmap             = '$METVIEW_DIR_SHARE/icons/KML.icon',
	default_name       = HTML File,
	editor_type        = TextEditor

object,
	class              = SVG,
	check              = False,
	default_object     = False,
	type               = File,
        doubleclick_method = Visualise,
	pixmap             = '$METVIEW_DIR_SHARE/icons/SVG.icon',
	default_name       = SVG File,
	editor_type        = TextEditor,
        default_method	   = Visualise

object,
	class              = PNG,
	check       	   = False,
	default_object     = False,
	type        	   = File,
        doubleclick_method = Visualise,
	pixmap      	   = '$METVIEW_DIR_SHARE/icons/PNG.icon',
	default_name       = PNG File,
	editor_type 	   = NoEditor,
        default_method	   = Visualise

object,
	class              = PDF,
	check              = False,
	default_object     = False,
	type               = File,
	doubleclick_method = Visualise,
        pixmap             = '$METVIEW_DIR_SHARE/icons/PDF.icon',
	default_name       = PDF File,
	editor_type        = NoEditor,
        default_method	   = Visualise

object,
	class              = EPS,
	check              = False,
	type               = File,
	default_object     = False,
	default_name	   = EncapsulatedPostscript File,
	doubleclick_method = Visualise,
	editor_type        = TextEditor,
	pixmap             = '$METVIEW_DIR_SHARE/icons/PSFILE.icon',
        default_method	   = Visualise

object,
	class              = JPEG,
	check       	   = False,
	default_object     = False,
	type        	   = File,
        doubleclick_method = Visualise,
	pixmap      	   = '$METVIEW_DIR_SHARE/icons/JPEG.icon',
	default_name       = JPEG File,
	editor_type 	   = NoEditor,
        default_method	   = Visualise

object,
	class              = GIF,
	check       	   = False,
	default_object     = False,
	type        	   = File,
        doubleclick_method = Visualise,
	pixmap      	   = '$METVIEW_DIR_SHARE/icons/GIF.icon',
	default_name       = GIF File,
	editor_type 	   = NoEditor,
        default_method	   = Visualise

object,
	class              = TIFF,
	check       	   = False,
	default_object     = False,
	type        	   = File,
        doubleclick_method = Visualise,
	pixmap      	   = '$METVIEW_DIR_SHARE/icons/TIFF.icon',
	default_name       = TIFF File,
	editor_type 	   = NoEditor,
        default_method	   = Visualise

############################################
#  Output Formats (to be used by uPlot)
############################################

output_format,
	class		= PS,
	output  	= PSOUTPUT

output_format,
	class		= KML,
	output  	= KMLOUTPUT

output_format,
	class		= SVG,
	output  	= SVGOUTPUT

output_format,
	class		= PNG,
	output  	= PNGOUTPUT

output_format,
	class		= PDF,
	output  	= PDFOUTPUT

output_format,
	class		= EPS,
	output  	= EPSOUTPUT


############################################
#  State machine definition
############################################

state,
	class	     = PSFILE,
	action       = visualise,
	service      = '($METVIEW_PS_VIEWER \"%s\")'

state,
	class        = KML,
	action	     = visualise,
	service      = '($METVIEW_KML_VIEWER \"%s\")'

state,
	class        = KML,
	action	     = examine,
	service      = macroedit

state,
	class	     = KML,
	action	     = save,
	service	     = savepool

state,
	class        = SVG,
	action	     = visualise,
	service      = '($MV_BROWSER_NAME \"%s\")'

state,
	class        = SVG,
	action	     = examine,
	service      = '(inkscape \"%s\")'

state,
	class        = PNG,
	action	     = visualise,
	service      = '($METVIEW_PNG_VIEWER \"%s\")'

state,
	class        = PNG,
	action	     = examine,
	service      = '($METVIEW_RASTER_EDITOR \"%s\")'

state,
	class        = PDF,
	action	     = visualise,
	service      = '($METVIEW_PDF_VIEWER \"%s\")'

state,
	class	     = EPS,
	action       = visualise,
	service      = '($METVIEW_PS_VIEWER \"%s\")'

state,
	class        = JPEG,
	action	     = visualise,
	service      = '($METVIEW_JPEG_VIEWER \"%s\")'

#state,
#	class        = JPEG,
#	action	     = examine,
#	service      = '($METVIEW_RASTER_EDITOR \"%s\")'

state,
	class        = GIF,
	action	     = visualise,
	service      = '($METVIEW_GIF_VIEWER \"%s\")'

#state,
#	class        = GIF,
#	action	     = examine,
#	service      = '($METVIEW_RASTER_EDITOR \"%s\")'

state,
	class        = TIFF,
	action	     = visualise,
	service      = '($METVIEW_TIFF_VIEWER \"%s\")'

#state,
#	class        = TIFF,
#	action	     = examine,
#	service      = '($METVIEW_RASTER_EDITOR \"%s\")'