sample_data¶
Module sample_data contains ...
sample_data_dir(do_warn=True)
¶
Probe for the location of sample data directory (too big for package inclusion)
Probe for the location of sample data directory (too big for package inclusion), defined by the SWIFT_SAMPLE_DATA_DIR environment variable.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
doWarn |
bool
|
issue a warning if SWIFT_SAMPLE_DATA_DIR env var is not set |
required |
Returns:
Type | Description |
---|---|
path to the sample data directory |
Source code in uchronia/sample_data.py
sample_time_series_library(ident)
¶
Get one of the sample time series libraries included in this package
Get one of the sample time series libraries included in this package
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ident |
Any
|
an identifier for the library. Choice (case insensitive): 'Upper Murray', 'Stanley' |
required |
Returns:
Type | Description |
---|---|
a time series library |