xbout.tests.test_fastoutput.make_fastoutput_set

xbout.tests.test_fastoutput.make_fastoutput_set#

xbout.tests.test_fastoutput.make_fastoutput_set(path, n)[source]#

Create a set of FastOutput files/Datasets, with random data and location indices.

Parameters:
  • path (pathlib.Path) – Directory to save the files to.

  • n (int) – Number of output files/Datasets to create

Returns:

  • result_list (list of pathlib.Path or Dataset) – Output files/Datasets in format duplicating files produced by FastOutput

  • xinds (list of int) – x-indices where data exists

  • yinds (list of int) – y-indices where data exists

  • zinds (list of int) – z-indices where data exists