hapi-server / tasks

Task tracker
0 stars 0 forks source link

Bob - WDC HAPI server #21

Open rweigel opened 5 months ago

rweigel commented 5 months ago

Would be nice to have a HAPI version of https://wdc.bgs.ac.uk/dataportal/webservice_doc.html

jvandegriff commented 4 months ago

Meeting schedule for July 3 with WDC to discuss next steps; they are redoing their API but far along, but might still be interested in HAPI

rweigel commented 4 months ago

The WDC group has already developed a HAPI /catalog endpoint.

Stated that mapping to HAPI should not involve much new code.

They will develop code in-house for server. They use FastAPI. I noted that we have wanted and OpenAPI spec for a HAPI server for a while. There is code out there that can generate servers and clients given an OpenAPI spec. They don't use this approach, however.

They will follow-up after some research and development and we'll set up a meeting with them in the regular HAPI telecon.

rweigel commented 3 months ago

1) the new WDC portal is in staging and I thought you may be interested to take a look - we are welcoming any feedback on what works well, what doesn't and what needs adding before a grand launch: https://wdc-dataportal-uat.bgs.ac.uk/

2) the API is now behaving better after a database reconfiguration so feel free to have a deeper look at that too: https://wdcapi.bgs.ac.uk/docs

Please feel free to also forward these to anyone else who may be interested in providing feedback so we can ensure it is fit for purpose. Also noting that we will be doing a call for observatories to update their metadata soon, so some will currently be outdated.

We have also been working on improving another data delivery API (magnetic indices and forecasts, electric field data etc that we produce) - I am open to adding HAPI endpoints in the future to this service too if it felt appropriate and I can send a link soon when it’s in staging to see if it would fit. After that work is done, I will be working to finalise the WDC HAPI endpoints and can drop you an email when I think it looks good to go. Perhaps another couple weeks.

rweigel commented 2 months ago

Ask if ready to move to all.json.