Exemple #1
0
def default_blo():
    ds = BloDataSet(
        path=str(BLO_TESTDATA_PATH),
        tileshape=(1, 8, 144, 144),
    )
    ds.initialize()
    return ds
Exemple #2
0
def test_blo_dist(dist_ctx):
    ds = BloDataSet(path="/data/default.blo")
    ds = ds.initialize(dist_ctx.executor)
    analysis = dist_ctx.create_sum_analysis(dataset=ds)
    results = dist_ctx.run(analysis)
    assert results[0].raw_data.shape == (144, 144)
Exemple #3
0
def default_blo():
    ds = BloDataSet(
        path=str(BLO_TESTDATA_PATH),
    )
    ds.initialize(InlineJobExecutor())
    return ds