From 8ea4a6bd8149769a61ae7cc5ea0b0c3dba2cc7c4 Mon Sep 17 00:00:00 2001 From: rup-narayan-rajbanshi Date: Thu, 2 Jan 2025 16:58:23 +0545 Subject: [PATCH 1/9] Add transformer for Glide. --- pystac_monty/collections/__init__.py | 0 pystac_monty/collections/glide_events.py | 19 +++++ pystac_monty/sources/gdacs.py | 2 +- pystac_monty/sources/glide.py | 102 +++++++++++++++++++++++ 4 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 pystac_monty/collections/__init__.py create mode 100644 pystac_monty/collections/glide_events.py create mode 100644 pystac_monty/sources/glide.py diff --git a/pystac_monty/collections/__init__.py b/pystac_monty/collections/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pystac_monty/collections/glide_events.py b/pystac_monty/collections/glide_events.py new file mode 100644 index 0000000..cb43d25 --- /dev/null +++ b/pystac_monty/collections/glide_events.py @@ -0,0 +1,19 @@ +glide_event_collection = { + "stac_version": "1.0.0", + "stac_extensions": ["https://ifrcgo.github.io/monty/v0.1.0/schema.json"], + "type": "Collection", + "id": "glide-events", + "title": "Glide Source Events", + "description": "GLobal IDEntifier Number (GLIDE)", + "license": "MIT", + "roles": ["event", "source"], + "providers": [{"name": "Glide", "roles": ["producer"], "url": "https://www.glidenumber.net/", "email": "gliderep@adrc.asia"}], + "extent": {"spatial": {"bbox": [[-180, -90, 180, 90]]}, "temporal": {"interval": [["2000-01-01T00:00:00Z", ""]]}}, + "summaries": { + "datetime": {"minimum": "2015-06-23T00:00:00Z", "maximum": "2019-07-10T13:44:56Z"}, + "roles": ["event", "source"], + "monty:country_codes": [], + "monty:hazard_codes": [], + }, + "links": [], +} diff --git a/pystac_monty/sources/gdacs.py b/pystac_monty/sources/gdacs.py index 7d093ac..0aec384 100644 --- a/pystac_monty/sources/gdacs.py +++ b/pystac_monty/sources/gdacs.py @@ -87,7 +87,7 @@ def make_items(self) -> list[Item]: source_event_item = self.make_source_event_item() items.append(source_event_item) - """ 2. Create the hazard item """ + # """ 2. Create the hazard item """ hazard_event_item = self.make_hazard_event_item() items.append(hazard_event_item) diff --git a/pystac_monty/sources/glide.py b/pystac_monty/sources/glide.py new file mode 100644 index 0000000..91af99b --- /dev/null +++ b/pystac_monty/sources/glide.py @@ -0,0 +1,102 @@ +import json +from datetime import datetime +from typing import Any + +from pystac import Collection, Item, Link +from shapely.geometry import Point, mapping + +from pystac_monty.collections.glide_events import glide_event_collection +from pystac_monty.extension import MontyExtension +from pystac_monty.sources.common import MontyDataSource + + +class GlideDataSource(MontyDataSource): + def __init__(self, source_url: str, data: Any): + super().__init__(source_url, data) + self.data = json.loads(data) + + +class GlideTransformer: + """ + Transforms Glide event data into STAC Items + """ + + def __init__(self, data: list[GlideDataSource]) -> None: + self.data = data + + def make_items(self) -> list[Item]: + items = [] + + # validate data for glide transformation + glide_events = self.validate_glide_data() + + for obj in glide_events: + glide_data = obj.data.get("glideset") + if not glide_data == []: + for data in glide_data: + glide_id = data.get("event") + "-" + data.get("number") + "-" + data.get("geocode") + latitude = float(data.get("latitude")) + longitude = float(data.get("longitude")) + event_date = {"year": data.get("year"), "month": data.get("month"), "day": data.get("day")} + + point = Point(longitude, latitude) + geometry = mapping(point) + bbox = [longitude, latitude, longitude, latitude] + + item = Item( + id=glide_id, + geometry=geometry, + bbox=bbox, + datetime=self.make_date(event_date), + properties={ + "title": data.get("title", ""), + "description": data.get("comments", ""), + "magnitude": data.get("magnitude", ""), + "location": data.get("location", ""), + "source": data.get("source", ""), + "docid": data.get("docid", ""), + "status": data.get("status", ""), + }, + ) + + item.set_collection(self.get_collection()) + + MontyExtension.add_to(item) + monty = MontyExtension.ext(item) + monty.hazard_codes = data.get("event") + monty.country_codes = data.get("geocode") + + item.add_link(Link("via", obj.get_source_url(), "application/json", "Glide Event Data")) + + items.append(item) + + return items + + def make_date(self, data: dict): + year = data["year"] + month = data["month"] + day = data["day"] + + dt = datetime(year, month, day) + formatted_date = dt.strftime("%Y-%m-%dT%H:%M:%S.%f")[:-3] + "Z" + + date = datetime.fromisoformat(formatted_date.replace("Z", "+00:00")) + return date + + def get_collection(self) -> Collection: + data = glide_event_collection + return Collection.from_dict(data) + + def validate_glide_data(self) -> list[GlideDataSource]: + glide_data_list = [] + for index, obj in enumerate(self.data): + glideset = obj.get_data()["glideset"] + if glideset == []: + raise ValueError(f"No Glide data found in object at index {index}") + for obj in glideset: + required_fields = ["latitude", "longitude", "event", "number", "geocode"] + missing_fields = [field for field in required_fields if field not in obj] + + if missing_fields: + raise ValueError(f"Missing required fields {missing_fields} in object at index {index}") + return glide_data_list From a4044ffb59a8f8c45931a31507517277de4c08e1 Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Tue, 7 Jan 2025 15:12:44 +0100 Subject: [PATCH 2/9] fix: add return type annotation for make_date method in GlideTransformer --- pystac_monty/sources/glide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystac_monty/sources/glide.py b/pystac_monty/sources/glide.py index 91af99b..db9abcc 100644 --- a/pystac_monty/sources/glide.py +++ b/pystac_monty/sources/glide.py @@ -72,7 +72,7 @@ def make_items(self) -> list[Item]: return items - def make_date(self, data: dict): + def make_date(self, data: dict) -> datetime: year = data["year"] month = data["month"] day = data["day"] From 6b3c1261da9c840139e1949054b0c19b1516160e Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Tue, 7 Jan 2025 15:48:45 +0100 Subject: [PATCH 3/9] Test for Glide + enhance GlideTransformer to validate and transform Glide event data --- pystac_monty/collections/glide_events.py | 2 +- pystac_monty/sources/glide.py | 107 ++--- .../GDACSTest.test_transformer_1.yaml | 445 ++++++++++++++++++ .../GlideTest.test_transformer_0.yaml | 91 ++++ tests/extensions/test_glide.py | 69 +++ 5 files changed, 658 insertions(+), 56 deletions(-) create mode 100644 tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml create mode 100644 tests/extensions/test_glide.py diff --git a/pystac_monty/collections/glide_events.py b/pystac_monty/collections/glide_events.py index cb43d25..bd49764 100644 --- a/pystac_monty/collections/glide_events.py +++ b/pystac_monty/collections/glide_events.py @@ -15,5 +15,5 @@ "monty:country_codes": [], "monty:hazard_codes": [], }, - "links": [], + "links": [{"href": "glide-events.json", "rel": "self"}], } diff --git a/pystac_monty/sources/glide.py b/pystac_monty/sources/glide.py index db9abcc..21a4263 100644 --- a/pystac_monty/sources/glide.py +++ b/pystac_monty/sources/glide.py @@ -21,54 +21,53 @@ class GlideTransformer: Transforms Glide event data into STAC Items """ - def __init__(self, data: list[GlideDataSource]) -> None: + def __init__(self, data: GlideDataSource) -> None: self.data = data def make_items(self) -> list[Item]: items = [] # validate data for glide transformation - glide_events = self.validate_glide_data() - - for obj in glide_events: - glide_data = obj.data.get("glideset") - if not glide_data == []: - for data in glide_data: - glide_id = data.get("event") + "-" + data.get("number") + "-" + data.get("geocode") - latitude = float(data.get("latitude")) - longitude = float(data.get("longitude")) - event_date = {"year": data.get("year"), "month": data.get("month"), "day": data.get("day")} - - point = Point(longitude, latitude) - geometry = mapping(point) - bbox = [longitude, latitude, longitude, latitude] - - item = Item( - id=glide_id, - geometry=geometry, - bbox=bbox, - datetime=self.make_date(event_date), - properties={ - "title": data.get("title", ""), - "description": data.get("comments", ""), - "magnitude": data.get("magnitude", ""), - "location": data.get("location", ""), - "source": data.get("source", ""), - "docid": data.get("docid", ""), - "status": data.get("status", ""), - }, - ) - - item.set_collection(self.get_collection()) - - MontyExtension.add_to(item) - monty = MontyExtension.ext(item) - monty.hazard_codes = data.get("event") - monty.country_codes = data.get("geocode") - - item.add_link(Link("via", obj.get_source_url(), "application/json", "Glide Event Data")) - - items.append(item) + glide_events = self.check_and_get_glide_events() + + if not glide_events == []: + for data in glide_events: + glide_id = data.get("event") + "-" + data.get("number") + "-" + data.get("geocode") + latitude = float(data.get("latitude")) + longitude = float(data.get("longitude")) + event_date = {"year": data.get("year"), "month": data.get("month"), "day": data.get("day")} + + point = Point(longitude, latitude) + geometry = mapping(point) + bbox = [longitude, latitude, longitude, latitude] + + item = Item( + id=glide_id, + geometry=geometry, + bbox=bbox, + datetime=self.make_date(event_date), + properties={ + "title": data.get("title", ""), + "description": data.get("comments", ""), + "magnitude": data.get("magnitude", ""), + "source": data.get("source", ""), + "docid": data.get("docid", ""), + "status": data.get("status", ""), + }, + ) + + item.properties["keywords"] = [data.get("location", "")] + + item.set_collection(self.get_collection()) + + MontyExtension.add_to(item) + monty = MontyExtension.ext(item) + monty.hazard_codes = data.get("event") + monty.country_codes = data.get("geocode") + + item.add_link(Link("via", self.data.get_source_url(), "application/json", "Glide Event Data")) + + items.append(item) return items @@ -87,16 +86,14 @@ def get_collection(self) -> Collection: data = glide_event_collection return Collection.from_dict(data) - def validate_glide_data(self) -> list[GlideDataSource]: - glide_data_list = [] - for index, obj in enumerate(self.data): - glideset = obj.get_data()["glideset"] - if glideset == []: - raise ValueError(f"No Glide data found in object at index {index}") - for obj in glideset: - required_fields = ["latitude", "longitude", "event", "number", "geocode"] - missing_fields = [field for field in required_fields if field not in obj] - - if missing_fields: - raise ValueError(f"Missing required fields {missing_fields} in object at index {index}") - return glide_data_list + def check_and_get_glide_events(self) -> list[Any]: + glideset: list[Any] = self.data.get_data()["glideset"] + if glideset == []: + raise ValueError(f"No Glide data found in {self.data.get_source_url()}") + for obj in glideset: + required_fields = ["latitude", "longitude", "event", "number", "geocode"] + missing_fields = [field for field in required_fields if field not in obj] + + if missing_fields: + raise ValueError(f"Missing required fields {missing_fields} in glide number {obj.get('number')}") + return glideset diff --git a/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml b/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml index 44d4e63..12bef90 100644 --- a/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml +++ b/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml @@ -6051,4 +6051,449 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI + kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv + olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE + nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ + bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii + WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj + pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM + OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T + BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz + LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq + 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq + FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 + 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb + FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r + TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB + WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu + m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv + 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj + 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1077' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Tue, 07 Jan 2025 14:29:26 GMT + ETag: + - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" + Expires: + - Tue, 07 Jan 2025 14:34:26 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - MISS + X-Cache-Hits: + - '0' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 9f15e702e1c82fab4f5a20f2ed0d5e2e879c13d1 + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 621E:3D6372:91347C:971B5F:677D3A45 + X-Served-By: + - cache-par-lfpg1960053-PAR + X-Timer: + - S1736260166.932061,VS0,VE187 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI + kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv + olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE + nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ + bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii + WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj + pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM + OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T + BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz + LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq + 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq + FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 + 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb + FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r + TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB + WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu + m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv + 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj + 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1077' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Tue, 07 Jan 2025 14:29:26 GMT + ETag: + - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" + Expires: + - Tue, 07 Jan 2025 14:34:26 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '1' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 7fdc3da1369fe7627bbb0d85ca76101d736fe314 + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 621E:3D6372:91347C:971B5F:677D3A45 + X-Served-By: + - cache-par-lfpg1960057-PAR + X-Timer: + - S1736260166.302721,VS0,VE1 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI + kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv + olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE + nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ + bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii + WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj + pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM + OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T + BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz + LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq + 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq + FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 + 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb + FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r + TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB + WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu + m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv + 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj + 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1077' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Tue, 07 Jan 2025 14:29:26 GMT + ETag: + - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" + Expires: + - Tue, 07 Jan 2025 14:34:26 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '1' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 094d0588f3aadaee90a2fbc68afcf95700da7bf5 + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 621E:3D6372:91347C:971B5F:677D3A45 + X-Served-By: + - cache-par-lfpg1960042-PAR + X-Timer: + - S1736260166.484525,VS0,VE2 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI + kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv + olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE + nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ + bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii + WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj + pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM + OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T + BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz + LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq + 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq + FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 + 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb + FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r + TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB + WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu + m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv + 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj + 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1077' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Tue, 07 Jan 2025 14:48:18 GMT + ETag: + - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" + Expires: + - Tue, 07 Jan 2025 14:53:18 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '0' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 1be8e4c55dc2483509f22f896bd65d66aa41f1bc + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 621E:3D6372:91347C:971B5F:677D3A45 + X-Served-By: + - cache-par-lfpg1960039-PAR + X-Timer: + - S1736261298.947062,VS0,VE183 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI + kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv + olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE + nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ + bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii + WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj + pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM + OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T + BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz + LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq + 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq + FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 + 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb + FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r + TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB + WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu + m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv + 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj + 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1077' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Tue, 07 Jan 2025 14:48:18 GMT + ETag: + - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" + Expires: + - Tue, 07 Jan 2025 14:53:18 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '1' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - b58247c4bb84ee885f866fe13b8aa49291bb5c2c + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 621E:3D6372:91347C:971B5F:677D3A45 + X-Served-By: + - cache-par-lfpg1960033-PAR + X-Timer: + - S1736261298.307708,VS0,VE2 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK version: 1 diff --git a/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml b/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml new file mode 100644 index 0000000..ae905ba --- /dev/null +++ b/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml @@ -0,0 +1,91 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI + kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv + olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE + nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ + bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii + WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj + pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM + OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T + BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz + LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq + 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq + FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 + 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb + FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r + TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB + WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu + m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv + 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj + 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1077' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Tue, 07 Jan 2025 14:48:18 GMT + ETag: + - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" + Expires: + - Tue, 07 Jan 2025 14:53:18 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '1' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 411b32c72f4fb2156f10ad53e9abb390ed81431c + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 621E:3D6372:91347C:971B5F:677D3A45 + X-Served-By: + - cache-par-lfpg1960031-PAR + X-Timer: + - S1736261298.439818,VS0,VE1 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/tests/extensions/test_glide.py b/tests/extensions/test_glide.py new file mode 100644 index 0000000..77627ed --- /dev/null +++ b/tests/extensions/test_glide.py @@ -0,0 +1,69 @@ +"""Tests for pystac.tests.extensions.monty""" + +import json +import unittest +from os import makedirs + +import pytest +import requests +from parameterized import parameterized + +from pystac_monty.extension import MontyExtension +from pystac_monty.sources.glide import ( + GlideDataSource, + GlideTransformer, +) +from tests.conftest import get_data_file +from tests.extensions.test_monty import CustomValidator + +CURRENT_SCHEMA_URI = "https://ifrcgo.github.io/monty/v0.1.0/schema.json" +CURRENT_SCHEMA_MAPURL = "https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json" + + +def load_scenarios( + scenarios: list[tuple[str, str]], +) -> list[GlideTransformer]: + transformers = [] + for scenario in scenarios: + data = requests.get(scenario[1]).text + glide_data_source = GlideDataSource(scenario[1], data) + transformers.append(GlideTransformer(glide_data_source)) + return transformers + + +spain_flood = ( + "spain_flood", + "https://www.glidenumber.net/glide/jsonglideset.jsp?level1=ESP&fromyear=2024&toyear=2024&events=FL&number=2024-000199", +) + + +class GlideTest(unittest.TestCase): + scenarios = [spain_flood] + + def setUp(self) -> None: + super().setUp() + self.validator = CustomValidator() + # create temporary folder + makedirs(get_data_file("temp/glide"), exist_ok=True) + + @parameterized.expand(load_scenarios(scenarios)) + @pytest.mark.vcr() + def test_transformer(self, transformer: GlideTransformer) -> None: + items = transformer.make_items() + self.assertTrue(len(items) > 0) + source_event_item = None + source_hazard_item = None + for item in items: + # write pretty json in a temporary folder for manual inspection + item_path = get_data_file(f"temp/glide/{item.id}.json") + with open(item_path, "w") as f: + json.dump(item.to_dict(), f, indent=2) + item.validate(validator=self.validator) + monty_item_ext = MontyExtension.ext(item) + if monty_item_ext.is_source_event(): + source_event_item = item + elif monty_item_ext.is_source_hazard(): + source_hazard_item = item + + self.assertIsNotNone(source_event_item) + self.assertIsNotNone(source_hazard_item) From 8575373affb8f902cc6c70b0fede34e2abdb54f0 Mon Sep 17 00:00:00 2001 From: rup-narayan-rajbanshi Date: Wed, 8 Jan 2025 12:27:52 +0545 Subject: [PATCH 4/9] Add link for Glide Collection --- pystac_monty/collections/__init__.py | 0 pystac_monty/collections/glide_events.py | 19 ------------------- pystac_monty/sources/gdacs.py | 8 +++++--- pystac_monty/sources/glide.py | 17 ++++++++++------- tests/extensions/test_glide.py | 5 +---- 5 files changed, 16 insertions(+), 33 deletions(-) delete mode 100644 pystac_monty/collections/__init__.py delete mode 100644 pystac_monty/collections/glide_events.py diff --git a/pystac_monty/collections/__init__.py b/pystac_monty/collections/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pystac_monty/collections/glide_events.py b/pystac_monty/collections/glide_events.py deleted file mode 100644 index bd49764..0000000 --- a/pystac_monty/collections/glide_events.py +++ /dev/null @@ -1,19 +0,0 @@ -glide_event_collection = { - "stac_version": "1.0.0", - "stac_extensions": ["https://ifrcgo.github.io/monty/v0.1.0/schema.json"], - "type": "Collection", - "id": "glide-events", - "title": "Glide Source Events", - "description": "GLobal IDEntifier Number (GLIDE)", - "license": "MIT", - "roles": ["event", "source"], - "providers": [{"name": "Glide", "roles": ["producer"], "url": "https://www.glidenumber.net/", "email": "gliderep@adrc.asia"}], - "extent": {"spatial": {"bbox": [[-180, -90, 180, 90]]}, "temporal": {"interval": [["2000-01-01T00:00:00Z", ""]]}}, - "summaries": { - "datetime": {"minimum": "2015-06-23T00:00:00Z", "maximum": "2019-07-10T13:44:56Z"}, - "roles": ["event", "source"], - "monty:country_codes": [], - "monty:hazard_codes": [], - }, - "links": [{"href": "glide-events.json", "rel": "self"}], -} diff --git a/pystac_monty/sources/gdacs.py b/pystac_monty/sources/gdacs.py index 0aec384..29a0379 100644 --- a/pystac_monty/sources/gdacs.py +++ b/pystac_monty/sources/gdacs.py @@ -358,7 +358,7 @@ def get_impact_category_from_sendai_a( def get_impact_category_from_sendai_b( sendainame: str, ) -> MontyImpactExposureCategory: - if sendainame == "rescued" or sendainame == "displaced": + if sendainame == "rescued" or sendainame == "displaced" or sendainame == "affected": return MontyImpactExposureCategory.ALL_PEOPLE else: raise ValueError(f"Unknown sendai name {sendainame} for indicators B") @@ -367,7 +367,7 @@ def get_impact_category_from_sendai_b( def get_impact_category_from_sendai_c( sendainame: str, ) -> MontyImpactExposureCategory: - if sendainame == "houses damaged": + if sendainame == "houses damaged" or sendainame == "houses": return MontyImpactExposureCategory.BUILDINGS else: raise ValueError(f"Unknown sendai name {sendainame} for indicators C") @@ -415,12 +415,14 @@ def get_impact_type_from_sendai_b(sendainame: str) -> MontyImpactType: return MontyImpactType.ASSISTED elif sendainame == "displaced": return MontyImpactType.RELOCATED + elif sendainame == "affected": + return MontyImpactType.TOTAL_AFFECTED else: raise ValueError(f"Unknown sendai name {sendainame} for indicators B") @staticmethod def get_impact_type_from_sendai_c(sendainame: str) -> MontyImpactType: - if sendainame == "houses damaged": + if sendainame == "houses damaged" or sendainame == "houses": return MontyImpactType.DAMAGED else: raise ValueError(f"Unknown sendai name {sendainame} for indicators C") diff --git a/pystac_monty/sources/glide.py b/pystac_monty/sources/glide.py index 21a4263..6873a20 100644 --- a/pystac_monty/sources/glide.py +++ b/pystac_monty/sources/glide.py @@ -2,10 +2,10 @@ from datetime import datetime from typing import Any +import requests from pystac import Collection, Item, Link from shapely.geometry import Point, mapping -from pystac_monty.collections.glide_events import glide_event_collection from pystac_monty.extension import MontyExtension from pystac_monty.sources.common import MontyDataSource @@ -21,6 +21,10 @@ class GlideTransformer: Transforms Glide event data into STAC Items """ + glide_events_collection_url = ( + "https://github.com/IFRCGo/monty-stac-extension/raw/refs/heads/main/examples/glide-events/glide-events.json" + ) + def __init__(self, data: GlideDataSource) -> None: self.data = data @@ -56,9 +60,7 @@ def make_items(self) -> list[Item]: }, ) - item.properties["keywords"] = [data.get("location", "")] - - item.set_collection(self.get_collection()) + item.set_collection(self.get_event_collection()) MontyExtension.add_to(item) monty = MontyExtension.ext(item) @@ -82,9 +84,10 @@ def make_date(self, data: dict) -> datetime: date = datetime.fromisoformat(formatted_date.replace("Z", "+00:00")) return date - def get_collection(self) -> Collection: - data = glide_event_collection - return Collection.from_dict(data) + def get_event_collection(self) -> Collection: + response = requests.get(self.glide_events_collection_url) + collection_dict = json.loads(response.text) + return Collection.from_dict(collection_dict) def check_and_get_glide_events(self) -> list[Any]: glideset: list[Any] = self.data.get_data()["glideset"] diff --git a/tests/extensions/test_glide.py b/tests/extensions/test_glide.py index 77627ed..61ef79b 100644 --- a/tests/extensions/test_glide.py +++ b/tests/extensions/test_glide.py @@ -9,10 +9,7 @@ from parameterized import parameterized from pystac_monty.extension import MontyExtension -from pystac_monty.sources.glide import ( - GlideDataSource, - GlideTransformer, -) +from pystac_monty.sources.glide import GlideDataSource, GlideTransformer from tests.conftest import get_data_file from tests.extensions.test_monty import CustomValidator From 6e2eb240c7bc652668128573278044f6bda80e08 Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Wed, 8 Jan 2025 17:29:46 +0100 Subject: [PATCH 5/9] Update timestamps and request IDs in test cassettes for Monty and GDACS --- .../GDACSTest.test_transformer_0.yaml | 80 +- .../GDACSTest.test_transformer_1.yaml | 1231 ++++++----------- .../GlideTest.test_transformer_0.yaml | 181 ++- ...tyTest.test_validates_reference_event.yaml | 34 +- 4 files changed, 624 insertions(+), 902 deletions(-) diff --git a/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_0.yaml b/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_0.yaml index dcc29cd..2d40b53 100644 --- a/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_0.yaml +++ b/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_0.yaml @@ -63,7 +63,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -80,7 +80,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - B21A:3D137C:3AC00B4:3C2871C:677D4315 + - 7461:EBF00:2BBA15:2C7E28:677EA7B8 X-XSS-Protection: - '0' status: @@ -132,11 +132,11 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:01 GMT + - Wed, 08 Jan 2025 16:33:41 GMT Source-Age: - '0' Strict-Transport-Security: @@ -146,21 +146,21 @@ interactions: Via: - 1.1 varnish X-Cache: - - HIT + - MISS X-Cache-Hits: - '0' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - ec22ffb8939fbff1d2e50785c26e3f27b7ecee4a + - edec2449f8ddeb91479725a2165bc7b7a1041a70 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960079-PAR + - cache-mrs10583-MRS X-Timer: - - S1736262422.569080,VS0,VE165 + - S1736353721.431842,VS0,VE352 X-XSS-Protection: - 1; mode=block status: @@ -230,7 +230,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -247,7 +247,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - B222:3E0D16:3A47076:3BAF605:677D4315 + - 7501:F3C3F:2AEEFF:2BB389:677EA7B9 X-XSS-Protection: - '0' status: @@ -299,11 +299,11 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:42 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:01 GMT + - Wed, 08 Jan 2025 16:33:42 GMT Source-Age: - '0' Strict-Transport-Security: @@ -319,15 +319,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 61fa750d062e7803517fc78ec420ea1a05460554 + - 70990105a06500dfde170eb13edfbef97cd6fb36 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960030-PAR + - cache-mrs10558-MRS X-Timer: - - S1736262422.905105,VS0,VE6 + - S1736353722.086844,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -397,7 +397,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:02 GMT + - Wed, 08 Jan 2025 16:28:42 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-hazards/gdacs-hazards.json Referrer-Policy: @@ -414,7 +414,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - B22E:3C9D:3A9676A:3BFEF25:677D4315 + - 7561:116443:2B064D:2BCA35:677EA7BA X-XSS-Protection: - '0' status: @@ -465,11 +465,11 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:02 GMT + - Wed, 08 Jan 2025 16:28:42 GMT ETag: - W/"0e1341982462438e4c8a456b2edbf7c112b9dd9d2b5ea3bca5598ad315ea569d" Expires: - - Tue, 07 Jan 2025 15:12:02 GMT + - Wed, 08 Jan 2025 16:33:42 GMT Source-Age: - '0' Strict-Transport-Security: @@ -485,15 +485,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - c9e40e77ca307f3d734c302ef1c0b51585c6b77f + - e5e3b534e87ba0d6a0ec658c14a99b2b8f44577d X-Frame-Options: - deny X-GitHub-Request-Id: - - 4810:3DA8D1:96783D:9C9CE5:677D4312 + - 6B32:EC7E7:6C0D0:6F5D5:677EA7BA X-Served-By: - - cache-par-lfpg1960087-PAR + - cache-mrs1050091-MRS X-Timer: - - S1736262423.588754,VS0,VE173 + - S1736353723.571923,VS0,VE257 X-XSS-Protection: - 1; mode=block status: @@ -554,13 +554,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:02 GMT + - Wed, 08 Jan 2025 16:28:43 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:02 GMT + - Wed, 08 Jan 2025 16:33:43 GMT Source-Age: - - '202' + - '0' Strict-Transport-Security: - max-age=31536000 Vary: @@ -568,21 +568,21 @@ interactions: Via: - 1.1 varnish X-Cache: - - HIT + - MISS X-Cache-Hits: - '0' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - e8d1fc9beb8c5a37221532b0f3dc4ac524e5d64f + - 661152cc6c6e7413e8c07c72f5c603aa3b8e4610 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960042-PAR + - cache-mrs10532-MRS X-Timer: - - S1736262423.887037,VS0,VE1 + - S1736353723.031896,VS0,VE270 X-XSS-Protection: - 1; mode=block status: @@ -643,13 +643,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:03 GMT + - Wed, 08 Jan 2025 16:28:43 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:03 GMT + - Wed, 08 Jan 2025 16:33:43 GMT Source-Age: - - '202' + - '0' Strict-Transport-Security: - max-age=31536000 Vary: @@ -663,15 +663,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 560e45e94b76da0b968efc9be43c40b90e880407 + - 2179921ab52c7063d85b0f78163b8a318b8e8173 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960037-PAR + - cache-mrs1050109-MRS X-Timer: - - S1736262423.032407,VS0,VE1 + - S1736353724.538387,VS0,VE2 X-XSS-Protection: - 1; mode=block status: diff --git a/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml b/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml index 4175930..a5c00b5 100644 --- a/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml +++ b/tests/extensions/cassettes/test_gdacs/GDACSTest.test_transformer_1.yaml @@ -63,7 +63,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -80,7 +80,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C87C:1725B:3A5006F:3BB857C:677D4317 + - 7661:E4082:2B0654:2BCAA7:677EA7BB X-XSS-Protection: - '0' status: @@ -132,13 +132,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:03 GMT + - Wed, 08 Jan 2025 16:28:43 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:03 GMT + - Wed, 08 Jan 2025 16:33:43 GMT Source-Age: - - '1' + - '2' Strict-Transport-Security: - max-age=31536000 Vary: @@ -152,15 +152,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 330f1446a613261572d80deca869ade4869a5cec + - 80a9d7559828eb0bed1e0fdb7d954fe67f04cd5c X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960075-PAR + - cache-mrs10563-MRS X-Timer: - - S1736262423.216866,VS0,VE2 + - S1736353724.872018,VS0,VE2 X-XSS-Protection: - 1; mode=block status: @@ -230,7 +230,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -247,7 +247,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C880:3E0D16:3A47B53:3BB00F8:677D4317 + - 76C1:EBF00:2BCA19:2C8EA9:677EA7BB X-XSS-Protection: - '0' status: @@ -299,11 +299,11 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:03 GMT + - Wed, 08 Jan 2025 16:28:44 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:03 GMT + - Wed, 08 Jan 2025 16:33:44 GMT Source-Age: - '2' Strict-Transport-Security: @@ -319,15 +319,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - db08260db265d78688014b534af35e18cc18cd16 + - 18237d73ea04a57291a36c39cc4d88ed21e7400a X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960084-PAR + - cache-mrs10567-MRS X-Timer: - - S1736262423.392175,VS0,VE1 + - S1736353724.204195,VS0,VE3 X-XSS-Protection: - 1; mode=block status: @@ -397,7 +397,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:02 GMT + - Wed, 08 Jan 2025 16:28:42 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-hazards/gdacs-hazards.json Referrer-Policy: @@ -414,7 +414,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C886:3E1E9F:3AF6D63:3C5F5B3:677D4317 + - 7721:FEC7D:2C31BE:2CF601:677EA7BC X-XSS-Protection: - '0' status: @@ -465,13 +465,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:03 GMT + - Wed, 08 Jan 2025 16:28:44 GMT ETag: - W/"0e1341982462438e4c8a456b2edbf7c112b9dd9d2b5ea3bca5598ad315ea569d" Expires: - - Tue, 07 Jan 2025 15:12:03 GMT + - Wed, 08 Jan 2025 16:33:44 GMT Source-Age: - - '1' + - '2' Strict-Transport-Security: - max-age=31536000 Vary: @@ -485,15 +485,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - fcbab07c435d05991d4fcd5a6eac7a2960c48248 + - 403f08f042834c6000e6b4b1ea6aada33d457b8b X-Frame-Options: - deny X-GitHub-Request-Id: - - 4810:3DA8D1:96783D:9C9CE5:677D4312 + - 6B32:EC7E7:6C0D0:6F5D5:677EA7BA X-Served-By: - - cache-par-lfpg1960057-PAR + - cache-mrs1050094-MRS X-Timer: - - S1736262424.667072,VS0,VE1 + - S1736353725.512217,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -563,7 +563,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -580,7 +580,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C892:3E0D16:3A47E74:3BB03FD:677D4317 + - 77A1:117D10:2B6878:2C2CF9:677EA7BC X-XSS-Protection: - '0' status: @@ -632,13 +632,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:03 GMT + - Wed, 08 Jan 2025 16:28:45 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:03 GMT + - Wed, 08 Jan 2025 16:33:45 GMT Source-Age: - - '2' + - '3' Strict-Transport-Security: - max-age=31536000 Vary: @@ -652,15 +652,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - a44d4a6adb4b767afe6d87eaec7a5f40964b440d + - af62159eddeb3de6287fcd0c58ff509cbad07faf X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960077-PAR + - cache-mrs10554-MRS X-Timer: - - S1736262424.845532,VS0,VE1 + - S1736353725.051906,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -730,7 +730,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -747,7 +747,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8A0:3ECD16:3C1E597:3D86CCE:677D4317 + - 77E1:EC53D:2BB249:2C76C1:677EA7BD X-XSS-Protection: - '0' status: @@ -798,11 +798,11 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:46 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:04 GMT + - Wed, 08 Jan 2025 16:33:46 GMT Source-Age: - '0' Strict-Transport-Security: @@ -818,15 +818,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 8da2cbbd73d702034f86ee3f05f8e60bba67c509 + - b1dc09acee76e059780375547ad9d931560dcd38 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960088-PAR + - cache-mrs1050102-MRS X-Timer: - - S1736262424.178277,VS0,VE184 + - S1736353726.847198,VS0,VE453 X-XSS-Protection: - 1; mode=block status: @@ -896,7 +896,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -913,7 +913,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8AE:1725B:3A50A37:3BB8F4A:677D4318 + - 7821:FEC7D:2C3D62:2D01FE:677EA7BE X-XSS-Protection: - '0' status: @@ -965,13 +965,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:46 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:04 GMT + - Wed, 08 Jan 2025 16:33:46 GMT Source-Age: - - '3' + - '5' Strict-Transport-Security: - max-age=31536000 Vary: @@ -985,15 +985,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 0937d1e8358c94d822a54ba9eee462851ad5218a + - a8042d3d804e30f31b999add47df97a98a113555 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960026-PAR + - cache-mrs10575-MRS X-Timer: - - S1736262425.535127,VS0,VE2 + - S1736353727.591789,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -1063,7 +1063,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -1080,7 +1080,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8B2:3EE143:3BEBB08:3D54251:677D4318 + - 7861:E8A5E:2DA8E1:2E6DA6:677EA7BE X-XSS-Protection: - '0' status: @@ -1131,13 +1131,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:46 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:04 GMT + - Wed, 08 Jan 2025 16:33:46 GMT Source-Age: - - '0' + - '1' Strict-Transport-Security: - max-age=31536000 Vary: @@ -1151,15 +1151,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 1ab8d2e1aca5e095c8626f5a1187a3653cf7203e + - 8bcd89a6e6c63af429d38321598a25f1641c3bb2 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960096-PAR + - cache-mrs10567-MRS X-Timer: - - S1736262425.709654,VS0,VE1 + - S1736353727.900038,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -1229,7 +1229,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -1246,7 +1246,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8BE:3D6516:3D9121B:3EF980B:677D4318 + - 78C1:F3C3F:2B09DB:2BCEC1:677EA7BF X-XSS-Protection: - '0' status: @@ -1298,13 +1298,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:47 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:04 GMT + - Wed, 08 Jan 2025 16:33:47 GMT Source-Age: - - '3' + - '5' Strict-Transport-Security: - max-age=31536000 Vary: @@ -1318,15 +1318,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 9cfa4fbd28a7ee0f48c719d13e9b90181deb56df + - e0716e8ea140939d878dd8fee598cbeac1bfa6ac X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960079-PAR + - cache-mrs10521-MRS X-Timer: - - S1736262425.925208,VS0,VE1 + - S1736353727.211668,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -1396,7 +1396,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -1413,7 +1413,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8C8:4E98:3ACACF4:3C333E1:677D4318 + - 7901:125E53:2A8DAF:2B5226:677EA7BF X-XSS-Protection: - '0' status: @@ -1464,11 +1464,11 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:05 GMT + - Wed, 08 Jan 2025 16:28:47 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:05 GMT + - Wed, 08 Jan 2025 16:33:47 GMT Source-Age: - '1' Strict-Transport-Security: @@ -1484,15 +1484,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 70f07e2590e875e3c99ca06a38d54a55f8f1947d + - e156a4c1d09df504512bdfe13a58e0b1e29bb0d5 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960030-PAR + - cache-mrs10580-MRS X-Timer: - - S1736262425.097737,VS0,VE1 + - S1736353727.491899,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -1562,7 +1562,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -1579,7 +1579,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8D6:3D6F40:39F54A8:3B5DA17:677D4319 + - 7941:117D10:2B785A:2C3CF6:677EA7BF X-XSS-Protection: - '0' status: @@ -1631,13 +1631,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:05 GMT + - Wed, 08 Jan 2025 16:28:47 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:05 GMT + - Wed, 08 Jan 2025 16:33:47 GMT Source-Age: - - '4' + - '6' Strict-Transport-Security: - max-age=31536000 Vary: @@ -1651,15 +1651,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - d4fe7ee3e718860d5e3398b83acfb417bdc04a64 + - 3be1f289a74f073c1a5a5fb752727fecf6cf82ed X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960097-PAR + - cache-mrs10536-MRS X-Timer: - - S1736262425.270806,VS0,VE1 + - S1736353728.991677,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -1729,7 +1729,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -1746,7 +1746,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8E4:3DA62D:3B2D568:3C95CD3:677D4319 + - 79A1:1291A2:2C6586:2D2A39:677EA7C0 X-XSS-Protection: - '0' status: @@ -1797,13 +1797,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:05 GMT + - Wed, 08 Jan 2025 16:28:48 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:05 GMT + - Wed, 08 Jan 2025 16:33:48 GMT Source-Age: - - '1' + - '2' Strict-Transport-Security: - max-age=31536000 Vary: @@ -1817,15 +1817,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 430d8767f123703e5cb7d56e6bef8d0bb553462e + - 7dff52d103b1678ba2e14f7bfb4bf60e974995ac X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960066-PAR + - cache-mrs10565-MRS X-Timer: - - S1736262426.752124,VS0,VE1 + - S1736353728.273936,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -1895,7 +1895,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -1912,7 +1912,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8E6:3CB8B1:3B72D82:3CDB4A3:677D4319 + - 79E1:FEC7D:2C4860:2D0D05:677EA7C0 X-XSS-Protection: - '0' status: @@ -1964,13 +1964,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:05 GMT + - Wed, 08 Jan 2025 16:28:48 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:05 GMT + - Wed, 08 Jan 2025 16:33:48 GMT Source-Age: - - '4' + - '7' Strict-Transport-Security: - max-age=31536000 Vary: @@ -1984,15 +1984,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 99cc3ee9a94395f6a8014b8ea75677a296f5925e + - 95544d72da3c0b1f46beeb708119bf52dae9c32e X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960061-PAR + - cache-mrs10547-MRS X-Timer: - - S1736262426.928604,VS0,VE1 + - S1736353729.571845,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -2062,7 +2062,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -2079,7 +2079,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - F389:3DA62D:3B2D7A2:3C95F1A:677D4319 + - 7A21:FEC7D:2C49C8:2D0E58:677EA7C0 X-XSS-Protection: - '0' status: @@ -2130,13 +2130,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:06 GMT + - Wed, 08 Jan 2025 16:28:49 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:06 GMT + - Wed, 08 Jan 2025 16:33:49 GMT Source-Age: - - '2' + - '3' Strict-Transport-Security: - max-age=31536000 Vary: @@ -2150,15 +2150,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - e0734a4635bd3e79e665250b0a7c419764de1fb0 + - 2ddeffef061020c247c32657135949869c810c75 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960076-PAR + - cache-mrs10528-MRS X-Timer: - - S1736262426.113502,VS0,VE1 + - S1736353729.090471,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -2228,7 +2228,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -2245,7 +2245,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8F8:3DA62D:3B2D8D5:3C96047:677D431A + - 7A81:10400D:2BA913:2C6E13:677EA7C1 X-XSS-Protection: - '0' status: @@ -2297,13 +2297,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:06 GMT + - Wed, 08 Jan 2025 16:28:49 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:06 GMT + - Wed, 08 Jan 2025 16:33:49 GMT Source-Age: - - '5' + - '8' Strict-Transport-Security: - max-age=31536000 Vary: @@ -2317,15 +2317,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - c7892bb1b99d16be441ffc5f2b93eb6aa7800888 + - 3231f84003cb6a392cd1882474316a3149d9aac7 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960033-PAR + - cache-mrs1050109-MRS X-Timer: - - S1736262426.282086,VS0,VE1 + - S1736353730.666487,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -2395,7 +2395,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -2412,7 +2412,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C8FA:3EE143:3BEC7D8:3D54F10:677D431A + - 7AC1:E8A5E:2DBAD5:2E7FEA:677EA7C1 X-XSS-Protection: - '0' status: @@ -2463,13 +2463,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:06 GMT + - Wed, 08 Jan 2025 16:28:50 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:06 GMT + - Wed, 08 Jan 2025 16:33:50 GMT Source-Age: - - '2' + - '4' Strict-Transport-Security: - max-age=31536000 Vary: @@ -2483,15 +2483,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - de32a1dd8981864444a4a2b6b696f5fbe5065df4 + - 5669ccd61578a61d86804a4569e6279f3fe69097 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960040-PAR + - cache-mrs10573-MRS X-Timer: - - S1736262426.450847,VS0,VE3 + - S1736353730.152038,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -2561,7 +2561,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -2578,7 +2578,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C904:3D5409:3B9E108:3D067A6:677D431A + - 7B01:2E7EB9:2AF72D:2BBC07:677EA7C2 X-XSS-Protection: - '0' status: @@ -2630,13 +2630,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:06 GMT + - Wed, 08 Jan 2025 16:28:50 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:06 GMT + - Wed, 08 Jan 2025 16:33:50 GMT Source-Age: - - '5' + - '9' Strict-Transport-Security: - max-age=31536000 Vary: @@ -2650,15 +2650,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 2f501d0b57bd0585558968fcc62bf7ceb97aed87 + - 332adccb8e98fba0ce73692a378545dde3f947ab X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960071-PAR + - cache-mrs10520-MRS X-Timer: - - S1736262427.625892,VS0,VE1 + - S1736353731.932148,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -2728,7 +2728,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -2745,7 +2745,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C906:3E1E9F:3AF8330:3C60BC9:677D431A + - 7B61:1291A2:2C76FA:2D3BF4:677EA7C3 X-XSS-Protection: - '0' status: @@ -2796,13 +2796,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:06 GMT + - Wed, 08 Jan 2025 16:28:51 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:06 GMT + - Wed, 08 Jan 2025 16:33:51 GMT Source-Age: - - '2' + - '6' Strict-Transport-Security: - max-age=31536000 Vary: @@ -2816,15 +2816,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 74b80c8a93955f806d78775e11f12f304ad7dc9d + - efdfdd864fc8e400affd62fdd0eadf0671705ac7 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960098-PAR + - cache-mrs10571-MRS X-Timer: - - S1736262427.792879,VS0,VE1 + - S1736353732.951515,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -2894,7 +2894,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -2911,7 +2911,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C910:1725B:3A51987:3BB9ED7:677D431A + - 7BA1:2E7EB9:2B0058:2BC549:677EA7C4 X-XSS-Protection: - '0' status: @@ -2963,13 +2963,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:06 GMT + - Wed, 08 Jan 2025 16:28:52 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:06 GMT + - Wed, 08 Jan 2025 16:33:52 GMT Source-Age: - - '5' + - '11' Strict-Transport-Security: - max-age=31536000 Vary: @@ -2979,19 +2979,19 @@ interactions: X-Cache: - HIT X-Cache-Hits: - - '1' + - '11' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 5f4226e9bb10d91bc011c2b16abeaaa1ed9683cb + - 64d199189a8477c7bebc6e7b43141be550f1350e X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960078-PAR + - cache-mrs1050112-MRS X-Timer: - - S1736262427.966794,VS0,VE3 + - S1736353733.571897,VS0,VE0 X-XSS-Protection: - 1; mode=block status: @@ -3061,7 +3061,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -3078,7 +3078,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C91A:3C9D:3A986FA:3C00F05:677D431B + - 7C21:E71B1:2BFB26:2CC035:677EA7C4 X-XSS-Protection: - '0' status: @@ -3129,13 +3129,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:07 GMT + - Wed, 08 Jan 2025 16:28:52 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:07 GMT + - Wed, 08 Jan 2025 16:33:52 GMT Source-Age: - - '3' + - '7' Strict-Transport-Security: - max-age=31536000 Vary: @@ -3149,15 +3149,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - e5e471cfeb5e5a652c8e6a8cc83dd83d61b75596 + - ecb0780980625c3350a4cc8eadf360d5e2a4b184 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960067-PAR + - cache-mrs1050111-MRS X-Timer: - - S1736262427.145143,VS0,VE1 + - S1736353733.851818,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -3227,7 +3227,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -3244,7 +3244,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C928:3E1E9F:3AF86D1:3C60F63:677D431B + - 7C61:117D10:2B95F2:2C5B6D:677EA7C5 X-XSS-Protection: - '0' status: @@ -3296,13 +3296,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:07 GMT + - Wed, 08 Jan 2025 16:28:53 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:07 GMT + - Wed, 08 Jan 2025 16:33:53 GMT Source-Age: - - '6' + - '12' Strict-Transport-Security: - max-age=31536000 Vary: @@ -3316,15 +3316,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 98b81ca7e39fa43b759997925e66b05f4ff2e8c5 + - 5b9c22eb9fabd60c0b1be9254dc5ac2f5a31935e X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960047-PAR + - cache-mrs10531-MRS X-Timer: - - S1736262427.356595,VS0,VE1 + - S1736353733.452273,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -3394,7 +3394,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -3411,7 +3411,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C932:170EB:3C20696:3D88D41:677D431B + - 7CA1:103248:2B9C34:2C6182:677EA7C5 X-XSS-Protection: - '0' status: @@ -3462,13 +3462,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:07 GMT + - Wed, 08 Jan 2025 16:28:54 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:07 GMT + - Wed, 08 Jan 2025 16:33:54 GMT Source-Age: - - '3' + - '8' Strict-Transport-Security: - max-age=31536000 Vary: @@ -3482,15 +3482,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 85d82b4bd0848c150a817217b278c79a517e28f8 + - ee684302d1e255267dbe98cdafcc7267b2dc0b68 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960029-PAR + - cache-mrs10561-MRS X-Timer: - - S1736262428.522757,VS0,VE1 + - S1736353734.026566,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -3560,7 +3560,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -3577,7 +3577,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C934:13875:3A27D5C:3B904EF:677D431B + - 7CE1:E4082:2B3D74:2C02E6:677EA7C6 X-XSS-Protection: - '0' status: @@ -3629,13 +3629,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:07 GMT + - Wed, 08 Jan 2025 16:28:54 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:07 GMT + - Wed, 08 Jan 2025 16:33:54 GMT Source-Age: - - '6' + - '13' Strict-Transport-Security: - max-age=31536000 Vary: @@ -3649,15 +3649,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 24d86aca18cbbc436648edb2c823bb525e80809b + - b873d534a2660dc66cd8b9670307a8d9e879bc0a X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960068-PAR + - cache-mrs1050098-MRS X-Timer: - - S1736262428.692532,VS0,VE2 + - S1736353735.593847,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -3727,7 +3727,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -3744,7 +3744,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C938:3EE143:3BED021:3D55795:677D431B + - 7D21:116443:2B48C2:2C0E04:677EA7C6 X-XSS-Protection: - '0' status: @@ -3795,13 +3795,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:07 GMT + - Wed, 08 Jan 2025 16:28:54 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:07 GMT + - Wed, 08 Jan 2025 16:33:54 GMT Source-Age: - - '4' + - '9' Strict-Transport-Security: - max-age=31536000 Vary: @@ -3811,19 +3811,19 @@ interactions: X-Cache: - HIT X-Cache-Hits: - - '1' + - '2' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - c643952d90dafff901caf8d2377bda7b63cea7f1 + - 5e6066f392316462c9b205034a7caa977b83b5be X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960057-PAR + - cache-mrs10573-MRS X-Timer: - - S1736262428.863684,VS0,VE1 + - S1736353735.912874,VS0,VE0 X-XSS-Protection: - 1; mode=block status: @@ -3893,7 +3893,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -3910,7 +3910,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C93C:3D971F:3B363BF:3C9EEC1:677D431B + - 7D81:116443:2B4A97:2C0FF0:677EA7C7 X-XSS-Protection: - '0' status: @@ -3962,13 +3962,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:08 GMT + - Wed, 08 Jan 2025 16:28:55 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:08 GMT + - Wed, 08 Jan 2025 16:33:55 GMT Source-Age: - - '6' + - '13' Strict-Transport-Security: - max-age=31536000 Vary: @@ -3978,19 +3978,19 @@ interactions: X-Cache: - HIT X-Cache-Hits: - - '1' + - '2' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 437194fc232f799b7a94f3e55057dc50acd6f308 + - 70ca0fd16cf03cb1e32d5c615b783e38e4645781 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960052-PAR + - cache-mrs10554-MRS X-Timer: - - S1736262428.039412,VS0,VE1 + - S1736353735.192295,VS0,VE0 X-XSS-Protection: - 1; mode=block status: @@ -4060,7 +4060,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -4077,7 +4077,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C94C:4E98:3ACC0A4:3C347CB:677D431C + - 7DC1:E71B1:2C09B9:2CCF06:677EA7C7 X-XSS-Protection: - '0' status: @@ -4128,13 +4128,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:08 GMT + - Wed, 08 Jan 2025 16:28:55 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:08 GMT + - Wed, 08 Jan 2025 16:33:55 GMT Source-Age: - - '4' + - '9' Strict-Transport-Security: - max-age=31536000 Vary: @@ -4148,15 +4148,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - ee670c5e8698bb93316f953d75107b3350c5281f + - 0fa28f2f7beb220e6edeafe038a8f3040d39636b X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960095-PAR + - cache-mrs10523-MRS X-Timer: - - S1736262428.249124,VS0,VE1 + - S1736353735.471657,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -4226,7 +4226,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -4243,7 +4243,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C95A:3F0F38:3AD59BD:3C3E1D2:677D431C + - 7E01:EC53D:2BE891:2CAE0E:677EA7C7 X-XSS-Protection: - '0' status: @@ -4295,13 +4295,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:08 GMT + - Wed, 08 Jan 2025 16:28:55 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:08 GMT + - Wed, 08 Jan 2025 16:33:55 GMT Source-Age: - - '7' + - '14' Strict-Transport-Security: - max-age=31536000 Vary: @@ -4315,15 +4315,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 38fba328ef678671fe419912808e0e4d4df8a67b + - ccad5963a5dc2fee3bcd24d270411bdf9b46ed19 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960049-PAR + - cache-mrs10523-MRS X-Timer: - - S1736262428.419248,VS0,VE1 + - S1736353736.766676,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -4393,7 +4393,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -4410,7 +4410,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C95C:3E0D16:3A49B2D:3BB2146:677D431C + - 7E41:1297BB:2B35B0:2BFB09:677EA7C7 X-XSS-Protection: - '0' status: @@ -4461,13 +4461,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:08 GMT + - Wed, 08 Jan 2025 16:28:56 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:08 GMT + - Wed, 08 Jan 2025 16:33:56 GMT Source-Age: - - '4' + - '10' Strict-Transport-Security: - max-age=31536000 Vary: @@ -4481,15 +4481,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 1087f05bd3a4062849b333af9164c00854aeda3f + - 797f3ab3d99cfbe09975a0d106ea2a1025b1bc80 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960052-PAR + - cache-mrs10564-MRS X-Timer: - - S1736262429.589546,VS0,VE1 + - S1736353736.086394,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -4559,7 +4559,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -4576,7 +4576,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C968:3DA62D:3B2E989:3C9717B:677D431C + - 7E81:E71B1:2C0EB6:2CD42A:677EA7C8 X-XSS-Protection: - '0' status: @@ -4628,13 +4628,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:09 GMT + - Wed, 08 Jan 2025 16:28:56 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:09 GMT + - Wed, 08 Jan 2025 16:33:56 GMT Source-Age: - - '7' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -4648,15 +4648,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - b44c8b2e74ca76324762c4c4081b00ae32390195 + - cd07b2d0ce47293f844bfa748851bdc9af0dae5e X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960085-PAR + - cache-mrs10581-MRS X-Timer: - - S1736262429.072236,VS0,VE1 + - S1736353736.407286,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -4726,7 +4726,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -4743,7 +4743,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C978:170EB:3C21219:3D898EA:677D431D + - 7EC1:100CCB:2CC1CB:2D876F:677EA7C8 X-XSS-Protection: - '0' status: @@ -4794,13 +4794,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:09 GMT + - Wed, 08 Jan 2025 16:28:56 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:09 GMT + - Wed, 08 Jan 2025 16:33:56 GMT Source-Age: - - '4' + - '11' Strict-Transport-Security: - max-age=31536000 Vary: @@ -4810,19 +4810,19 @@ interactions: X-Cache: - HIT X-Cache-Hits: - - '2' + - '3' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 1b8082cab59d716237d3a4f56ac7ed1ac09981c9 + - 2b11526710f039ea30a0f2d49492bb0880363ed8 X-Frame-Options: - deny X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960098-PAR + - cache-mrs10573-MRS X-Timer: - - S1736262429.242774,VS0,VE0 + - S1736353737.734145,VS0,VE0 X-XSS-Protection: - 1; mode=block status: @@ -4892,7 +4892,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:01 GMT + - Wed, 08 Jan 2025 16:28:41 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-events/gdacs-events.json Referrer-Policy: @@ -4909,7 +4909,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C97C:3F1744:3B337A8:3C9BFE1:677D431D + - 7F01:E99E5:2ACD3E:2B9348:677EA7C8 X-XSS-Protection: - '0' status: @@ -4961,13 +4961,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:09 GMT + - Wed, 08 Jan 2025 16:28:57 GMT ETag: - W/"7d50f8fb7c2a7c6341b790577d036dccb1a4fd14958bf3c9b7f5569dde9f2730" Expires: - - Tue, 07 Jan 2025 15:12:09 GMT + - Wed, 08 Jan 2025 16:33:57 GMT Source-Age: - - '8' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -4981,15 +4981,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 28f910e888860b13726be13526036e07b63d2a8b + - 7b54d15b12e47d934ae0e6bb90a1c286c40dd667 X-Frame-Options: - deny X-GitHub-Request-Id: - - 7080:1B667E:96155D:9C196F:677D3E6F + - ED9F:E901F:6B966:6EE60:677EA7B8 X-Served-By: - - cache-par-lfpg1960029-PAR + - cache-mrs10551-MRS X-Timer: - - S1736262429.420824,VS0,VE1 + - S1736353737.039507,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -5059,7 +5059,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:07:04 GMT + - Wed, 08 Jan 2025 16:28:45 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/gdacs-impacts/gdacs-impacts.json Referrer-Policy: @@ -5076,7 +5076,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C984:3D6516:3D930A9:3EFB759:677D431D + - 7F41:E71B1:2C1386:2CD921:677EA7C9 X-XSS-Protection: - '0' status: @@ -5127,13 +5127,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:09 GMT + - Wed, 08 Jan 2025 16:28:57 GMT ETag: - W/"7592e6baa403204c30bb7b25bb4bd606ddaf69016bbd90e30eec5f1b49cf3cdb" Expires: - - Tue, 07 Jan 2025 15:12:09 GMT + - Wed, 08 Jan 2025 16:33:57 GMT Source-Age: - - '5' + - '11' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5147,104 +5147,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - d0e7e57656512e84baa3afbcadafb2ed6490e5cd - X-Frame-Options: - - deny - X-GitHub-Request-Id: - - E27F:3F1D:99F424:A018D8:677D4317 - X-Served-By: - - cache-par-lfpg1960023-PAR - X-Timer: - - S1736262430.603626,VS0,VE1 - X-XSS-Protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.32.3 - method: GET - uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json - response: - body: - string: !!binary | - H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI - kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv - olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE - nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ - bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii - WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj - pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM - OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T - BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz - LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq - 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq - FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 - 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb - FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r - TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB - WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu - m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv - 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj - 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA - headers: - Accept-Ranges: - - bytes - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=300 - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Length: - - '1077' - Content-Security-Policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - Content-Type: - - text/plain; charset=utf-8 - Cross-Origin-Resource-Policy: - - cross-origin - Date: - - Tue, 07 Jan 2025 15:07:09 GMT - ETag: - - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" - Expires: - - Tue, 07 Jan 2025 15:12:09 GMT - Source-Age: - - '209' - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization,Accept-Encoding,Origin - Via: - - 1.1 varnish - X-Cache: - - HIT - X-Cache-Hits: - - '2' - X-Content-Type-Options: - - nosniff - X-Fastly-Request-ID: - - a3be494a6b02df9089dfb06c64f921f61e129347 + - 64b2e4f445ed09475f92f69b345a387ce83c611a X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 2C56:2E810D:6CAE1:7002B:677EA7B8 X-Served-By: - - cache-par-lfpg1960033-PAR + - cache-mrs10536-MRS X-Timer: - - S1736262430.703745,VS0,VE0 + - S1736353737.424798,VS0,VE2 X-XSS-Protection: - 1; mode=block status: @@ -5305,102 +5216,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:09 GMT + - Wed, 08 Jan 2025 16:28:57 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:09 GMT + - Wed, 08 Jan 2025 16:33:57 GMT Source-Age: - - '209' - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization,Accept-Encoding,Origin - Via: - - 1.1 varnish - X-Cache: - - HIT - X-Cache-Hits: - - '3' - X-Content-Type-Options: - - nosniff - X-Fastly-Request-ID: - - 1790b60b67e0194acaecd227add21ead76924771 - X-Frame-Options: - - deny - X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 - X-Served-By: - - cache-par-lfpg1960033-PAR - X-Timer: - - S1736262430.812619,VS0,VE0 - X-XSS-Protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.32.3 - method: GET - uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json - response: - body: - string: !!binary | - H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI - kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv - olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE - nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ - bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii - WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj - pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM - OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T - BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz - LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq - 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq - FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 - 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb - FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r - TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB - WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu - m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv - 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj - 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA - headers: - Accept-Ranges: - - bytes - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=300 - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Length: - - '1077' - Content-Security-Policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - Content-Type: - - text/plain; charset=utf-8 - Cross-Origin-Resource-Policy: - - cross-origin - Date: - - Tue, 07 Jan 2025 15:07:09 GMT - ETag: - - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" - Expires: - - Tue, 07 Jan 2025 15:12:09 GMT - Source-Age: - - '209' + - '14' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5414,15 +5236,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 33e9c44224ee470881512901ec02eb020372849d + - b1d35d2a305c5e87d5ab44643dc911c1944b6e3c X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960022-PAR + - cache-mrs1050093-MRS X-Timer: - - S1736262430.916380,VS0,VE1 + - S1736353738.551698,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -5483,13 +5305,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:57 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:57 GMT Source-Age: - - '209' + - '14' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5503,15 +5325,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - f8eba11079bfa6d34d55ed0a2cb4f7f1ba7f7988 + - 0a229d024b2f4b6e1c3d0c3c8905af08753cc3bf X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960055-PAR + - cache-mrs1050113-MRS X-Timer: - - S1736262430.022159,VS0,VE2 + - S1736353738.691805,VS0,VE2 X-XSS-Protection: - 1; mode=block status: @@ -5572,13 +5394,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:57 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:57 GMT Source-Age: - - '209' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5592,15 +5414,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - e6faea109572c7dfb7176e54a082dca84da09fa7 + - f36f0dc38e8c9cd68d30c5ba03d3de718f8a87ab X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960042-PAR + - cache-mrs10578-MRS X-Timer: - - S1736262430.129963,VS0,VE1 + - S1736353738.847425,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -5661,13 +5483,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:57 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:57 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5681,15 +5503,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 2b962ddd7bdd569f0bcd2f0651cbaaefa677f871 + - 666b6c337f1ddcb5e44cc328b1d78706131ea1d7 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960064-PAR + - cache-mrs10530-MRS X-Timer: - - S1736262430.232318,VS0,VE2 + - S1736353738.988903,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -5750,13 +5572,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5770,15 +5592,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 4e9313456c118b13f70f969f72a098f25bdf4a2a + - cfebe0cec64c365dbe827aaefc3ac7d9912bc882 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960070-PAR + - cache-mrs10567-MRS X-Timer: - - S1736262430.338113,VS0,VE1 + - S1736353738.132135,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -5839,13 +5661,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5859,15 +5681,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - e139d6f32e3949fbc9975ef39f8fee531d488b0a + - 16b7316ffd2eae50d9b8dccfd687a99a0de1de46 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960062-PAR + - cache-mrs10545-MRS X-Timer: - - S1736262430.441827,VS0,VE1 + - S1736353738.272350,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -5928,13 +5750,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -5948,15 +5770,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 9d2b991d2339236c3c9adf078f6c6f519a81dc47 + - 84f755d72c6d0ce93f4af49f5674f763f9ca7ad0 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960094-PAR + - cache-mrs1050088-MRS X-Timer: - - S1736262431.549302,VS0,VE1 + - S1736353738.391789,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6017,13 +5839,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6037,15 +5859,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 3c2ea5fdc668fd40c35fec3775b86e5e4a73da16 + - 41d07fb0c1bce2840f091413bb96b9663bb72682 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960056-PAR + - cache-mrs10528-MRS X-Timer: - - S1736262431.655168,VS0,VE1 + - S1736353739.512364,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6106,13 +5928,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6122,108 +5944,19 @@ interactions: X-Cache: - HIT X-Cache-Hits: - - '1' - X-Content-Type-Options: - - nosniff - X-Fastly-Request-ID: - - 5ea380bbf0778b6b9c416ec59a06492f36ddb601 - X-Frame-Options: - - deny - X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 - X-Served-By: - - cache-par-lfpg1960080-PAR - X-Timer: - - S1736262431.757694,VS0,VE1 - X-XSS-Protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.32.3 - method: GET - uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json - response: - body: - string: !!binary | - H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI - kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv - olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE - nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ - bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii - WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj - pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM - OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T - BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz - LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq - 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq - FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 - 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb - FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r - TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB - WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu - m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv - 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj - 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA - headers: - Accept-Ranges: - - bytes - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=300 - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Length: - - '1077' - Content-Security-Policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - Content-Type: - - text/plain; charset=utf-8 - Cross-Origin-Resource-Policy: - - cross-origin - Date: - - Tue, 07 Jan 2025 15:07:10 GMT - ETag: - - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" - Expires: - - Tue, 07 Jan 2025 15:12:10 GMT - Source-Age: - - '210' - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization,Accept-Encoding,Origin - Via: - - 1.1 varnish - X-Cache: - - HIT - X-Cache-Hits: - - '1' + - '2' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 5683a73dcf9630ef79c4d6a939b5810c6bc8a7b4 + - f195ba541d2558f9fcca21f45aff92a453171c2f X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960082-PAR + - cache-mrs1050113-MRS X-Timer: - - S1736262431.869785,VS0,VE1 + - S1736353739.647353,VS0,VE0 X-XSS-Protection: - 1; mode=block status: @@ -6284,13 +6017,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:10 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:10 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '15' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6304,15 +6037,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - df86be0328068eb49d60c21b5ca9be5715555dd4 + - 29f95d38fd2e987f229853b594c5c26f563dfa7a X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960027-PAR + - cache-mrs1050101-MRS X-Timer: - - S1736262431.976631,VS0,VE1 + - S1736353739.772105,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6373,13 +6106,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:11 GMT + - Wed, 08 Jan 2025 16:28:58 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:11 GMT + - Wed, 08 Jan 2025 16:33:58 GMT Source-Age: - - '210' + - '16' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6393,15 +6126,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - c946e054b20f4bb22bd96b18327525d88d443f55 + - 52a4c574390db1646908778048ed448a423cbdcf X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960076-PAR + - cache-mrs10559-MRS X-Timer: - - S1736262431.081540,VS0,VE1 + - S1736353739.891804,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6462,13 +6195,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:11 GMT + - Wed, 08 Jan 2025 16:28:59 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:11 GMT + - Wed, 08 Jan 2025 16:33:59 GMT Source-Age: - - '210' + - '16' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6482,15 +6215,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 05bfbec447fc05dbd87f08abcf67edaca6c96aca + - 084c5632f785db24afc01178c8cab6853586fde5 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960066-PAR + - cache-mrs10552-MRS X-Timer: - - S1736262431.186186,VS0,VE2 + - S1736353739.011710,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6551,13 +6284,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:11 GMT + - Wed, 08 Jan 2025 16:28:59 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:11 GMT + - Wed, 08 Jan 2025 16:33:59 GMT Source-Age: - - '211' + - '16' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6571,15 +6304,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - c8ad346415746971657c4264ff45671cb535a606 + - abc78900b6d14824cdffbf0bbf25ccd87d422c6e X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960072-PAR + - cache-mrs10541-MRS X-Timer: - - S1736262431.293366,VS0,VE1 + - S1736353739.131708,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6640,102 +6373,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 14:29:26 GMT + - Wed, 08 Jan 2025 16:28:59 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 14:34:26 GMT + - Wed, 08 Jan 2025 16:33:59 GMT Source-Age: - - '0' - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization,Accept-Encoding,Origin - Via: - - 1.1 varnish - X-Cache: - - MISS - X-Cache-Hits: - - '0' - X-Content-Type-Options: - - nosniff - X-Fastly-Request-ID: - - 9f15e702e1c82fab4f5a20f2ed0d5e2e879c13d1 - X-Frame-Options: - - deny - X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 - X-Served-By: - - cache-par-lfpg1960053-PAR - X-Timer: - - S1736260166.932061,VS0,VE187 - X-XSS-Protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.32.3 - method: GET - uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json - response: - body: - string: !!binary | - H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI - kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv - olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE - nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ - bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii - WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj - pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM - OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T - BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz - LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq - 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq - FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 - 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb - FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r - TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB - WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu - m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv - 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj - 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA - headers: - Accept-Ranges: - - bytes - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=300 - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Length: - - '1077' - Content-Security-Policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - Content-Type: - - text/plain; charset=utf-8 - Cross-Origin-Resource-Policy: - - cross-origin - Date: - - Tue, 07 Jan 2025 14:29:26 GMT - ETag: - - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" - Expires: - - Tue, 07 Jan 2025 14:34:26 GMT - Source-Age: - - '0' + - '16' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6749,15 +6393,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 7fdc3da1369fe7627bbb0d85ca76101d736fe314 + - 7d652d9dfc6c952e43be08ebdc30981c106a4617 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960057-PAR + - cache-mrs10521-MRS X-Timer: - - S1736260166.302721,VS0,VE1 + - S1736353739.252021,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6818,13 +6462,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 14:29:26 GMT + - Wed, 08 Jan 2025 16:28:59 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 14:34:26 GMT + - Wed, 08 Jan 2025 16:33:59 GMT Source-Age: - - '0' + - '16' Strict-Transport-Security: - max-age=31536000 Vary: @@ -6838,104 +6482,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 094d0588f3aadaee90a2fbc68afcf95700da7bf5 - X-Frame-Options: - - deny - X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 - X-Served-By: - - cache-par-lfpg1960042-PAR - X-Timer: - - S1736260166.484525,VS0,VE2 - X-XSS-Protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.32.3 - method: GET - uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/json-schema/schema.json - response: - body: - string: !!binary | - H4sIAAAAAAAAA9VXUW/bNhB+z6/g1Dy0gGMn3YABfinaosPyMCxI+rQ2NRjpZLOTSI2kgniG/vtI - kZZEiVTkxi2yIAlsknf67ru7j6fdCULRqYg3kONoiaKNlMVysfgqGD0zq3PG14uE41Senf+6MGsv - olltR5K9jVBGJOXxms3XRG7Kuzlhi5xRuV3cn88v5ufWcq49W3NJZAbawR/6HPrwIIEKwqjZTUDE - nBRSL6gzNx/fvke9gyhlHNUblxJygTBNzNf3LMsg1qZibrwxCn+mys8n9QWhXf1fRxCzPAcq9RM+ - bohA6lduABmwPf/GVW2Hs6zjruvSuOWgd6MXiwRSQkmNZCEkjlewBy+ixqKa+d3IbVHzw+6+qmii - WXePwz8l4ZA4IFqrmbtWcFYAlwQ6T0Xo1vHYObN0cLRI3FW1Hqs4avJ+AyxLDpFzoAqj8Pgacuoj - pTneTd21IQOlBLJEoA3ozyp3Om3oqnnqvEeL9RSksjlRF/IyZiWVfLuKmapNr6vm6Ab/i3ky5WTM - OF+pPgoc4ixzc7b/uR2sVUMXfuK8xWmoGz7paV4D8KveihtMd7f9vP9kzlpYBzfyQBlq6/9hO9+T - BHi/tqKMxAoOfKcmb8mLpiQsQMOkSmmy3eaIbkdz9HgB6K9WIQhFN2WeY65VAb3bIgUFl5mcIUaz - LVI28d/GHh6IUCmOAbG0XmgZnKG7UiLKZPdB9pRovE/Nc2PxbclrzT0ZHFW4iermU7ant/GJjTHq - 1EITQdRvsTa0UDP5Qx04GlRXgNoRBA4KzDneuplWXSMxGZh0++ngwSkapbTqKmNkBX3p10gzSRWq - FckDJLYtWhZD7IZoMrUBBRGqLla0zO+Ah7giVMJabfuEwluL0zknekwLCptKJid0PRBTLCXwesj8 - 8unt2V+3u5+r0wDTA6ROO/xwoK+rl2+Wnz8nu1+q01e789lFNRX3fuwIQLYAHg88AVXkWciN76Yb - FTG4B07kdnWPs9J7F+092xIbHTcbb6USljFn/Wh9zkBIkmMJq9At6b/WXLPDbk3LNMkLHMsjMx0r - TGvGt0+lJcTGIT6OkuxvyvG4nLaqZxrvKiB+X16++cmk6lU/PV3JveKqHqlEOEnq4sAZyj0qPJyB - WiCtqYMlxZkAR/xD1RpSmAgUx+6VWXDlgXd1SzWUurqS3mKupE+NhQ1uZz637y+BS+hab9qoGyTu - m7r+CTJ6Dal609Oz2QfNrFv9/tfJiW1LxKpO1mjNTffF90DD9dfOTsG5uRP5DSv58w9b1CiPFfPv - 9Y1z3GjNLXYshJe1Uh8XoVH/SQi9DdiktNODoSmu36z14sgUkxN6aQeZ14fOvoM6e2yeddromQXj - 7e8JAdkGeWbRDNt2Qii2k75vKBcHv2EN+ntCKLblnlkoQyEIhnKi/6r/AJI1m7vbFwAA - headers: - Accept-Ranges: - - bytes - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=300 - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Length: - - '1077' - Content-Security-Policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - Content-Type: - - text/plain; charset=utf-8 - Cross-Origin-Resource-Policy: - - cross-origin - Date: - - Tue, 07 Jan 2025 14:48:18 GMT - ETag: - - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" - Expires: - - Tue, 07 Jan 2025 14:53:18 GMT - Source-Age: - - '0' - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization,Accept-Encoding,Origin - Via: - - 1.1 varnish - X-Cache: - - HIT - X-Cache-Hits: - - '0' - X-Content-Type-Options: - - nosniff - X-Fastly-Request-ID: - - 1be8e4c55dc2483509f22f896bd65d66aa41f1bc + - 477a490ebba4b40f21c265122740d8026f55977b X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960039-PAR + - cache-mrs1050092-MRS X-Timer: - - S1736261298.947062,VS0,VE183 + - S1736353739.406882,VS0,VE1 X-XSS-Protection: - 1; mode=block status: @@ -6996,13 +6551,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 14:48:18 GMT + - Wed, 08 Jan 2025 16:28:59 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 14:53:18 GMT + - Wed, 08 Jan 2025 16:33:59 GMT Source-Age: - - '0' + - '16' Strict-Transport-Security: - max-age=31536000 Vary: @@ -7016,15 +6571,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - b58247c4bb84ee885f866fe13b8aa49291bb5c2c + - c8b2a38653eee21a2255f6b4ce13b63a7c8ed3ad X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960033-PAR + - cache-mrs1050104-MRS X-Timer: - - S1736261298.307708,VS0,VE2 + - S1736353740.546856,VS0,VE1 X-XSS-Protection: - 1; mode=block status: diff --git a/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml b/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml index ae905ba..2bafc8c 100644 --- a/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml +++ b/tests/extensions/cassettes/test_glide/GlideTest.test_transformer_0.yaml @@ -1,4 +1,171 @@ interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://github.com/IFRCGo/monty-stac-extension/raw/refs/heads/main/examples/glide-events/glide-events.json + response: + body: + string: '' + headers: + Access-Control-Allow-Origin: + - '' + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Security-Policy: + - 'default-src ''none''; base-uri ''self''; child-src github.com/assets-cdn/worker/ + github.com/webpack/ github.com/assets/ gist.github.com/assets-cdn/worker/; + connect-src ''self'' uploads.github.com www.githubstatus.com collector.github.com + raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com + github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com + *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com + objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com + proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com + wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ + productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ + productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ + productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ + productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ + productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ + productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ + productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ + productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ + productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ + productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com + github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com + wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com + api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src + github.githubassets.com; form-action ''self'' github.com gist.github.com copilot-workspace.githubnext.com + objects-origin.githubusercontent.com; frame-ancestors ''none''; frame-src + viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src + ''self'' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com + identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com + github-cloud.s3.amazonaws.com objects.githubusercontent.com secured-user-images.githubusercontent.com/ + user-images.githubusercontent.com/ private-user-images.githubusercontent.com + opengraph.githubassets.com github-production-user-asset-6210df.s3.amazonaws.com + customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com + *.githubusercontent.com; manifest-src ''self''; media-src github.com user-images.githubusercontent.com/ + secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com + github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src + github.githubassets.com; style-src ''unsafe-inline'' github.githubassets.com; + upgrade-insecure-requests; worker-src github.com/assets-cdn/worker/ github.com/webpack/ + github.com/assets/ gist.github.com/assets-cdn/worker/' + Content-Type: + - text/html; charset=utf-8 + Date: + - Wed, 08 Jan 2025 16:29:00 GMT + Location: + - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/glide-events/glide-events.json + Referrer-Policy: + - no-referrer-when-downgrade + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Vary: + - X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, + X-Requested-With + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 81C1:125E53:2ACE43:2B940F:677EA7CB + X-XSS-Protection: + - '0' + status: + code: 302 + message: Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/glide-events/glide-events.json + response: + body: + string: !!binary | + H4sIAAAAAAAAA3VUTW/bMAy951cIOte2nKbd4lOHrmgHbMWA9tQhKBRJibXqw5BkL1mQ/z5Z9mQ7 + TQHDDh/J90iKymEGALQOk9eGGcu1ggWAeYpSBC+ii+0cU63Teu8vD3tH6VxliyzjG0O2Ot1yV9br + lOtMauX2WYNSz5JZUjKJ09/WE/u8VeB0+4q1MrdaCEZcKxpwTluUnKCOOxHC779/+3oHnnRtCAN3 + DVPOdhGUWWJ45frqv4CBAugN6PJsl8dCHhAaU0YBV06DH23BHZPgxDca1Gr1pvSfvgajBRv1HkiC + p51QIB66q4xuOPXDjPGH8PYuheXQSZ//jj1AnoTWhBnYQ6sYXBvRUvwf/1Z4rVSbbTbw+YnzEBSc + hlU3mBqSYstxx3eMxYaTdT720DdTYcexiICH1mu9mxQ3/AIgyT+ji7G9nJgn3iWKxmo2/h77WTom + K22m+v6MmGkCdr4GOEcIJSj3zzNCRXhe4FhX1UJ8pDzr1aGtpcSGh5Pop0GxY46HM4vlSK64rGU7 + 3jnKrxJ0ncwvz+hCiXejwGWCPiU5es4vi8WiuLp+gZPGT1dgsmKTJYu7AMNFK4iulTP7V6LplOH2 + 4XHIf/r5eC65xH+xoe9z7x/8SPMhPdjzE3vRM8YJCq7ezmx9adgmbmPSXcDuH2G4ASzsq2ViM9rQ + 2fEfTe3yJp4EAAA= + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '524' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Wed, 08 Jan 2025 16:29:00 GMT + ETag: + - W/"bbbf2e872479f7121b3ad71cafb4ce38bf4638653a5c516323adb83ea6f0a6b6" + Expires: + - Wed, 08 Jan 2025 16:34:00 GMT + Source-Age: + - '0' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - MISS + X-Cache-Hits: + - '0' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 8a19dfd775640f4d857a513bedd9dbc40dbe89f5 + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 7BC3:F3EEC:6A386:6D92E:677EA7CC + X-Served-By: + - cache-mrs10579-MRS + X-Timer: + - S1736353740.486408,VS0,VE189 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: @@ -54,13 +221,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 14:48:18 GMT + - Wed, 08 Jan 2025 16:29:00 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 14:53:18 GMT + - Wed, 08 Jan 2025 16:34:00 GMT Source-Age: - - '0' + - '18' Strict-Transport-Security: - max-age=31536000 Vary: @@ -74,15 +241,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 411b32c72f4fb2156f10ad53e9abb390ed81431c + - 4d28c31575f0b767f9736c4e5730f0afe880ef72 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960031-PAR + - cache-mrs10573-MRS X-Timer: - - S1736261298.439818,VS0,VE1 + - S1736353741.852128,VS0,VE19 X-XSS-Protection: - 1; mode=block status: diff --git a/tests/extensions/cassettes/test_monty/MontyTest.test_validates_reference_event.yaml b/tests/extensions/cassettes/test_monty/MontyTest.test_validates_reference_event.yaml index 0877e8b..2f9f6ed 100644 --- a/tests/extensions/cassettes/test_monty/MontyTest.test_validates_reference_event.yaml +++ b/tests/extensions/cassettes/test_monty/MontyTest.test_validates_reference_event.yaml @@ -63,7 +63,7 @@ interactions: Content-Type: - text/html; charset=utf-8 Date: - - Tue, 07 Jan 2025 15:05:37 GMT + - Wed, 08 Jan 2025 16:29:01 GMT Location: - https://raw.githubusercontent.com/IFRCGo/monty-stac-extension/refs/heads/main/examples/reference-events/20241027T150000-ESP-HM-FLOOD-001-GCDB.json Referrer-Policy: @@ -80,7 +80,7 @@ interactions: X-Frame-Options: - deny X-GitHub-Request-Id: - - C988:1725B:3A53467:3BBBA31:677D431F + - 8221:116443:2B6B9A:2C31B0:677EA7CD X-XSS-Protection: - '0' status: @@ -132,13 +132,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:11 GMT + - Wed, 08 Jan 2025 16:29:02 GMT ETag: - W/"9ea00a9c7f61dc2525a639d3eb02e28ad07aa9640d8cd88adb98221401aced31" Expires: - - Tue, 07 Jan 2025 15:12:11 GMT + - Wed, 08 Jan 2025 16:34:02 GMT Source-Age: - - '93' + - '0' Strict-Transport-Security: - max-age=31536000 Vary: @@ -146,21 +146,21 @@ interactions: Via: - 1.1 varnish X-Cache: - - HIT + - MISS X-Cache-Hits: - '0' X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 9ee5bb896d6ad2e2a75a2cd2cb8e6118856655c2 + - dc3977ba85142b21818c975cb3739633f63bfd6e X-Frame-Options: - deny X-GitHub-Request-Id: - - F1BA:515C:9C5629:A27884:677D42C1 + - 37D7:E4274:6AA53:6E001:677EA7C8 X-Served-By: - - cache-par-lfpg1960034-PAR + - cache-mrs10571-MRS X-Timer: - - S1736262432.539603,VS0,VE1 + - S1736353741.466638,VS0,VE876 X-XSS-Protection: - 1; mode=block status: @@ -221,13 +221,13 @@ interactions: Cross-Origin-Resource-Policy: - cross-origin Date: - - Tue, 07 Jan 2025 15:07:11 GMT + - Wed, 08 Jan 2025 16:29:02 GMT ETag: - W/"5f6e1f3230195359862218fdea20141106751a1f1764da100ee01a376ddd4589" Expires: - - Tue, 07 Jan 2025 15:12:11 GMT + - Wed, 08 Jan 2025 16:34:02 GMT Source-Age: - - '211' + - '19' Strict-Transport-Security: - max-age=31536000 Vary: @@ -241,15 +241,15 @@ interactions: X-Content-Type-Options: - nosniff X-Fastly-Request-ID: - - 374bdddd554d02a925d6d59a4469a2c73667adfd + - e8e0ff0ac48c628ab71b88a9d0b43561e5969a30 X-Frame-Options: - deny X-GitHub-Request-Id: - - 621E:3D6372:91347C:971B5F:677D3A45 + - 56F1:EC184:690A9:6C5B2:677EA7B8 X-Served-By: - - cache-par-lfpg1960061-PAR + - cache-mrs1050114-MRS X-Timer: - - S1736262432.636414,VS0,VE1 + - S1736353742.492054,VS0,VE1 X-XSS-Protection: - 1; mode=block status: From ad5da247f0391dbae377c1771e67f5622784e9ff Mon Sep 17 00:00:00 2001 From: rup-narayan-rajbanshi Date: Wed, 8 Jan 2025 12:27:52 +0545 Subject: [PATCH 6/9] Add event item for Glide Collection --- pystac_monty/sources/glide.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pystac_monty/sources/glide.py b/pystac_monty/sources/glide.py index 6873a20..3d8e3e6 100644 --- a/pystac_monty/sources/glide.py +++ b/pystac_monty/sources/glide.py @@ -31,6 +31,14 @@ def __init__(self, data: GlideDataSource) -> None: def make_items(self) -> list[Item]: items = [] + """ Create glide event items """ + glide_events = self.make_event_items() + items.append(glide_events) + + return items + + def make_event_items(self) -> list[Item]: + event_items = [] # validate data for glide transformation glide_events = self.check_and_get_glide_events() @@ -69,9 +77,9 @@ def make_items(self) -> list[Item]: item.add_link(Link("via", self.data.get_source_url(), "application/json", "Glide Event Data")) - items.append(item) + event_items.append(item) - return items + return event_items def make_date(self, data: dict) -> datetime: year = data["year"] From 1fd334ee79fed1453e660a9a10bbe59760ddf035 Mon Sep 17 00:00:00 2001 From: Ranjan Shrestha Date: Fri, 10 Jan 2025 11:41:21 +0545 Subject: [PATCH 7/9] Add the extra required fields to create the stac event item --- pystac_monty/sources/glide.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pystac_monty/sources/glide.py b/pystac_monty/sources/glide.py index 3d8e3e6..1a6fe85 100644 --- a/pystac_monty/sources/glide.py +++ b/pystac_monty/sources/glide.py @@ -7,6 +7,7 @@ from shapely.geometry import Point, mapping from pystac_monty.extension import MontyExtension +from pystac_monty.hazard_profiles import HazardProfiles from pystac_monty.sources.common import MontyDataSource @@ -21,6 +22,8 @@ class GlideTransformer: Transforms Glide event data into STAC Items """ + hazard_profiles = HazardProfiles() + glide_events_collection_url = ( "https://github.com/IFRCGo/monty-stac-extension/raw/refs/heads/main/examples/glide-events/glide-events.json" ) @@ -33,7 +36,7 @@ def make_items(self) -> list[Item]: """ Create glide event items """ glide_events = self.make_event_items() - items.append(glide_events) + items.extend(glide_events) return items @@ -69,11 +72,18 @@ def make_event_items(self) -> list[Item]: ) item.set_collection(self.get_event_collection()) + item.properties["roles"] = ["source", "event"] MontyExtension.add_to(item) monty = MontyExtension.ext(item) - monty.hazard_codes = data.get("event") - monty.country_codes = data.get("geocode") + # Since there is no episode_number in glide data, + # we set it to 1 as it is required to create the correlation id + # in the method monty.compute_and_set_correlation_id(..) + monty.episode_number = 1 + monty.hazard_codes = [data.get("event")] + monty.country_codes = [data.get("geocode")] + + monty.compute_and_set_correlation_id(hazard_profiles=self.hazard_profiles) item.add_link(Link("via", self.data.get_source_url(), "application/json", "Glide Event Data")) From e90d6f06a8d8dd5ebe6b811ed26582b3b2d036da Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Sun, 12 Jan 2025 21:27:16 +0100 Subject: [PATCH 8/9] no need for glide hazards so far --- tests/extensions/test_glide.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/extensions/test_glide.py b/tests/extensions/test_glide.py index 61ef79b..f4ee6e2 100644 --- a/tests/extensions/test_glide.py +++ b/tests/extensions/test_glide.py @@ -59,8 +59,5 @@ def test_transformer(self, transformer: GlideTransformer) -> None: monty_item_ext = MontyExtension.ext(item) if monty_item_ext.is_source_event(): source_event_item = item - elif monty_item_ext.is_source_hazard(): - source_hazard_item = item - + # Just check that we have at least one source event item self.assertIsNotNone(source_event_item) - self.assertIsNotNone(source_hazard_item) From 23ae3ec51042fb47e04308b90a4d21d9d6e7c840 Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Sun, 12 Jan 2025 21:31:57 +0100 Subject: [PATCH 9/9] Remove unused source_hazard_item variable from GlideTest --- tests/extensions/test_glide.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/extensions/test_glide.py b/tests/extensions/test_glide.py index f4ee6e2..84e01af 100644 --- a/tests/extensions/test_glide.py +++ b/tests/extensions/test_glide.py @@ -49,7 +49,6 @@ def test_transformer(self, transformer: GlideTransformer) -> None: items = transformer.make_items() self.assertTrue(len(items) > 0) source_event_item = None - source_hazard_item = None for item in items: # write pretty json in a temporary folder for manual inspection item_path = get_data_file(f"temp/glide/{item.id}.json")