spyfit.load_dataset¶
-
spyfit.
load_dataset
(filename_or_path, fmt='netcdf')¶ Load a retrieval dataset stored in a given format.
Parameters: filename_or_path : str or sequence
name or path to the file or directory. Multiple file name(s) or directorie(s) can be given (not yet implemented).
fmt : {‘netcdf’, ‘sfit4’, ‘geoms’}
supported formats are netcdf (default) and sfit4 input/output ascii files. GEOMS format is not yet implemented.
Returns: xarray.Dataset
if multiple filenames or paths are given, it will try to merge the data into a single xarray.Dataset.