class_docstr: Writer class of fake mws level-1b data.
docstr: Write attributes.
docstr_tok: ["Write","attributes","."]
code: def _write_attributes(dataset):
      """Write attributes."""
      dataset.sensing_start_time_utc = "2000-01-02 03:04:05.000"
      dataset.sensing_end_time_utc = "2000-01-02 04:05:06.000"
      dataset.instrument = "MWS"
      dataset.spacecraft = "SGA1"
  
imports: import logging
  from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.mws_l1b import MWSL1BFile, get_channel_index_from_name
label_desc: Use image node_id 3 for calling the MWSL1BFakeFileWriter obj's underlying member method code with example usage: obj._write_attributes(dataset) without return types