-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
GLM - 2017 September Sprint, GLM - 2017 Oct Sprint 1, GLM - 2017 - Oct Sprint 2, GLM - 2017 November tasks
Original Description
Use the endpoints created at: https://opensource.ncsa.illinois.edu/bitbucket/projects/GEOD/repos/geo-temporal-api-v2/pull-requests/3/overview
to populate the graphs for trends details and trends by region
From GEOD-975 Comments section
Comment:
another issue:
fetchTrends:
// For each sensor, get the start/end day for selected parameter from clowder API (the api is same as the one
// used for detail page, thus it should be quick). then get the trends result from the /datapoints/trends api.
// Each sensor wil have a dispatch with type = ADD_ANALYSIS or ADD_CHOOSE_TRENDS.
do we still need this for GLM, i.e. only show sensors that has data longer than 10 years?
Comment:
in action/index.js:
argument "type" is not necessary for fetchTrends, it can be decided by view-type.
also, almost all arguments for fetchTrends can be get from state, no need to get them in each function, just get within fetchTrends