Skip to content

Commit

Permalink
Removed unstarted speckle
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinBabe committed Jun 5, 2024
1 parent aefc672 commit 3ff0ab9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 4 additions & 3 deletions src/openeo_gfmap/features/feature_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,10 @@ class and the apply_datacube function.

dependencies_code = ""
dependencies_code += "# /// script\n"
dependencies_code += "# dependencies = {}\n".format(
str(dependencies).replace("'", '"')
)
dependencies_code += "# dependencies = [\n"
for dep in dependencies:
dependencies_code += f'# "{dep}",\n'
dependencies_code += "# ]\n"
dependencies_code += "# ///\n"

udf_code += dependencies_code + "\n"
Expand Down
7 changes: 0 additions & 7 deletions src/openeo_gfmap/preprocessing/sar.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,3 @@ def compress_backscatter_uint16(

# Change the data type to uint16 for optimization purposes
return cube.linear_scale_range(1, 65534, 1, 65534)


def multitemporal_speckle(cube: openeo.DataCube) -> openeo.DataCube:
_ = cube.filter_bands(
bands=filter(lambda band: band.startswith("S1"), cube.metadata.band_names)
)
pass

0 comments on commit 3ff0ab9

Please sign in to comment.