Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVerelst committed Jun 19, 2024
1 parent 6d24539 commit 855d79c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/openeo_gfmap/utils/catalogue.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
"""Functionalities to interract with product catalogues."""

import geojson
import requests
from geojson import GeoJSON
from rasterio import CRS
from rasterio.warp import transform_bounds
from shapely import unary_union
from shapely.geometry import box, shape
from shapely.ops import unary_union

from openeo_gfmap import (
Backend,
Expand Down Expand Up @@ -134,7 +132,9 @@ def s1_area_per_orbitstate(
"""
if isinstance(spatial_extent, geojson.FeatureCollection):
# Transform geojson into shapely geometry and compute bounds
shapely_geometries = [shape(feature['geometry']) for feature in spatial_extent['features']]
shapely_geometries = [
shape(feature["geometry"]) for feature in spatial_extent["features"]
]
geometry = unary_union(shapely_geometries)
bounds = geometry.bounds
epsg = 4362
Expand Down

0 comments on commit 855d79c

Please sign in to comment.