captest.io.DataLoader
- class captest.io.DataLoader(path: str = './data/', loc: dict | None = None, sys: dict | None = None, file_reader: object = <function file_reader>, files_to_load: list | None = None, failed_to_load: list | None = None)
Class to load SCADA data and return a CapData object.
Supports loading from local filesystems and S3 buckets. The optional``s3fs`` package must be installed for S3 support.
- __init__(path: str = './data/', loc: dict | None = None, sys: dict | None = None, file_reader: object = <function file_reader>, files_to_load: list | None = None, failed_to_load: list | None = None) None
Methods
__init__([path, loc, sys, file_reader, ...])file_reader(**kwargs)Read measured solar data from a csv file.
Combine the DataFrames of loaded_files into a single DataFrame.
load([extension, summary, verbose, ...])Load file(s) of timeseries data from SCADA / DAS systems.
reindex()reindex_loaded_files([verbose])Reindex files to ensure no missing indices and find frequency for each file.
set_files_to_load([extension])Set files_to_load attribute to a list of filepaths.
Attributes