Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userguide:basics:preparing_the_geometry [2013/03/31 20:26]
Stefan [Creating a geometry in pSysmon]
userguide:basics:preparing_the_geometry [2016/01/13 14:15] (current)
Line 27: Line 27:
  
 ===== Import a geometry from a XML file ===== ===== Import a geometry from a XML file =====
 +A quick and easy way to import an existing inventory into the pSysmon database is using a XML file. The XML file has to be formatted in a special way. See the following simple inventory for an example:
 +<file xml simple_geometry.xml>​
 +<?xml version='​1.0'​ encoding='​UTF-8'?>​
 +<​inventory name="​ALPAACT">​
 +        <​recorder serial="​9D6C">​
 + <​type>​Reftek 130-01</​type>​
 +                <​description>​A test recorder.</​description>​
 + <​sensor_unit label="​GILA-HHZ-9D6C">​
 +   <​rec_channel_name>​101</​rec_channel_name>​
 + <​channel_name>​HHZ</​channel_name>​
 + <​sensor_serial>​1417</​sensor_serial>​
 + <​sensor_type>​Geospace Seismonitor 1Hz</​sensor_type>​
 + <​channel_parameters>​
 + <​start_time>​2009-01-01T00:​00:​00.000000Z</​start_time>​
 + <​end_time></​end_time>​
 + <​gain>​32</​gain>​
 + <​bitweight>​1.5895E-6</​bitweight>​
 + <​bitweight_units>​V/​count</​bitweight_units>​
 + <​sensitivity>​340.55</​sensitivity>​
 + <​sensitivity_units>​V/​m/​s</​sensitivity_units>​
 + <​response_paz>​
 + <​type></​type>​
 + <​units></​units>​
 + <​A0_normalization_factor>​0.4</​A0_normalization_factor>​
 + <​normalization_frequency>​+1.00000E+00</​normalization_frequency>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_pole>​-4.440 + 4.440j</​complex_pole>​
 + <​complex_pole>​-4.440 - 4.440j</​complex_pole>​
 + <​complex_pole>​-1.083+0.0j</​complex_pole>​
 + </​response_paz>​
 + </​channel_parameters>​
 + </​sensor_unit>​
 + <​sensor_unit label="​GILA-HHN-9D6C">​
 +   <​rec_channel_name>​102</​rec_channel_name>​
 + <​channel_name>​HHN</​channel_name>​
 + <​sensor_serial>​1417</​sensor_serial>​
 + <​sensor_type>​Geospace Seismonitor 1Hz</​sensor_type>​
 + <​channel_parameters>​
 + <​start_time>​2009-01-01T00:​00:​00.000000Z</​start_time>​
 + <​end_time></​end_time>​
 + <​gain>​32</​gain>​
 + <​bitweight>​1.5895E-6</​bitweight>​
 + <​bitweight_units>​V/​count</​bitweight_units>​
 + <​sensitivity>​340.55</​sensitivity>​
 + <​sensitivity_units>​V/​m/​s</​sensitivity_units>​
 + <​response_paz>​
 + <​type></​type>​
 + <​units></​units>​
 + <​A0_normalization_factor>​0.4</​A0_normalization_factor>​
 + <​normalization_frequency>​+1.00000E+00</​normalization_frequency>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_pole>​-4.440 + 4.440j</​complex_pole>​
 + <​complex_pole>​-4.440 - 4.440j</​complex_pole>​
 + <​complex_pole>​-1.083+0.0j</​complex_pole>​
 + </​response_paz>​
 + </​channel_parameters>​
 + </​sensor_unit>​
 + <​sensor_unit label="​GILA-HHE-9D6C">​
 +   <​rec_channel_name>​103</​rec_channel_name>​
 + <​channel_name>​HHE</​channel_name>​
 + <​sensor_serial>​1417</​sensor_serial>​
 + <​sensor_type>​Geospace Seismonitor 1Hz</​sensor_type>​
 + <​channel_parameters>​
 + <​start_time>​2009-01-01T00:​00:​00.000000Z</​start_time>​
 + <​end_time></​end_time>​
 + <​gain>​32</​gain>​
 + <​bitweight>​1.5895E-6</​bitweight>​
 + <​bitweight_units>​V/​count</​bitweight_units>​
 + <​sensitivity>​340.55</​sensitivity>​
 + <​sensitivity_units>​V/​m/​s</​sensitivity_units>​
 + <​response_paz>​
 + <​type></​type>​
 + <​units></​units>​
 + <​A0_normalization_factor>​0.4</​A0_normalization_factor>​
 + <​normalization_frequency>​+1.00000E+00</​normalization_frequency>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_zero>​0+0j</​complex_zero>​
 + <​complex_pole>​-4.440 + 4.440j</​complex_pole>​
 + <​complex_pole>​-4.440 - 4.440j</​complex_pole>​
 + <​complex_pole>​-1.083+0.0j</​complex_pole>​
 + </​response_paz>​
 + </​channel_parameters>​
 + </​sensor_unit>​
 + </​recorder>​
 +
 +
 + <​network code="​XX">​
 + <​code>​XX</​code>​
 + <​description>​A simple test network</​description>​
 + <​type>​test network</​type>​
 +
 +                <station code="​GILA">​
 +                        <​location>​00</​location>​
 +                        <​xcoord>​15.887788</​xcoord>​
 +                        <​ycoord>​47.695770</​ycoord>​
 +                        <​elevation>​643</​elevation>​
 +                        <​coord_system>​epsg:​4326</​coord_system>​
 +                        <​description>​Grillenberg</​description>​
 +                        <​assigned_sensor_unit>​
 +                                <​sensor_unit_label>​GILA-HHZ-9D6C</​sensor_unit_label>​
 +                                <​start_time>​2010-02-04T00:​00:​00.000000Z</​start_time>​
 +                                <​end_time></​end_time>​
 +                        </​assigned_sensor_unit>​
 +                        <​assigned_sensor_unit>​
 +                                <​sensor_unit_label>​GILA-HHN-9D6C</​sensor_unit_label>​
 +                                <​start_time>​2010-02-04T00:​00:​00.000000Z</​start_time>​
 +                                <​end_time></​end_time>​
 +                        </​assigned_sensor_unit>​
 +                        <​assigned_sensor_unit>​
 +                                <​sensor_unit_label>​GILA-HHE-9D6C</​sensor_unit_label>​
 +                                <​start_time>​2010-02-04T00:​00:​00.000000Z</​start_time>​
 +                                <​end_time></​end_time>​
 +                        </​assigned_sensor_unit>​
 +                </​station>​
 + </​network>​
 +
 +</​inventory>​
 +</​file>​