Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sar_pipeline/pipelines/isce3_rtc/metadata/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def add_metadata_links(
pystac.Link(
rel="self",
target=f"{self.base_href}/{Path(stac_filepath).name}",
media_type=pystac.media_type.STAC_JSON,
media_type=pystac.media_type.MediaType.GEOJSON,
)
)

Expand Down Expand Up @@ -743,7 +743,7 @@ def add_collection_link(
pystac.Link(
rel="collection",
target=stac_href,
media_type=pystac.media_type.STAC_JSON,
media_type=pystac.media_type.MediaType.JSON,
)
)

Expand Down Expand Up @@ -1061,7 +1061,7 @@ def add_linked_static_layers_as_assets_to_stac(
pystac.Link(
rel="static-layers-stac-item",
target=burst_static_layer_stac_url,
media_type=pystac.media_type.STAC_JSON,
media_type=pystac.media_type.MediaType.GEOJSON,
)
)

Expand Down
4 changes: 2 additions & 2 deletions sar_pipeline/pipelines/pyrosar_gamma/metadata/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def add_metadata_links(
pystac.Link(
rel="self",
target=f"{self.base_href}/{Path(stac_filepath).name}",
media_type=pystac.media_type.STAC_JSON,
media_type=pystac.media_type.MediaType.GEOJSON,
)
)

Expand Down Expand Up @@ -441,7 +441,7 @@ def add_collection_link(
pystac.Link(
rel="collection",
target=stac_href,
media_type=pystac.media_type.STAC_JSON,
media_type=pystac.media_type.MediaType.JSON,
)
)

Expand Down
Loading