Location
Description
This class serves two purposes. If a single location is specified or if the location code “00” is specified, this will be geographic location of the corresponding Station in StationXML. The rest of locations serve to group channels that treat the signal of a single sensor. They can be physically in other geographic locations or not.
Python class:
Location
YAML / JSON label:
location:
Corresponding StationXML structure
None
Location codes appear in channels of a given instrumentation. All locations corresponding to these codes are specified as individual attributes in the channel section of StationXML.
Object Hierarchy
Superclass
None
Subclasses
None
Relationships
Attributes
Name |
Type |
Required |
Default |
Equivalent StationXML |
Remarks |
code |
string |
Y |
None |
||
base |
N |
None |
None |
Individual fields of base in Station attribute. See LocationBase for details. |
|
position: |
Position |
Y |
None |
None |
|
|
number |
Y |
None |
Expressed in degrees/min/sec/fractions of sec. |
|
|
number |
Y |
None |
Expressed in degrees/min/sec/fractions of sec. |
|
|
number |
Y |
None |
Expressed in meters |
JSON schema
https://www.gitlab.com/resif/obsinfo/-/tree/master/obsinfo/data/schemas/network.schema.json
https://www.gitlab.com/resif/obsinfo/-/tree/master/obsinfo/data/schemas/definitions.schema.json
Example
Facility section in network information file https://www.gitlab.com/resif/obsinfo/-/tree/master/obsinfo/_examples/Information_Files/network/SPOBS.INSU-IPGP.network.yaml
locations:
"00":
base: {$ref: 'location_bases/SURFACE_DROP.location_base.yaml#location_base'}
position: {lon: -32.32504, lat: 37.29744, elev: -2030}