class_docstr: Tests for getting the dataset.
class_docstr_tok: ["Tests","for","getting","the","dataset","."]
docstr: Test satellite position if there is no valid orbit polynomial.
docstr_tok: ["Test","satellite","position","if","there","is","no","valid","orbit","polynomial","."]
code: def test_satpos_no_valid_orbit_polynomial(self, file_handler):
      """Test satellite position if there is no valid orbit polynomial."""
      file_handler.header["15_DATA_HEADER"]["SatelliteStatus"]["Orbit"][
          "OrbitPolynomial"
      ] = ORBIT_POLYNOMIALS_INVALID
      dataset_id = make_dataid(
          name="VIS006", resolution=3000, calibration="counts"
      )
      dataset_info = {
          "units": "1",
          "wavelength": (1, 2, 3),
          "standard_name": "counts",
      }
      with pytest.warns(UserWarning, match="No orbit polynomial"):
          xarr = file_handler.get_dataset(dataset_id, dataset_info)
      assert (
          "satellite_actual_longitude"
          not in xarr.attrs["orbital_parameters"]
      )
  
imports: from __future__ import annotations
  import os
  import unittest
  import warnings
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.readers.eum_base import recarray2dict, time_cds_short
  from satpy.readers.seviri_l1b_native import ASCII_STARTSWITH, ImageBoundaries, NativeMSGFileHandler, Padder, get_available_channels, has_archive_header
  from satpy.tests.reader_tests.test_seviri_base import ORBIT_POLYNOMIALS, ORBIT_POLYNOMIALS_INVALID
  from satpy.tests.reader_tests.test_seviri_l1b_calibration import TestFileHandlerCalibrationBase
  from satpy.tests.utils import assert_attrs_equal, make_dataid
label_desc: Use image node_id 9 for calling the TestNativeMSGDataset obj's underlying member method code with example usage: obj.test_satpos_no_valid_orbit_polynomial(file_handler) without return types