Skip to content

Commit

Permalink
add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
bossie committed Oct 11, 2024
1 parent a08da1b commit 4cbd4a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions openeogeotrellis/integrations/tiffset.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ def embed_gdal_metadata(gdal_metadata_xml: str, geotiff_path: Union[Path, str]):
tmp.write(f"{gdal_metadata_xml}\n")
tmp.flush()

# TODO: print stdout/stderr in case of error
subprocess.check_call(["tiffset", "-sf", "42112", tmp.name, str(geotiff_path)])
2 changes: 2 additions & 0 deletions tests/datacube_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

from openeogeotrellis.service_registry import InMemoryServiceRegistry

# TODO: put these things in a function that accepts a tile_size parameter to avoid having to change a lot of tests,
# then request tile_size=16 for tests that actually write GeoTiffs
TILE_SIZE = 16

matrix_of_one = np.zeros((1, TILE_SIZE, TILE_SIZE))
Expand Down

0 comments on commit 4cbd4a1

Please sign in to comment.