climate-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLIMATE-400) Create a 'backend' Service that will return Time Span and Spatial Bounds metadata for RCMED Parameters
Date Sun, 06 Apr 2014 20:12:15 GMT

    [ https://issues.apache.org/jira/browse/CLIMATE-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961509#comment-13961509
] 

ASF GitHub Bot commented on CLIMATE-400:
----------------------------------------

GitHub user cgoodale opened a pull request:

    https://github.com/apache/climate/pull/18

    CLIMATE-400: Added backend wrapper to rcmed.get_parameters_metadata()

    This code change should resolve CLIMATE-400 and enable the ocw-ui to easily parse the
parameter metadata from JPL's Regional Climate Model Evaluation Database web service.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cgoodale/climate CLIMATE-400

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/climate/pull/18.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18
    
----
commit 97ef16cd4366790bd8ae3fd949f2860c2fb638b6
Author: cgoodale <sigep311@gmail.com>
Date:   2014-04-06T20:03:02Z

    CLIMATE-400: Added backend wrapper to rcmed.get_parameters_metadata()

----


> Create a 'backend' Service that will return Time Span and Spatial Bounds metadata for
RCMED Parameters
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CLIMATE-400
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-400
>             Project: Apache Open Climate Workbench
>          Issue Type: Task
>          Components: webapp
>    Affects Versions: 0.3-incubating
>            Reporter: Cameron Goodale
>            Assignee: Cameron Goodale
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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)
> {code}
> {
>     "data": {
>         "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
>         }
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message