swot_simulator.product_specification.Nadir.to_xarray

Nadir.to_xarray(cycle_number: int, pass_number: int, complete_product: bool) → xarray.core.dataset.Dataset[source]

Converts this instance into a xarray dataset.

Parameters
  • cycle_number (int) – Cycle number.

  • pass_number (int) – Pass number.

  • complete_product (bool) – True if you want to obtain a complete SWOT dataset, i.e. containing all the variables of the official dataset, even those not calculated by the simulator.

Returns

xarray dataset

Return type

xr.Dataset