7.4.3.8. Vector CSV Dataloader

The vector CSV dataloader is designed to take any .csv file and cast it into a data source for mesh construction. It was primarily used in testing for loading dummy data to test performance. As such, there is no data source for this dataloader.

Name in config: 'vector_csv'

class meshiphi.dataloaders.vector.vector_csv.VectorCSVDataLoader(bounds, params)
import_data(bounds)

Reads in data from a CSV file.

Parameters:

bounds (Boundary) – Initial boundary to limit the dataset to

Returns:

Vector dataset within limits of bounds. Dataset has coordinates ‘lat’, ‘long’, potentially ‘time’, and variable defined by column heading in csv file

Return type:

pd.DataFrame