Description Usage Arguments Author(s) Examples
This function read all the csv that are stored in a directory and create an NxMxS array, where N and M are sparial dimensions and S is the number of simulations on each spatial point.
1 | suq2.utils.createDataset(directory, pattern, dimension)
|
directory |
the directory where the .csv files are stored. |
pattern |
a pattern to read the .csv (e.g. pattern="^[h]"). |
dimension |
the dimensions to be used, NxMxS. |
Noel Moreno Lemus
1 2 3 4 | directory = "~/PhD/thesis_phd/python_codes/datasets/20"
pattern="^[h]"
dimension = c(60, 60, 500)
mArray <- suq2.utils.createDataset(directory, pattern, dimension)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.