class_docstr: Swap-in HDF5 File Handler.
class_docstr_tok: ["Swap-in","HDF5","File","Handler","."]
code: def _add_granule_specific_info_to_file_content(
      self,
      file_content,
      dataset_group,
      num_granules,
      num_scans_per_granule,
      gran_group_prefix,
  ):
      lons_lists = self._get_per_granule_lons()
      lats_lists = self._get_per_granule_lats()
      file_content["{prefix3}/NumberOfScans"] = np.array(
          [48] * num_granules
      )
      for granule_idx in range(num_granules):
          prefix_gran = "{prefix}/{dataset_group}_Gran_{idx}".format(
              prefix=gran_group_prefix,
              dataset_group=dataset_group,
              idx=granule_idx,
          )
          num_scans = num_scans_per_granule[granule_idx]
          file_content[
              prefix_gran + "/attr/N_Number_Of_Scans"
          ] = num_scans
          file_content[
              prefix_gran + "/attr/G-Ring_Longitude"
          ] = lons_lists[granule_idx]
          file_content[
              prefix_gran + "/attr/G-Ring_Latitude"
          ] = lats_lists[granule_idx]
  
imports: import os
  import unittest
  from contextlib import contextmanager
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers.viirs_atms_sdr_base import DATASET_KEYS
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 3 for calling the FakeHDF5FileHandler2 obj's underlying member method code with example usage: obj._add_granule_specific_info_to_file_content(file_content, dataset_group, num_granules, num_scans_per_granule, gran_group_prefix) without return types