gstools.tools.generate_st_grid
- gstools.tools.generate_st_grid(pos, time, mesh_type='unstructured')[source]
Generate spatio-temporal grid from a position tuple and time array.
- Parameters:
pos (
tupleofnumpy.ndarray) – The (un-)structured position tuple.time (
iterable) – The time array.mesh_type (
str, optional) – ‘structured’ / ‘unstructured’ Default: “unstructured”
- Returns:
Unstructured spatio-temporal point tuple.
- Return type:
Notes
Time dimension will be the last one.