xoa.data_samples.open_data_sample#
- xoa.data_samples.open_data_sample(filename, **kwargs)[source]#
Open a data sample with
xarray.open_dataset()orpandas.read_csv()- Parameters:
filename (str) – File name of the sample. If not an existing sample, a warning is raised and if the path exists and has a csv or nc extension, it is opened.
- Returns:
xarray.Dataset, pandas.DataFrame
Example
See also