xoa.open_data_sample

xoa.open_data_sample(filename, **kwargs)[source]

Open a data sample with xarray.open_dataset() or pandas.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