class_docstr: Test SEVIRI L2 BUFR Reader.
docstr: Test data loaded with AreaDefinition and user defined rectification longitude.
docstr_tok: ["Test","data","loaded","with","AreaDefinition","and","user","defined","rectification","longitude","."]
code: def test_data_with_rect_lon(self, input_file):
      """Test data loaded with AreaDefinition and user defined rectification longitude."""
      bufr_obj = SeviriL2BufrData(
          input_file, with_adef=True, rect_lon=0.0
      )
      np.testing.assert_equal(bufr_obj.fh.ssp_lon, 0.0)
      _ = bufr_obj.get_data(
          DATASET_INFO_LAT
      )  # We need to load the lat/lon data in order to
      _ = bufr_obj.get_data(
          DATASET_INFO_LON
      )  # populate the file handler with these data
      _ = bufr_obj.get_data(
          DATASET_INFO
      )  # We need to lead the data in order to create the AreaDefinition
  
      ad = bufr_obj.fh.get_area_def(None)
      assert ad == AREA_DEF_FES
  
imports: import sys
  import unittest
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from pyresample import geometry
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 6 for calling the TestSeviriL2BufrReader obj's underlying member method code with example usage: obj.test_data_with_rect_lon(input_file) without return types