Open MathewBiddle opened 3 years ago
checkout this merged PR https://github.com/ioos/erddapy/pull/199
Should be a one line replace of the get_erddaps() function used in run.py with:
from erddapy.servers import servers
hopefully. Also used in run.py here as well, and maybe some other places?
Example usage in erddapy: https://github.com/ioos/erddapy/blob/main/erddapy/multiple_server_search.py#L65-L67.
Looks like this function is built into erddapy: https://github.com/oceanhackweek/ohw19-project-co_locators/blob/f0b9b24e25aff33ed49b842dafe4c035380a91fa/colocate/run.py#L25-L42
See https://github.com/ioos/erddapy/blob/b0cd740fb01cfafd337727d15a4703953459f437/erddapy/servers.py#L14-L35