electricblue
ElectricBlue is a non-profit technology transfer startup creating research-oriented solutions for the scientific community.
csv(path, encoding='utf-8')
¶
ElectricBlue csv data format parser
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
path to the csv file to parse |
required |
encoding |
str='UTF-8'
|
file encoding |
'utf-8'
|
Returns:
Type | Description |
---|---|
Dataset
|
xarray.Dataset |
Source code in ocean_data_parser/parsers/electricblue.py
log_csv(path, encoding='UTF-8', rename_variables=True)
¶
Parse ElectricBlue log csv file
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
path to the csv file |
required |
encoding |
str
|
File encoding. Defaults to "UTF-8". |
'UTF-8'
|
rename_variables |
bool
|
Rename variables to valid NetCDF names. Defaults to True. |
True
|
Returns:
Type | Description |
---|---|
Dataset
|
xarray.Dataset |