You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Cameron Goodale (JIRA)" <ji...@apache.org> on 2014/04/06 22:35:15 UTC

[jira] [Updated] (CLIMATE-400) Create a 'backend' Service that will return Time Span and Spatial Bounds metadata for RCMED Parameters

     [ https://issues.apache.org/jira/browse/CLIMATE-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cameron Goodale updated CLIMATE-400:
------------------------------------

    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)

{code}
{
        "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}

  was:
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}


> 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}
> {
>         "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)