sup3r.preprocessing.samplers.utilities#
Miscellaneous utilities for sampling
Functions
|
Finds a random temporal slice from data starting at midnight |
|
Takes a 5D array and reduces the axis=3 temporal dim to daylight hours. |
|
Finds a random sample during daylight hours of a day. |
|
Returns a 2D spatial slice used to extract a sample from a data array. |
|
Returns temporal slice used to extract temporal chunk from data. |
|
Extracts a temporal slice from data with selection weighted based on provided weights |
|
Returns a temporal slice with selection weighted based on provided weights used to extract temporal chunk from data |