Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSD] Check for empty sections and duplication of section content under wrong header #76

Open
brownag opened this issue Apr 16, 2024 · 0 comments
Assignees

Comments

@brownag
Copy link
Member

brownag commented Apr 16, 2024

For example, ADEN soil series:

"GEOGRAPHICALLY ASSOCIATED SOILS": {
"section": "GEOGRAPHICALLY ASSOCIATED SOILS",
"content": "GEOGRAPHICALLY ASSOCIATED SOILS: These soils are associated dominantly with the Bermudian and Roland soils of the flood plains and the Arcola, Nestoria and Reaville of the uplands. The well drained Bermudian and the moderately well to somewhat poorly drained Roland soils are on slightly lower elevations in the landscape and have thinner and coarser textured subsoils. The Arcola, Nestoria and Reaville are developed in residuum from silt stone and sandstone and are shallower to bedrock. DRAINAGE AND PERMEABILITY: Poorly drained. Slow runoff and slow internal drainage."
},
"DRAINAGE AND PERMEABILITY": {
"section": "DRAINAGE AND PERMEABILITY",
"content": "GEOGRAPHICALLY ASSOCIATED SOILS: These soils are associated dominantly with the Bermudian and Roland soils of the flood plains and the Arcola, Nestoria and Reaville of the uplands. The well drained Bermudian and the moderately well to somewhat poorly drained Roland soils are on slightly lower elevations in the landscape and have thinner and coarser textured subsoils. The Arcola, Nestoria and Reaville are developed in residuum from silt stone and sandstone and are shallower to bedrock. DRAINAGE AND PERMEABILITY: Poorly drained. Slow runoff and slow internal drainage.\nDRAINAGE AND PERMEABILITY:"
},

Geographically Associated Soils section is repeated as the content for GAS and Drainage and Permeability (which is present, but completely blank in the source data). This results in parsing the "well drained" phrase from GAS as the drainage class for the series. Luckily drainage class (poorly) is also in the overview section in this case, which is what alerted me to the problem.

OSD JSON
ADEN ADEN.json

At this time it is not clear how many other instances are affected by this type of error; it might be fairly common wherever "empty" sections occur.

@brownag brownag self-assigned this Apr 16, 2024
@brownag brownag changed the title Check for empty sections and duplication of section content under wrong header [OSD] Check for empty sections and duplication of section content under wrong header Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant