开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Input needed for fixing Map Source Editor


 

The map source editor in D-rats is currently unusable due to a change in the USGS servers that it was pulling data from.

As I do not have any working examples of how it should work, I do not know how to implement a useful fix.

As near as I can tell, the "RIVER" code first pulled down a list
of river information, and then would get some information about the rivers.

The list water information now requires specifying the latitude and longitude of of where you want, and then selecting something from what was available.

I have no understanding of how to use the new data format and queries with d-rats.

I have not even started on seeing if the NDBC data from the ndbc data will work.

I will probably need to just disable the USGS map sources until I get information on how they should work.

73,
-John
wb8tyw


 

On 2/25/2022 5:47 PM, John E. Malmberg wrote:
The map source editor in D-rats is currently unusable due to a change in the USGS servers that it was pulling data from.
I actually managed to figure out how to get the USGS River data working in my fork.

What I did not realize is that it was trying to look up pre-defined site numbers in the d-rats.config file and was then crashing due to differences in the python3 and python2 environments.

I was expecting that the dialog was going to be to allow me to look up the site numbers, so the URL template looked completely wrong.

It does look like the URL formats and options are changing though.

The big problem was finding a USGS site number with the gauge data that was expected to be with the point. And then I discovered that the data now had different fields than what D-Rats was expecting.

73,
-wb8tyw, John