The plan is to deliver data to the app in JSON format using a REST API. My understanding is that @jamcinnes2 has configured one. Need to add that to the kubernetes deployment as another service. This mainly involves:
note that currently that always returns the same JSON file
[x] wrap that in a kubernetes deployment and service (may be able to use existing for the static webapp)
[x] create an ingress endpoint for that service (probably can use existing ingress for the static webapp)
[x] ensure the service has access to a PVC for the CephFS mount containing the data (read-only)
So, right now, the main issue seems to be to mount the data volume and reimplement wxdata.get_wxvar() to access that data. In doing that, it would be good to:
[x] identify existing methods that can convert the netcdf data to the json format
The plan is to deliver data to the app in JSON format using a REST API. My understanding is that @jamcinnes2 has configured one. Need to add that to the kubernetes deployment as another service. This mainly involves:
So, right now, the main issue seems to be to mount the data volume and reimplement
wxdata.get_wxvar()
to access that data. In doing that, it would be good to:locjtool.py