Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snodas-ui to support queries on new zonal statistics api #7

Open
lbross opened this issue Jun 11, 2024 · 0 comments
Open

Update snodas-ui to support queries on new zonal statistics api #7

lbross opened this issue Jun 11, 2024 · 0 comments

Comments

@lbross
Copy link
Collaborator

lbross commented Jun 11, 2024

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.

lbross added a commit to lbross/snodas-ui that referenced this issue Jun 25, 2024
lbross added a commit to lbross/snodas-ui that referenced this issue Jun 25, 2024
lbross added a commit to lbross/snodas-ui that referenced this issue Jun 26, 2024
lbross added a commit to lbross/snodas-ui that referenced this issue Jul 1, 2024
jkeifer pushed a commit that referenced this issue Jul 19, 2024
* issue #7: Implement SNODAS Zonal Values - Doy Range query

* issue #7: Added date range query; Changing elev range isn't working; Need to add event listener

* issue #7: Now sending selected elev interval

* issue #8: Updated linkend strings for both queryInits to point to the new endpoint with the correct parameters.

* issue #7: Update query names per @jduh request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant