class_docstr: Test SMOS L2 WINDReader.
class_docstr_tok: ["Test","SMOS","L2","WINDReader","."]
docstr: Load roll of dataset along the lon coordinate.
docstr_tok: ["Load","roll","of","dataset","along","the","lon","coordinate","."]
code: def test_roll_dataset(self):
      """Load roll of dataset along the lon coordinate."""
      from xarray import DataArray
  
      from satpy.readers.smos_l2_wind import SMOSL2WINDFileHandler
  
      smos_l2_wind_fh = SMOSL2WINDFileHandler(
          "SM_OPER_MIR_SCNFSW_20200420T021649_20200420T035013_110_001_7.nc",
          {},
          filetype_info={"file_type": "smos_l2_wind"},
      )
      data = DataArray(np.arange(0.0, 360.0, 0.25), dims=("lon"))
      data = smos_l2_wind_fh._adjust_lon_coord(data)
      adjusted = smos_l2_wind_fh._roll_dataset_lon_coord(data)
      expected = np.arange(-180.0, 180.0, 0.25)
      assert adjusted.data.tolist() == expected.tolist()
  
file_path: satpy/satpy/tests/reader_tests/test_smos_l2_wind.py
imports: import os
  import unittest
  from datetime import datetime
  from unittest import mock
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 8 for calling the TestSMOSL2WINDReader obj's underlying member method code with example usage: obj.test_roll_dataset() without return types