ESM-VFC / esm-vfc-api-demo

MIT License
3 stars 2 forks source link

Simple flask app #2

Closed benbovy closed 4 years ago

benbovy commented 4 years ago

Closes #1.

I added a notebook in the examples folder as a demo of using the API from the client side.

TODO:

benbovy commented 4 years ago

@alirezamdv you can have a look at an API example usage here.

I'm open to suggestions.

willirath commented 4 years ago

This is great!

benbovy commented 4 years ago

I slightly rearranged the code. Docker-compose is used to build two services running in two containers:

I think it is enough for now. We'll need to figure out how to expand this architecture to support multiple datasets. I'm not sure running one container per dataset is a good solution. It would be nice if xpublish could support serving a collection of datasets.

benbovy commented 4 years ago

I was fixing the json response of ship tracks (not properly formatted) and also adding the possibility of setting multiple fieldnames to extract data from several data variables at once.

I will open a new PR :-)

willirath commented 4 years ago

I will open a new PR :-)

Sorry. :)