class_docstr: Test individual functions used for blending.
class_docstr_tok: ["Test","individual","functions","used","for","blending","."]
docstr: Test the 'timeseries' function.
docstr_tok: ["Test","the","'timeseries","'","function","."]
code: def test_timeseries(self, datasets_and_weights):
      """Test the 'timeseries' function."""
      input_data = datasets_and_weights
  
      ds1 = input_data["datasets"][0]
      ds2 = input_data["datasets"][1]
      ds4 = input_data["datasets"][2]
      ds4 = input_data["datasets"][3]
      ds5 = input_data["datasets"][4]
  
      res = timeseries([ds1, ds2])
      res2 = timeseries([ds4, ds5])
      assert isinstance(res, xr.DataArray)
      assert isinstance(res2, xr.DataArray)
      assert (2, ds1.shape[0], ds1.shape[1]) == res.shape
      assert (ds4.shape[0], ds4.shape[1] + ds5.shape[1]) == res2.shape
  
imports: from datetime import datetime
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy import DataQuery, Scene
  from satpy.multiscene import stack, timeseries
  from satpy.tests.multiscene_tests.test_utils import DEFAULT_SHAPE, _create_test_area, _create_test_dataset, _create_test_int8_dataset
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 7 for calling the TestBlendFuncs obj's underlying member method code with example usage: obj.test_timeseries(datasets_and_weights) without return types