class_docstr: File handler for SMOS L2 wind netCDF files.
class_docstr_tok: ["File","handler","for","SMOS","L2","wind","netCDF","files","."]
docstr: Get dataset.
docstr_tok: ["Get","dataset","."]
code: def get_dataset(self, ds_id, ds_info):
      """Get dataset."""
      data = self[ds_id["name"]]
      data.attrs = self.get_metadata(data, ds_info)
      data = self._remove_time_coordinate(data)
      data = self._roll_dataset_lon_coord(data)
      data = self._rename_coords(data)
      data = self._mask_dataset(data)
      if len(data.dims) >= 2 and all(
          [dim in data.dims for dim in ["x", "y"]]
      ):
          # Remove the first and last row as these values extends beyond +-90 latitude
          # if the dataset contains the y dimmension.
          # As this is data over open sea these has no values.
          data = data.where(
              (data.y > -90.0) & (data.y < 90.0), drop=True
          )
      elif len(data.dims) == 1 and "y" in data.dims:
          data = data.where(
              (data.y > 0) & (data.y < len(data.y) - 1), drop=True
          )
      return data
  
imports: import logging
  from datetime import datetime
  import numpy
  from pyresample.geometry import AreaDefinition
  from satpy.readers.netcdf_utils import NetCDF4FileHandler, netCDF4
label_desc: Use image node_id 12 for calling the SMOSL2WINDFileHandler obj's underlying member method code with example usage: obj.get_dataset(ds_id, ds_info) and returns: data