class_docstr: Tests for the 'native' resampling method.
class_docstr_tok: ["Tests","for","the","'native","'","resampling","method","."]
docstr: Test expanding native resampling with no dimensions specified.
code: def test_expand_without_dims(self):
      """Test expanding native resampling with no dimensions specified."""
      ds1, source_area, _, _, target_area = get_test_data(
          input_dims=None
      )
      # source geo def doesn't actually matter
      resampler = NativeResampler(source_area, target_area)
      new_data = resampler.resample(ds1)
      assert new_data.shape == (200, 100)
      new_data2 = resampler.resample(ds1.compute())
      np.testing.assert_equal(
          new_data.compute().data, new_data2.compute().data
      )
      assert "crs" in new_data.coords
      assert isinstance(new_data.coords["crs"].item(), CRS)
      assert (
          "lambert"
          in new_data.coords["crs"]
          .item()
          .coordinate_operation.method_name.lower()
      )
      assert target_area.crs == new_data.coords["crs"].item()
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyproj import CRS
  from satpy.resample import NativeResampler
label_desc: Use image node_id 10 for calling the TestNativeResampler obj's underlying member method code with example usage: obj.test_expand_without_dims() without return types