pyrocko.config¶
User configuration file handling.
Classes
|
Undocumented. |
|
Path, possibly containing placeholders. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
- class SnufflerConfig(**kwargs)[source]¶
Bases:
ConfigBase
Undocumented.
- ♦ visible_length_setting¶
list
ofVisibleLengthSetting
objects, default:[<pyrocko.config.VisibleLengthSetting object at 0x7f1e97a81450>, <pyrocko.config.VisibleLengthSetting object at 0x7f1e977ebd10>, <pyrocko.config.VisibleLengthSetting object at 0x7f1e977ebc90>, <pyrocko.config.VisibleLengthSetting object at 0x7f1e977ebc10>]
- ♦ phase_key_mapping¶
dict
ofstr
objects, default:{'F1': 'P', 'F2': 'S', 'F3': 'R', 'F4': 'Q', 'F5': '?'}
- ♦ demean¶
bool
, default:True
- ♦ show_scale_ranges¶
bool
, default:False
- ♦ show_scale_axes¶
bool
, default:False
- ♦ trace_scale¶
str
, default:'individual_scale'
- ♦ show_boxes¶
bool
, default:True
- ♦ clip_traces¶
bool
, default:True
- ♦ first_start¶
bool
, default:True
- class PyrockoConfig(**kwargs)[source]¶
Bases:
ConfigBase
Undocumented.
- ♦ cache_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/cache'
- ♦ earthradius¶
float
, default:6371000.0
- ♦ fdsn_timeout¶
float
, optional
- ♦ gf_store_dirs¶
list
ofstr
(PathWithPlaceholders
) objects, default:[]
- ♦ gf_store_superdirs¶
list
ofstr
(PathWithPlaceholders
) objects, default:[]
- ♦ topo_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/topo'
- ♦ tectonics_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/tectonics'
- ♦ geonames_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/geonames'
- ♦ crustdb_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/crustdb'
- ♦ gshhg_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/gshhg'
- ♦ volcanoes_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/volcanoes'
- ♦ fault_lines_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/fault_lines'
- ♦ colortables_dir¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/colortables'
- ♦ leapseconds_path¶
str
(PathWithPlaceholders
), default:'~/.pyrocko/leap-seconds.list'
- ♦ leapseconds_url¶
str
, default:'https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list'
- ♦ earthdata_credentials¶
tuple
of 2str
objects, optional
- ♦ gui_toolkit¶
str
(pyrocko.guts.StringChoice
), default:'auto'
- ♦ use_high_precision_time¶
bool
, default:False