import dascore as dc
spool = dc.get_example_spool("diverse_das")
# subselect data in a particular time range
time = ('2020-01-03', '2020-01-03T00:00:10')
time_spool = spool.select(time=time)
# subselect based on matching tag parameter
tag_spool = spool.select(tag='some*')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}. |