swot_simulator.plugins.data_handler.DatasetLoader.load_dataset#
- abstract DatasetLoader.load_dataset(first_date: datetime64, last_date: datetime64) Dataset [source]#
Loads the data under the form of a xr.Dataset. The loaded dataset should contain values that allow interpolating first_date and last_date. This means its time interval is a little large than.
[first_date, last_date].
Moreover, the dataset should refer to the longitude, latitude, time and sea surface height using canonical names: lon, lat, time, ssh
- Parameters
first_date (numpy.datetime64) – The first date that needs to be interpolated
last_date (numpy.datetime64) – The last date that needs to be interpolated
- Returns
dataset containing lon, lat, time and ssh variables, with canonical names.
- Return type
xr.Dataset
See also