Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-400

Create a 'backend' Service that will return Time Span and Spatial Bounds metadata for RCMED Parameters

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • None
    • webapp
    • None

    Description

      I will add another endpoint to: rcmed_helpers.py which will return the temporal and spatial bounds of all parameters that have a bounds value that is not NULL.

      route('/parameters/bounds/') will return a JSON of format: (the number that is the key within "data" maps to the parameter_id, so easy access)

      {
              "38": {
                  "start_date": "1901-01-15",
                  "end_date": "2009-12-15",
                  "latmax": 89.75,
                  "latmin": -89.75,
                  "lonmax": 179.75,
                  "lonmin": -179.75
              },
              "39": {
                  "start_date": "1901-01-15",
                  "end_date": "2009-12-15",
                  "latmax": 89.75,
                  "latmin": -89.75,
                  "lonmax": 179.75,
                  "lonmin": -179.75
              }
      }
      

      Attachments

        Activity

          People

            cgoodale Cameron Goodale
            cgoodale Cameron Goodale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified