Ejemplo n.º 1
0
 def test_concat_mixed_radials_enhance(self):
     # Select even indexed file_paths and odd indexed radial objects
     # into one array of mixed content types for concating
     combined = concatenate_radials(self.radial_mixed, enhance=True)
     assert combined.time.size == len(self.file_paths)
     # Make sure the dataset was sorted by time
     assert np.array_equal(combined.time.values,
                           np.sort(combined.time.values))
Ejemplo n.º 2
0
 def test_concat_mixed_radials(self):
     combined = concatenate_radials(self.radial_mixed)
     assert combined.time.size == len(self.file_paths)
     # Make sure the dataset was sorted by time
     assert np.array_equal(combined.time.values,
                           np.sort(combined.time.values))