We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1aa9148 + b393dba commit 4e50b72Copy full SHA for 4e50b72
pystac_monty/sources/idu.py
@@ -244,7 +244,10 @@ def check_and_get_idu_data(self) -> Iterator[List[Dict]]:
244
if IDMCUtils.DisplacementType(item["displacement_type"]) == IDMCUtils.DisplacementType.DISASTER_TYPE:
245
missing_fields = [field for field in required_fields if field not in item]
246
if missing_fields:
247
- raise ValueError(f"Missing required fields {missing_fields}.")
+ logger.warning(
248
+ f"Missing required fields {missing_fields} for the event id {item.get('id', '<None>')}."
249
+ )
250
+ continue
251
252
item_id = item["event_id"]
253
if item_id != current_id:
0 commit comments