LocationBase

Description

LocationBase specifies parameters specific to a type of location.

Python class:

LocationBase

YAML / JSON label:

location_base

Corresponding StationXML structure

None

Individual attributes in this class belong to the Station attributes.

Object Hierarchy

Superclass

None

Subclasses

None

Relationships

Attributes

Name

Type

Required

Default

Equivalent StationXML

Remarks

uncertainties

dictionary of {lat: number, lon:number, elev: number}

Y

None

Included in latitude, longitude and elevation (see Class Location)

In meters. As uncertainties.m in YANL / JSON

depth

number

Y

None

None

In meters. As depth.m in YANL / JSON

geology

string

Y

None

Geology

vault

string

Y

None

Vault

localisation_method

string

Y

None

None

Added in Comment in StationXML

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

LocationBase information file `https://www.gitlab.com/resif/obsinfo/-/tree/master/obsinfo/_examples/Information_Files/location_bases/SURFACE_DROP.location_base.yaml>`_

---
format_version: "0.107"
revision:
   date: "2018-06-01"
   authors:
       - $ref: "Wayne_Crawford.author.yaml#author"
location_base:
   depth.m: 0
   geology: "unknown"
   vault: "Sea floor"
   uncertainties.m: {lon: 200, lat: 200, elev: 20}
   localisation_method: "Sea surface release point"

Class Navigation

Location <==