Open epag opened 2 months ago
Original Redmine Comment Author Name: Hank (Hank) Original Date: 2024-04-30T11:21:10Z
I'm going to up the urgency on this one. We need the change in place ASAP and no later than by the end of this quarter (i.e., the end of June).
James: When you have some spare time, can you provide a time estimate for this work? I think it will need to be either you or Evan, though there is a chance that I could find some spare time soon. Regardless, I think you are in the best position to provide that initial time estimate.
Thanks,
Hank
Original Redmine Comment Author Name: James (James) Original Date: 2024-04-30T11:50:55Z
I will double-check, but I am pretty sure this is just a nomenclature issue. It currently reads json for sure. We read uris like this:
Note @format=json@.
I think what happened is that the original classes were named incorrectly on the basis that "waterml" is a standard across formats, but it isn't AFAIK, it is built on XML. Now is probably a good time to rename them, so my estimate for this ticket would be something like "2" bananas :)
Let me double-check, but I distinctly remember being confused about the original choice of naming when refactoring these classes to adhere to the new pull-driven api.
Original Redmine Comment Author Name: James (James) Original Date: 2024-04-30T11:53:31Z
Yeah, there are some tell-tale signs, like @DataDisposition.JSON_WATERML@.
Original Redmine Comment Author Name: James (James) Original Date: 2024-04-30T11:56:26Z
Other than the code itself (@NwisReader@)...
urlParameters.put( "format", "json" );
</code>
...I think #93486 is the smoking gun. Just need to rename to avoid confusion.
Original Redmine Comment Author Name: Hank (Hank) Original Date: 2024-04-30T12:40:55Z
Got it. Yes, the use of "WaterML" was confusing, since I thought that was XML by definition, not JSON.
Hank
Original Redmine Comment Author Name: James (James) Original Date: 2024-07-01T10:00:21Z
Will probably use this one to test the github workflow shortly as it's a small ticket and would be simpler to fix than migrate.
Original Redmine Comment Author Name: Evan (Evan) Original Date: 2024-07-02T13:25:24Z
Moving to 6.25 as im deploying 6.24 now
Original Redmine Comment Author Name: James (James) Original Date: 2024-07-26T11:56:18Z
Oh well, didn't complete in time, so migration to github needed.
Author Name: Hank (Hank) Original Redmine Issue: 129481, https://vlab.noaa.gov/redmine/issues/129481 Original Date: 2024-04-30 Original Assignee: James
I've posted an email, below, from one of the "product owners" of USGS water services. Please review. I believe the WRES reads WaterML from USGS NWIS, but I could be wrong. Apparently, they offer a JSON version which will not be impacted, so we should switch to that.
If I'm wrong about us reading the WaterML from USGS NWIS, please let me know and I'll reject this ticket. Thanks,
Hank
==========================================================