Opened 5 years ago

Closed 5 years ago

#2198 closed enhancement (fixed)

Catch and ignore coverage exceptions on GetCapabilities

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: critical Milestone: 10.0
Component: petascope Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

It seems that occasionally GetCapabilities in petascope fails to return anything because of trouble in some coverage.

It happened twice to me so far, once because of a bug with gdal transform, now a second time because some coverage is somehow missing.

In both times the only way for me to make petascope and wcst_import usable again was to drop petascopedb and create it again.

I think when reading each coverage information while handling the
GetCapabilities request, if it fails to read / throws an exception - petascope should catch any such exception and log a warning. Then still continue reading the remaining coverages so at least something useful can be returned.

Change History (2)

comment:1 by Bang Pham Huu, 5 years ago

Cc: Dimitar Misev Vlad Merticariu added
Owner: set to Bang Pham Huu
Status: newassigned

comment:2 by Bang Pham Huu, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.