class_docstr: NWCSAF PPS&MSG NetCDF reader.
docstr: Drop x, y coords when y is scan line number.
docstr_tok: ["Drop","x",",","y","coords","when","y","is","scan","line","number","."]
code: def drop_xycoords(self, variable):
      """Drop x, y coords when y is scan line number."""
      try:
          if (
              variable.coords["y"].attrs["long_name"]
              == "scan line number"
          ):
              return variable.drop_vars(["y", "x"])
      except KeyError:
          pass
      return variable
  
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 4 for calling the NcNWCSAF obj's underlying member method code with example usage: obj.drop_xycoords(variable) and returns: variable, variable