The specs for the two new zonal stats API endpoints are available via the OpenAPI docs (https://api.snodas.geog.pdx.edu/docs). One can experiment with the new endpoints on that page as well. Note that they return a json format response by default; to get a CSV like we'll want for the UI, the HTTP request ACCEPTS header needs to be set to "text/csv". To test that out, build and run a query via the test functionality on that page then copy the example curl command and change the ACCEPTS header from "/" to "text/csv".
The UI only needs to support the 'swe' product. A select list will be added with the options of 250, 500, and 1000 foot interval choices.
The specs for the two new zonal stats API endpoints are available via the OpenAPI docs (https://api.snodas.geog.pdx.edu/docs). One can experiment with the new endpoints on that page as well. Note that they return a json format response by default; to get a CSV like we'll want for the UI, the HTTP request ACCEPTS header needs to be set to "text/csv". To test that out, build and run a query via the test functionality on that page then copy the example curl command and change the ACCEPTS header from "/" to "text/csv".
The UI only needs to support the 'swe' product. A select list will be added with the options of 250, 500, and 1000 foot interval choices.