DOI-USGS / DOI-USGS/pywatershed

clean up metadata approach

Open
#345 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
54
Forks
25
Avg merge
14h 56m
Merged PRs (30d)
10

Description

While #343 improved the link between pyPRMS metadata and pywatershed, the code is still very ad hoc and potentially difficult to to understand. The code could be refactored. Some other approaches could be considered as well. Among them, relying on pyPRMS to provide the metadata instead of parsing its XML files directly. This would require tests and stability on the pyPRMS side for the metadata class.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the metadata changes from #343 and the current pyPRMS-to-pywatershed integration. Examine whether pyPRMS can provide the metadata instead of direct XML parsing, including the tests and stability needed for its metadata class; done requires an agreed approach and coverage for the refactored metadata handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, data
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.