@@ -261,7 +261,7 @@ def __init__(self, source, version=None, default_stream_key='_stream'):
261
261
# Return a list with just one ContextConfig
262
262
self ._calls += list (ContextConfig (self .config ).calls )
263
263
elif dict_depth (self .config ) >= 4 :
264
- # This is a StreamConfig
264
+ # This is a Config
265
265
self ._calls += list (ContextConfig (odict (streams = self .config )).calls )
266
266
else :
267
267
# This is a QcConfig
@@ -353,7 +353,7 @@ def add(self, source) -> None:
353
353
354
354
355
355
class ContextConfig :
356
- """A collection of a Region, a TimeWindow and a list of StreamConfig objects
356
+ """A collection of a Region, a TimeWindow and a list of Config objects
357
357
358
358
Defines a set of quality checks to run against multiple input streams.
359
359
This can include a region and a time window to subset any DataStreams by before running checks.
@@ -366,11 +366,11 @@ class ContextConfig:
366
366
ending: 2020-04-01T00:00:00Z
367
367
streams:
368
368
variable1: # stream_id
369
- qartod: # StreamConfig
369
+ qartod: # Config
370
370
location_test:
371
371
bbox: [-80, 40, -70, 60]
372
372
variable2: # stream_id
373
- qartod: # StreamConfig
373
+ qartod: # Config
374
374
gross_range_test:
375
375
suspect_span: [1, 11]
376
376
fail_span: [0, 12]
@@ -382,7 +382,7 @@ class ContextConfig:
382
382
config (odict): dict representation of the parsed ContextConfig source
383
383
region (GeometryCollection): A `shapely` object representing the valid geographic region
384
384
window (namedtuple): A TimeWindow object representing the valid time period
385
- streams (odict): dict representation of the parsed StreamConfig objects
385
+ streams (odict): dict representation of the parsed Config objects
386
386
"""
387
387
388
388
def __init__ (self , source : ConfigTypes ):
0 commit comments