Open USGSPMM3 opened 3 years ago
@USGSPMM3 and @HansVraga working on seeing how National Water Dashboard determines if a gage is active
Gages returned from NLDI now include active and discontinued gages, need to determine which are active and which are not and color code appropriately (2 emails have been sent to Jim Kreft
Pete & Hans had a quick meeting with Tom Burley at NOMS. Essentially the NWD decides a gage is 'active' or not by looking at last reported data - if it's more than 4 hours old it's 'inactive' - they are working on publishing and documenting services that are more sophisticated than that (reviewing flags and other data) but for now that's how they're 'doing' it. Those services might not be released for some time.
So I think we take all the gages returned, iterate through them with calls to NWIS to get recent measurements, and if those measurements are more than 4 hours old we can flag them in some way...
NLDI is now returning active and discontinued gages and we need to parse those for active only.