pyrocko.gui.sparrow.elements.gshhg

Classes

GSHHGDatasetChoice(...)

Any str out of ['coastlines', 'borders', 'rivers'].

GSHHGResolutionChoice(...)

Any str out of ['crude', 'low', 'intermediate', 'high', 'full'].

GSHHGState(**kwargs)

Undocumented.

class GSHHGDatasetChoice(...) str[source]

Bases: StringChoice

Any str out of ['coastlines', 'borders', 'rivers'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class GSHHGResolutionChoice(...) str[source]

Bases: StringChoice

Any str out of ['crude', 'low', 'intermediate', 'high', 'full'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class GSHHGState(**kwargs)[source]

Bases: ElementState

Undocumented.

visible

bool, default: True

dataset

str (GSHHGDatasetChoice), default: 'coastlines'

resolution

str (GSHHGResolutionChoice), default: 'low'

opacity

float, default: 0.4

color

pyrocko.color.Color, default: Color('white')

line_width

float, default: 1.0