105 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			105 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<seiscomp>
 | 
						|
	<module name="invextr" category="Inventory">
 | 
						|
		<description>
 | 
						|
		Extract and clean or remove streams from inventory.
 | 
						|
		</description>
 | 
						|
 | 
						|
		<configuration>
 | 
						|
		</configuration>
 | 
						|
 | 
						|
		<command-line>
 | 
						|
			<synopsis>
 | 
						|
				invextr [OPTIONS] [input=stdin] [output=stdout]
 | 
						|
			</synopsis>
 | 
						|
			<group name="Generic">
 | 
						|
				<optionReference>generic#help</optionReference>
 | 
						|
				<optionReference>generic#version</optionReference>
 | 
						|
				<optionReference>generic#config-file</optionReference>
 | 
						|
				<optionReference>generic#plugins</optionReference>
 | 
						|
				<optionReference>generic#daemon</optionReference>
 | 
						|
				<optionReference>generic#print-config-vars</optionReference>
 | 
						|
				<optionReference>generic#validate-schema-params</optionReference>
 | 
						|
				<optionReference>generic#dump-settings</optionReference>
 | 
						|
			</group>
 | 
						|
 | 
						|
			<group name="Verbosity">
 | 
						|
				<optionReference>verbosity#verbosity</optionReference>
 | 
						|
				<optionReference>verbosity#v</optionReference>
 | 
						|
				<optionReference>verbosity#quiet</optionReference>
 | 
						|
				<optionReference>verbosity#component</optionReference>
 | 
						|
				<optionReference>verbosity#syslog</optionReference>
 | 
						|
				<optionReference>verbosity#lockfile</optionReference>
 | 
						|
				<optionReference>verbosity#console</optionReference>
 | 
						|
				<optionReference>verbosity#debug</optionReference>
 | 
						|
				<optionReference>verbosity#log-file</optionReference>
 | 
						|
				<optionReference>verbosity#print-context</optionReference>
 | 
						|
				<optionReference>verbosity#print-component</optionReference>
 | 
						|
				<optionReference>verbosity#log-utc</optionReference>
 | 
						|
				<optionReference>verbosity#trace</optionReference>
 | 
						|
			</group>
 | 
						|
 | 
						|
			<group name="Extract">
 | 
						|
				<option flag="" long-flag="begin" argument="arg">
 | 
						|
					<description>
 | 
						|
						Begin time to consider streams. Streams ending at or
 | 
						|
						before that time will be ignored.
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
				<option flag="" long-flag="end" argument="arg">
 | 
						|
					<description>
 | 
						|
						End time to consider streams. Streams starting after
 | 
						|
						that time will be ignored.
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
				<option flag="" long-flag="chans" argument="arg">
 | 
						|
					<description>
 | 
						|
					A comma separated list of streams to extract or remove (--rm)
 | 
						|
					which can contain wildcards. Avoiding confusion with files
 | 
						|
					names due to SHELL extension requires to enclose stream codes
 | 
						|
					by quotes. Default: *.*.*.* meaning all streams. Unreferenced
 | 
						|
					sensors, data loggers and resonses are removed when extracting.
 | 
						|
					A comma separated list of channel IDs to extract which may
 | 
						|
					contain wildcards. Default: *.*.*.* meaning all streams.
 | 
						|
 | 
						|
					Example: invextr --chans "GE.*.*.BHZ,GE.MORC.*.*" inventory.xml
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
				<option flag="" long-flag="nslc" argument="arg">
 | 
						|
					<description>
 | 
						|
					Stream list file to be used for extracting inventory.
 | 
						|
					Wildcards can be used. --chans is ignored.
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
				<option flag="r" long-flag="region" argument="arg">
 | 
						|
					<description>
 | 
						|
					Filter streams by geographic region given as
 | 
						|
					"South,West,North,East". Region is unused by default.
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
				<option flag="" long-flag="rm" argument="arg">
 | 
						|
					<description>
 | 
						|
					Removes all channels given with '--chans' instead of
 | 
						|
					extracting them.
 | 
						|
 | 
						|
					Example: invextr --rm --chans "GE.*" inv.xml
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
			</group>
 | 
						|
			<group name="Output">
 | 
						|
				<option flag="f" long-flag="formatted">
 | 
						|
					<description>
 | 
						|
					Enable formatted XML output.
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
				<option flag="o" long-flag="output">
 | 
						|
					<description>
 | 
						|
					Name of output file. If not given or '-', output is sent to
 | 
						|
					stdout.
 | 
						|
					</description>
 | 
						|
				</option>
 | 
						|
			</group>
 | 
						|
		</command-line>
 | 
						|
	</module>
 | 
						|
</seiscomp>
 |