SECOORA / skill_score

Prototypes for the SECOORA skill score
MIT License
7 stars 1 forks source link

NDBC/COOPS endpoint and pass it to a pyoos request #232

Open ocefpaf opened 8 years ago

ocefpaf commented 8 years ago

@emiliom mentioned:

  1. "We still need to find endpoints for the observations. For that we'll use pyoos' NdbcSos and CoopsSos collectors."

It's puzzling that the initial requests (cell 8) don't return any COOPS service endpoints. But your pyoos CoopSos query did return a matching site. So the decision to issue a pyoos CoopSos query doesn't follow from the CSW results; there's an unexplained jump from those CSW results to that choice, which I'm guessing may have been found in the original, long system-integration-test notebooks, but got lost along the way.

Not really. We do that jump in many places (SECOORA included) and we never explained it.

Also, it'd be neat if we could build a utility function or capability that helps detect an NDBC (or COOPS) endpoint and pass on the query information to a pyoos NdbcSos request. Otherwise the user/code has to make an informed, manual decision: "I see what looks like an NDBC end point, so I'll issue the same query to the pyoos NdbcSos collector". Or: "I'll go check on NDBC just in case".

That would be nice. I am opening this issue to tackle that request.

emiliom commented 8 years ago

Interesting. Thanks. I could be persuaded to help with this, if the timing is right (I'm not too swamped).

It's interesting/odd that the CSW query returns no COOPS service endpoints. If you go to the IOOS Catalog Map (http://catalog.ioos.us/map/), you'll find "NOOA-CO-OPS" sites in Boston Harbor; but I can't say if the ones shown meet the query criteria for variables and bounding box.

ocefpaf commented 8 years ago

It's interesting/odd that the CSW query returns no COOPS service endpoints. If you go to the IOOS Catalog Map (http://catalog.ioos.us/map/), you'll find "NOOA-CO-OPS" sites in Boston Harbor; but I can't say if the ones shown meet the query criteria for variables and bounding box.

I will investigate that in a future post. Thanks!