import dascore as dc
= dc.get_example_spool("diverse_das")
spool # subselect data in a particular time range
= ('2020-01-03', '2020-01-03T00:00:10')
time = spool.select(time=time)
time_spool # subselect based on matching tag parameter
= spool.select(tag='some*') tag_spool
select
select(
self ,
**kwargs ,
)-> ‘Self’
Sub-select parts of the spool.
Can be used to specify dimension ranges, or unix-style matches on string attributes.
Parameters
Parameter | Description |
---|---|
**kwargs |
Specifies query. Can be of the form {dim_name=(start, stop)} or {attr_name=query}. |