code: def create_message():
      """Create fake message for testing."""
      nlat = 10
      nlon = 10
      samples = nlat * nlon
      lat, lon = np.meshgrid(
          np.linspace(63, 65, nlat), np.linspace(-30, -20, nlon)
      )
      lat = np.round(np.ravel(lat), 4)
      lon = np.round(np.ravel(lon), 4)
      rstate = np.random.RandomState(0)
      surfaceSoilMoisture = np.round(rstate.rand(samples) * 100, 1)
      surfaceSoilMoisture[0] = -1e100
      retmsg = {
          "inputDelayedDescriptorReplicationFactor": [8],
          "edition": 4,
          "masterTableNumber": 0,
          "bufrHeaderCentre": 254,
          "bufrHeaderSubCentre": 0,
          "updateSequenceNumber": 0,
          "dataCategory": 12,
          "internationalDataSubCategory": 255,
          "dataSubCategory": 190,
          "masterTablesVersionNumber": 13,
          "localTablesVersionNumber": 0,
          "typicalYear": 2020,
          "typicalMonth": 12,
          "typicalDay": 21,
          "typicalHour": 9,
          "typicalMinute": 33,
          "typicalSecond": 0,
          "numberOfSubsets": samples,
          "observedData": 1,
          "compressedData": 1,
          "unexpandedDescriptors": 312061,
          "centre": 254,
          "subCentre": 0,
          "#1#softwareIdentification": 1000,
          "satelliteIdentifier": 4,
          "satelliteInstruments": 190,
          "year": 2020,
          "month": 12,
          "day": 21,
          "hour": 9,
          "minute": 33,
          "second": np.linspace(0, 59, samples),
          "latitude": lat,
          "longitude": lon,
          "surfaceSoilMoisture": surfaceSoilMoisture,
          "soilMoistureQuality": np.zeros(samples),
      }
      return retmsg
  
file_path: satpy/satpy/tests/reader_tests/test_ascat_l2_soilmoisture_bufr.py
imports: import os
  import sys
  import unittest
  from datetime import datetime
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: create_message() and returns: retmsg