Commit d81f2f14 authored by Remi Cresson's avatar Remi Cresson
Browse files

DOC: update

1 merge request!50Support de STAC
Pipeline #45578 passed with stages
in 27 minutes and 39 seconds
Showing with 5 additions and 4 deletions
+5 -4
......@@ -44,7 +44,7 @@ sc = get_local_spot67drs_scene(
## From STAC
The following example show how to instanciate on the fly `Spot67SceneDRS` from
The following example show how to instantiate on the fly `Spot67SceneDRS` from
a STAC catalog of Dinamis (prototype from CROCc).
```python
......@@ -411,7 +411,7 @@ class Spot67Scene(Scene):
}
params.update(kwargs)
pansharp = src_class(self, pyotb.BundleToPerfectSensor(params))
binary_mask = pyotb.SuperImpose({
binary_mask = pyotb.Superimpose({
"inr": pansharp,
"inm": pan,
"interpolator": "nn"
......
......@@ -21,8 +21,6 @@ class ScenesTestBase(ABC, unittest.TestCase):
:param mae_threshold: mean absolute error threshold
:return: boolean
"""
assert isinstance(image, str) or isinstance(image,
pyotb.Output), f"image is {image}"
nbands_in = pyotb.Input(image).shape[-1]
nbands_ref = pyotb.Input(reference).shape[-1]
......
......@@ -73,6 +73,9 @@ class Spot67ImageryTest(ScenesTestBase):
roi=roi
)
def slice(self, inp):
return inp[2048:512, 2048:512, :]
def test_pxs_dn_msk_drilled_cached(self):
"""
Dummy test since no cloud in the input scene.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment