Uploaded image for project: 'GeoDashboard'
  1. GeoDashboard
  2. GEOD-977

Use the APIs for trends by region and detail

    XMLWordPrintableJSON

Details

    • 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

    Description

      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

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mpitcel2 Michelle Pitcel
                indiragp Indira Gutierrez Polo
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Time Spent - 6 hours, 45 minutes Remaining Estimate - 1 hour, 15 minutes
                    1h 15m
                    Logged:
                    Time Spent - 6 hours, 45 minutes Remaining Estimate - 1 hour, 15 minutes
                    6h 45m

                    Tasks