-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1614 from dassaniansh/addingExtent
Adding extent
- Loading branch information
Showing
10 changed files
with
291 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"name": "bioclim-bio1", | ||
"url": "http://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip", | ||
"title": "Bioclim 2.5 Minute Climate Data", | ||
"ref":"http://worldclim.org/bioclim", | ||
"driver": "EHdr", | ||
"archived": "zip", | ||
"extract_all": "True", | ||
"description": "Bioclimatic variables that are derived from the monthly temperature and rainfall values in order to generate more biologically meaningful variables.", | ||
"licenses": [{"name": "CC-BY-SA"}], | ||
"keywords": [ | ||
"climate", | ||
"spatial-data", | ||
"global" | ||
], | ||
"citation": "Hijmans, R.J., S.E. Cameron, J.L. Parra, P.G. Jones and A. Jarvis, 2005. Very high resolution interpolated climate surfaces for global land areas. International Journal of Climatology 25: 1965-1978.", | ||
"version": "1.3.0", | ||
"homepage": "http://worldclim.org/bioclim", | ||
"colums": 8640, | ||
"rows": 3600, | ||
"datum": "--Coordinate Reference System", | ||
"projection": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]", | ||
"file_size": "--size of file on disk", | ||
"group_count": "--Number of groups in the dataset if applicable", | ||
"dataset_count": "--The number of individual datasets", | ||
"transform": { | ||
"xOrigin": -180.00000000000335, | ||
"pixelWidth": 0.041666666666667, | ||
"rotation_2": 0.0, | ||
"yOrigin": 90.00000000000003, | ||
"rotation_4": 0.0, | ||
"pixelHeight": -0.041666666666667 | ||
}, | ||
"resources": [ | ||
{ | ||
"extensions": ["bil", "hdr"], | ||
"format": "raster", | ||
"name": "bio1", | ||
"path":"bio1.bil", | ||
"other_paths": "bio1.hdr", | ||
"no_data_value": -9999.0, | ||
"min": -272.0, | ||
"max": 312.0, | ||
"scale": 1.0, | ||
"color_table": null, | ||
"statistics": { | ||
"minimum": -272.0, | ||
"maximum": 312.0, | ||
"mean": 81.1423446407, | ||
"stddev": 148.2358307206 | ||
} | ||
} | ||
] | ||
} |
60 changes: 60 additions & 0 deletions
60
test/raw_data_gis/scripts/tests_bioclim_bio1_crop_extent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"name": "bioclim-bio1-crop-extent", | ||
"url": "http://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip", | ||
"title": "Bioclim 2.5 Minute Climate Data", | ||
"ref":"http://worldclim.org/bioclim", | ||
"driver": "EHdr", | ||
"archived": "zip", | ||
"extract_all": "True", | ||
"description": "Bioclimatic variables that are derived from the monthly temperature and rainfall values in order to generate more biologically meaningful variables.", | ||
"licenses": [{"name": "CC-BY-SA"}], | ||
"keywords": [ | ||
"climate", | ||
"spatial-data", | ||
"global" | ||
], | ||
"citation": "Hijmans, R.J., S.E. Cameron, J.L. Parra, P.G. Jones and A. Jarvis, 2005. Very high resolution interpolated climate surfaces for global land areas. International Journal of Climatology 25: 1965-1978.", | ||
"version": "1.3.0", | ||
"homepage": "http://worldclim.org/bioclim", | ||
"colums": 8640, | ||
"rows": 3600, | ||
"datum": "--Coordinate Reference System", | ||
"projection": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]", | ||
"file_size": "--size of file on disk", | ||
"group_count": "--Number of groups in the dataset if applicable", | ||
"dataset_count": "--The number of individual datasets", | ||
"transform": { | ||
"xOrigin": -180.00000000000335, | ||
"pixelWidth": 0.041666666666667, | ||
"rotation_2": 0.0, | ||
"yOrigin": 90.00000000000003, | ||
"rotation_4": 0.0, | ||
"pixelHeight": -0.041666666666667 | ||
}, | ||
"extent": { | ||
"xMin": 60, | ||
"yMax": 50, | ||
"xMax": 100, | ||
"yMin": 0 | ||
}, | ||
"resources": [ | ||
{ | ||
"extensions": ["bil", "hdr"], | ||
"format": "raster", | ||
"name": "bio1", | ||
"path":"bio1.bil", | ||
"other_paths": "bio1.hdr", | ||
"no_data_value": -9999.0, | ||
"min": -272.0, | ||
"max": 312.0, | ||
"scale": 1.0, | ||
"color_table": null, | ||
"statistics": { | ||
"minimum": -272.0, | ||
"maximum": 312.0, | ||
"mean": 81.1423446407, | ||
"stddev": 148.2358307206 | ||
} | ||
} | ||
] | ||
} |
61 changes: 61 additions & 0 deletions
61
test/raw_data_gis/scripts/tests_bioclim_bio1_crop_extent2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"name": "bioclim-bio1-crop-extent2", | ||
"url": "http://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip", | ||
"title": "Bioclim 2.5 Minute Climate Data", | ||
"ref":"http://worldclim.org/bioclim", | ||
"driver": "EHdr", | ||
"archived": "zip", | ||
"extract_all": "True", | ||
"description": "Bioclimatic variables that are derived from the monthly temperature and rainfall values in order to generate more biologically meaningful variables.", | ||
"licenses": [{"name": "CC-BY-SA"}], | ||
"keywords": [ | ||
"climate", | ||
"spatial-data", | ||
"global" | ||
], | ||
"citation": "Hijmans, R.J., S.E. Cameron, J.L. Parra, P.G. Jones and A. Jarvis, 2005. Very high resolution interpolated climate surfaces for global land areas. International Journal of Climatology 25: 1965-1978.", | ||
"version": "1.3.0", | ||
"homepage": "http://worldclim.org/bioclim", | ||
"colums": 8640, | ||
"rows": 3600, | ||
"datum": "--Coordinate Reference System", | ||
"projection": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]", | ||
"file_size": "--size of file on disk", | ||
"group_count": "--Number of groups in the dataset if applicable", | ||
"dataset_count": "--The number of individual datasets", | ||
"transform": { | ||
"xOrigin": -180.00000000000335, | ||
"pixelWidth": 0.041666666666667, | ||
"rotation_2": 0.0, | ||
"yOrigin": 90.00000000000003, | ||
"rotation_4": 0.0, | ||
"pixelHeight": -0.041666666666667 | ||
}, | ||
|
||
"resources": [ | ||
{ | ||
"extensions": ["bil", "hdr"], | ||
"format": "raster", | ||
"name": "bio1", | ||
"path":"bio1.bil", | ||
"other_paths": "bio1.hdr", | ||
"no_data_value": -9999.0, | ||
"min": -272.0, | ||
"max": 312.0, | ||
"scale": 1.0, | ||
"color_table": null, | ||
"statistics": { | ||
"minimum": -272.0, | ||
"maximum": 312.0, | ||
"mean": 81.1423446407, | ||
"stddev": 148.2358307206 | ||
}, | ||
"extent": { | ||
"xMin": 60, | ||
"yMax": 50, | ||
"xMax": 100, | ||
"yMin": 0 | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.