ecoengine
ecoengine copied to clipboard
Need method to categorize raster sources
We see that the API lists 60 raster data sources, but they're all the same except for the date. We're assuming someone using this would want to choose the overall source and then the date (or vice versa) but they don't want a big long list of names that differ only by the date at the end of the name: "NASA NEX GFDL-ESM2M maximum temperature 2031-02-16"
Do you have any plans to add hierarchy to the rasters?
Here's an example:
{
"units": "kelvin",
"tags": [
"GFDL",
"NASA",
"NEX",
"climate",
"temperature"
],
"tile_template": "https://dev-ecoengine.berkeley.edu/api/tiles/tasmax_rcp60_r1i1p1_gfdl-esm2m-2031-02-16/{z}/{x}/{y}/",
"id": 28,
"image": "gis/rasters/tasmax_rcp60_r1i1p1_GFDL-ESM2M-2031-02-16.tif",
"geom": {
"type": "Polygon",
"coordinates": [
[
[
-125.02499999999502,
24.058333333335
],
[
-66.483333356745,
24.058333333335
],
[
-66.483333356745,
49.933333322985
],
[
-125.02499999999502,
49.933333322985
],
[
-125.02499999999502,
24.058333333335
]
]
]
},
"event": "2031-02-16",
"srs": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0],UNIT[\"degree\",0.0174532925199433],AUTHORITY[\"EPSG\",\"4326\"]]",
"minval": 259.249420166016,
"maxval": 299.943145751953,
"nodata": 1.00000002004088e+20,
"name": "NASA NEX GFDL-ESM2M maximum temperature 2031-02-16",
"slug": "tasmax_rcp60_r1i1p1_gfdl-esm2m-2031-02-16"
}
We've talked about hierarchy (so your question is spot-on); I wonder if this can be embedded in the tags as a method to include some structure. Falk?
Use cases would be selecting climate scenarios (future vs present) and then the type of variable (temp vs. percip, for example) or maybe comparing between sources (NASA NEX vs Worldclim (or whatever other sources we have)).
On Wed, Oct 1, 2014 at 11:57 AM, Dan Rademacher [email protected] wrote:
We see that the API lists 60 raster data sources, but they're all the same except for the date. We're assuming someone using this would want to choose the overall source and then the date (or vice versa) but they don't want a big long list of names that differ only by the date at the end of the name: "NASA NEX GFDL-ESM2M maximum temperature 2031-02-16"
Do you have any plans to add hierarchy to the rasters?
Here's an example:
{ "units": "kelvin", "tags": [ "GFDL", "NASA", "NEX", "climate", "temperature" ], "tile_template": "https://dev-ecoengine.berkeley.edu/api/tiles/tasmax_rcp60_r1i1p1_gfdl-esm2m-2031-02-16/{z}/{x}/{y}/", "id": 28, "image": "gis/rasters/tasmax_rcp60_r1i1p1_GFDL-ESM2M-2031-02-16.tif", "geom": { "type": "Polygon", "coordinates": [ [ [ -125.02499999999502, 24.058333333335 ], [ -66.483333356745, 24.058333333335 ], [ -66.483333356745, 49.933333322985 ], [ -125.02499999999502, 49.933333322985 ], [ -125.02499999999502, 24.058333333335 ] ] ] }, "event": "2031-02-16", "srs": "GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]]", "minval": 259.249420166016, "maxval": 299.943145751953, "nodata": 1.00000002004088e+20, "name": "NASA NEX GFDL-ESM2M maximum temperature 2031-02-16", "slug": "tasmax_rcp60_r1i1p1_gfdl-esm2m-2031-02-16" }
— Reply to this email directly or view it on GitHub https://github.com/stamen/ecoengine/issues/16.
We will change that:
- data sources that are distinguished only by date will appear as only one entry in the future
- we have to add more data
Hope to get this done in the next two weeks probably not faster.
Falk