sup3r.utilities.pytest.helpers#
Testing helpers.
Functions
|
Batch handler factory with sample counter and deterministic sampling for testing. |
Make fake h5 chunked output files for collection tests. |
|
|
Make a set of dummy clearsky ratio files that match the GAN fwp outputs |
|
Make dummy data for tests. |
Make fake h5 chunked output files for a 5x spatial 2x temporal multi-node forward pass output. |
|
|
Make nc file with dummy data for tests. |
|
Make dummy data for tests. |
|
Build test samplers which track indices. |
Classes
|
Batch handler with sampler with running index record. |
|
Data-centric batch handler with record for testing |
alias of |
|
|
Dummy container with random data. |
|
Dummy container with random data. |
|
Keep a record of sample indices for testing. |
alias of |