lasp / hapi-server

A HAPI server built on LaTiS
Apache License 2.0
1 stars 1 forks source link

Implement data response #41

Closed lindholc closed 6 years ago

lindholc commented 6 years ago

These commits add the algebra and interpreters for data requests.

In particular, look at how I implemented the algebra in Latis2Interpreter and let me know if there's a better way to do the things I've done. I'll need to revisit later and work on patching things up so we return useful errors when things go wrong on the LaTiS side.

I believe the same limitations that applied to info requests (#10, #39) apply here.

I've restricted the output to CSV only (the minimum required) to make life easier for now. I've also just implemented a really dumb CSV writer because the dataset shapes we're supporting now are simple.

Closes #11.