class_docstr: Writer class of fake ici level1b data.
class_docstr_tok: ["Writer","class","of","fake","ici","level1b","data","."]
docstr: Write the navigation data group.
docstr_tok: ["Write","the","navigation","data","group","."]
code: def _write_navigation_data_group(dataset):
      """Write the navigation data group."""
      group = dataset.createGroup("navigation_data")
      group.createDimension("n_scan", N_SCAN)
      group.createDimension("n_samples", N_SAMPLES)
      group.createDimension("n_subs", N_SUBS)
      group.createDimension("n_horns", N_HORNS)
      subs = group.createVariable(
          "n_subs", "i4", dimensions=("n_subs",)
      )
      subs[:] = np.arange(N_SUBS)
      dimensions = ("n_scan", "n_subs", "n_horns")
      shape = (N_SCAN, N_SUBS, N_HORNS)
      longitude = group.createVariable(
          "longitude",
          np.float32,
          dimensions=dimensions,
      )
      longitude[:] = np.ones(shape)
      latitude = group.createVariable(
          "latitude",
          np.float32,
          dimensions=dimensions,
      )
      latitude[:] = 2.0 * np.ones(shape)
      azimuth = group.createVariable(
          "ici_solar_azimuth_angle",
          np.float32,
          dimensions=dimensions,
      )
      azimuth[:] = 3.0 * np.ones(shape)
      zenith = group.createVariable(
          "ici_solar_zenith_angle",
          np.float32,
          dimensions=dimensions,
      )
      zenith[:] = 4.0 * np.ones(shape)
      dimensions = ("n_scan", "n_samples", "n_horns")
      shape = (N_SCAN, N_SAMPLES, N_HORNS)
      delta_longitude = group.createVariable(
          "delta_longitude",
          np.float32,
          dimensions=dimensions,
      )
      delta_longitude[:] = 1000.0 * np.ones(shape)
      delta_latitude = group.createVariable(
          "delta_latitude",
          np.float32,
          dimensions=dimensions,
      )
      delta_latitude[:] = 1000.0 * np.ones(shape)
  
imports: from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.ici_l1b_nc import IciL1bNCFileHandler, InterpolationType
label_desc: Use image node_id 5 for calling the IciL1bFakeFileWriter obj's underlying member method code with example usage: obj._write_navigation_data_group(dataset) without return types