code: def read_nwcsaf_time(time_value):
      """Read the time, nwcsaf-style."""
      try:
          # MSG:
          try:
              return datetime.strptime(time_value, "%Y-%m-%dT%H:%M:%SZ")
          except (
              TypeError
          ):  # Remove this in summer 2024 (this is not needed since h5netcdf 0.14)
              return datetime.strptime(
                  time_value.astype(str), "%Y-%m-%dT%H:%M:%SZ"
              )
      except ValueError:
          # PPS:
          return datetime.strptime(time_value, "%Y%m%dT%H%M%S%fZ")
  
imports: import functools
  import logging
  import os
  from contextlib import suppress
  from datetime import datetime
  import dask.array
  import numpy
  import xarray
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.utils import unzip_file
  from satpy.utils import get_chunk_size_limit
label_desc: Use image node_id 2 for calling a global function with example usage: read_nwcsaf_time(time_value) and returns: datetime, datetime, datetime