Configuring GWpy from the environment#
GWpy can be configured by setting environment variables at run time.
Environment variables#
The following variables are understood:
Variable |
Type |
Default |
Purpose |
|---|---|---|---|
|
Whether to cache downloaded files from GWOSC to prevent repeated downloads |
||
|
String |
The library to prefer when reading GWF
data, one of |
|
|
Whether to configure the logging system when GWpy starts |
||
|
String |
|
The format to use when printing datetimes in log messages, see logging-basic-tutorial. |
|
String |
|
The format to use when emitting log messages, see logging-basic-tutorial. |
|
String or Number |
|
The logging level to use, see Logging Levels. Default is |
|
Whether to update |
||
|
Whether to use LaTeX when rendering images,
only used when |
Boolean variables#
Many of the variables are boolean switches, meaning they just tell GWpy to
do something, or not to do something. The following values match as True:
The matching is case-independent, so, for example, 'TRUE' will
match as True.