Issue with retrieving XML formatted data
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
We have an ingest process whereby we retrieve xml-formatted USACE data for use with the NWM. We recently encountered an issue with this usual USACE cwms data download/ingest. A few days ago, we noticed that two tags disappeared from the incoming data files: <query-info> and <requested-item>.
We added (req = urllib.request.Request(request_str, headers={"accept": "application/xml;version=1"}) into the python download script but it creates empty xml files. Per our email exchange, Mike, I'm entering this as a new issue.
Thanks,
Brian
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Python download script and the request for USACE CWMS XML data, comparing responses with and without the accept: application/xml;version=1 header. Investigate why the response files are empty or omit <query-info> and <requested-item>; done means the download produces non-empty XML with the expected tags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, data-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100