• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / geo-harvester / 7849608852
100%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2024 09:08PM UTC
Jobs 1
Files 20
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Feb 2024 09:06PM UTC coverage: 99.034% (+0.03%) from 99.004%
7849608852

push

github

web-flow
Remove bbox requirement from MITAardvark and add WKT validator (#138)

* Remove bounding box requirement from MITAardvark

Why these changes are being introduced:
* This enables Geo-Harvester to process geospatial metadata with missing
or potentially invalid geospatial bounding box information. This change is
in preparation of the ingestion of geospatial metadata from external sources
that will likely vary in data quality. Having these fields as required may be
too restrictive.

How this addresses that need:
* Remove bounding box fields as 'required' from MITAardvark JSON schema
* Remove bounding box fields from test fixtures representing 'required' data
* Move bounding box attributes to 'optional' group in harvester.records.MITAardvark

Side effects of this change:
* Required follow-up work: Geo-Harvester will validate bounding box information when present.

---

* Create validator for evaluating geoshape WKT values

Why these changes are being introduced:
* This is part of an effort to add some data validation to the TIMDEX
pipeline, with an aim to catch errors with records in earlier stages
(e.g., during the harvest). This also proposes a workflow wherein
validation methods can easily be applied as decorators to field methods
for a given SourceRecord.

How this addresses that need:
* Add 'shapely' as a dependency
* Create custom warning for invalid field values
* Create decorator method for validating geoshape WKT values
   * Returns None if WKT value is invalid (cannot be parsed)
* Update SourceRecord classes (FGDC, ISO19139)
* Move MITAardvark format validation method into validator module
* Address comments

Side effects of this change:
* None

---

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/GDT-159

1435 of 1449 relevant lines covered (99.03%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7849608852.1 09 Feb 2024 09:08PM UTC 0
99.03
GitHub Action Run
Source Files on build 7849608852
Detailed source file information is not available for this build.
  • Back to Repo
  • 53e02bfa on github
  • Prev Build on main (#7831349258)
  • Next Build on main (#7905903448)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc