read
- CSV.read(file_info, fields=None, **kwargs)[source]
Read a CSV file and return an xarray.Dataset with its content
- Parameters:
file_info – Path and name of the file as string or FileInfo object.
fields – Field that you want to extract from the file. If not given, all fields are going to be extracted.
**kwargs – Additional keyword arguments for the pandas function pandas.read_csv. See for more details: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html
- Returns:
A xarray.Dataset object.