original_docstring: 
      Retrieve a pixel from the ECWMF invariant geo-potential
      dataset.
      Converts to Geo-Potential height in KM.
      2 metres is added to the result before returning.
      
docstring: Retrieve a pixel from the ECWMF invariant geo-potential
  dataset.
  Converts to Geo-Potential height in KM.
  2 metres is added to the result before returning.
docstring_tokens: Retrieve a pixel from the ECWMF invariant geo - potential dataset . Converts to Geo - Potential height in KM . 2 metres is added to the result before returning .
code: def ecwmf_elevation(datafile, lonlat):
      """
      Retrieve a pixel from the ECWMF invariant geo-potential
      dataset.
      Converts to Geo-Potential height in KM.
      2 metres is added to the result before returning.
      """
      try:
          data = get_pixel(datafile, lonlat) / 9.80665 / 1000.0 + 0.002
      except IndexError:
          raise AncillaryError("No Invariant Geo-Potential data")
  
      url = urlparse(datafile, scheme='file').geturl()
  
      metadata = {'data_source': 'ECWMF Invariant Geo-Potential',
                  'url': url}
  
      # ancillary metadata tracking
      md = extract_ancillary_metadata(datafile)
      for key in md:
          metadata[key] = md[key]
  
      return data, metadata
code_tokens: def ecwmf_elevation ( datafile , lonlat ) : try : data = get_pixel ( datafile , lonlat ) / 9.80665 / 1000.0 + 0.002 except IndexError : raise AncillaryError ( "No Invariant Geo-Potential data" ) url = urlparse ( datafile , scheme = 'file' ) . geturl ( ) metadata = { 'data_source' : 'ECWMF Invariant Geo-Potential' , 'url' : url } md = extract_ancillary_metadata ( datafile ) for key in md : metadata [ key ] = md [ key ] return data , metadata
short_docstring: Retrieve a pixel from the ECWMF invariant geo-potential
  dataset.
short_docstring_tokens: Retrieve a pixel from the ECWMF invariant geo - potential dataset .
comment: """
      Retrieve a pixel from the ECWMF invariant geo-potential
      dataset.
      Converts to Geo-Potential height in KM.
      2 metres is added to the result before returning.
      """$SEP$# ancillary metadata tracking