class_docstr: Handle a single SCMI NetCDF4 file.
class_docstr_tok: ["Handle","a","single","SCMI","NetCDF4","file","."]
docstr: Convert CF projection parameters to PROJ.4 dict.
docstr_tok: ["Convert","CF","projection","parameters","to","PROJ.4","dict","."]
code: def _get_proj_specific_params(self, projection):
      """Convert CF projection parameters to PROJ.4 dict."""
      proj = self._get_proj4_name(projection)
      proj_dict = {
          "proj": proj,
          "a": float(projection.attrs["semi_major_axis"]),
          "b": float(projection.attrs["semi_minor_axis"]),
          "units": "m",
      }
      if proj == "geos":
          proj_dict["h"] = float(
              projection.attrs["perspective_point_height"]
          )
          proj_dict["sweep"] = projection.attrs.get(
              "sweep_angle_axis", "y"
          )
          proj_dict["lon_0"] = float(
              projection.attrs["longitude_of_projection_origin"]
          )
          proj_dict["lat_0"] = float(
              projection.attrs.get("latitude_of_projection_origin", 0.0)
          )
      elif proj == "lcc":
          proj_dict["lat_0"] = float(
              projection.attrs["standard_parallel"]
          )
          proj_dict["lon_0"] = float(
              projection.attrs["longitude_of_central_meridian"]
          )
          proj_dict["lat_1"] = float(
              projection.attrs["latitude_of_projection_origin"]
          )
      elif proj == "stere":
          proj_dict["lat_ts"] = float(
              projection.attrs["standard_parallel"]
          )
          proj_dict["lon_0"] = float(
              projection.attrs["straight_vertical_longitude_from_pole"]
          )
          proj_dict["lat_0"] = float(
              projection.attrs["latitude_of_projection_origin"]
          )
      elif proj == "merc":
          proj_dict["lat_ts"] = float(
              projection.attrs["standard_parallel"]
          )
          proj_dict["lat_0"] = proj_dict["lat_ts"]
          proj_dict["lon_0"] = float(
              projection.attrs["longitude_of_projection_origin"]
          )
      else:
          raise ValueError("Can't handle projection '{}'".format(proj))
      return proj_dict
  
imports: import logging
  import os
  from datetime import datetime
  import numpy
  import xarray
  from pyresample import geometry
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 9 for calling the SCMIFileHandler obj's underlying member method code with example usage: obj._get_proj_specific_params(projection) and returns: proj_dict