Probabilities¶
/probabilities/exceedance/coordinates¶
Resource url example:
/probabilities/exceedance/coordinates?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_day=15&end_day=20&start_month=06&end_month=06&area_reducer=mean&export_format=json&operator=%3E%3D&value=25&coordinates=%5B%5B%5B-121.61%2C38.78%5D%2C%5B-121.52%2C38.78%5D%2C%5B-121.52%2C38.83%5D%2C%5B-121.61%2C38.83%5D%2C%5B-121.61%2C38.78%5D%5D%5D
NAME |
REQUIRED |
DESCRIPTION |
DEFAULT |
EXAMPLE |
---|---|---|---|---|
coordinates |
yes |
lon, lat pairs of points or polygon vertices, see https://support.climateengine.org/article/152-formatting-coordinates-for-api-requests |
[[-121.61, 38.78], [-121.52, 38.78],[-121.52, 38.83],[-121.61, 38.83],[-121.61, 38.78]] |
|
buffer |
no |
Buffer (in meters) to be applied to each geometry |
[400] |
|
area_reducer |
yes |
Statistic over region |
mean, median, min, max |
|
dataset |
yes |
NLDAS2_DAILY, RTMA |
||
variable |
yes |
tmmx |
||
mask_image_id |
no |
Image mask ID |
||
mask_band |
no |
Mask band |
||
mask_value |
no |
Image mask value |
||
start_day |
yes |
15 |
||
end_day |
yes |
30 |
||
start_month |
yes |
06 |
||
end_month |
yes |
06 |
||
temporal_statistic |
yes |
mean, median, max, min, total |
||
operator |
yes |
exceedance operator |
>= |
>=, <=, <, > |
value |
yes |
exceedance value |
25 |
integer or float |
export_path |
no |
Export CSV results to a Google cloud storage bucket (must have correct permissions) |
climate-engine-public/my_csv_file.csv |
|
export_format |
no |
File format of export |
json |
csv, json |
/probabilities/exceedance/feature_collection¶
Resource url example:
/probabilities/exceedance/feature_collection?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_day=15&end_day=20&start_month=06&end_month=06&area_reducer=mean&export_format=json&operator=%3E%3D&value=25&feature_collection_asset_id=USGS%2FWBD%2F2017%2FHUC08&sub_choices=%5B%22Animas%22%5D&filter_by=Name
NAME |
REQUIRED |
DESCRIPTION |
DEFAULT |
EXAMPLE |
---|---|---|---|---|
feature_collection_asset_id |
yes |
EE FeatureCollection asset id, must have “Anyone can read” permissions |
projects/climate-engine/featureCollections /shp_simplified/ClimateEngine_US_States |
|
filter_by |
no |
Key name of property in feature collection (GIS users: this is the attribute name) |
Name |
|
sub_choices |
no |
Values of property in feature collection |
Idaho, Nevada |
|
buffer |
no |
Buffer (in meters) to be applied to each geometry |
[400] |
|
area_reducer |
yes |
Statistic over region |
mean, median, min, max |
|
dataset |
yes |
NLDAS2_DAILY, RTMA |
||
variable |
yes |
tmmx |
||
mask_image_id |
no |
Image mask ID |
||
mask_band |
no |
Mask band |
||
mask_value |
no |
Image mask value |
||
start_day |
yes |
15 |
||
end_day |
yes |
30 |
||
start_month |
yes |
06 |
||
end_month |
yes |
06 |
||
temporal_statistic |
yes |
mean, median, max, min, total |
||
operator |
yes |
exceedance operator |
>= |
>=, <=, <, > |
value |
yes |
exceedance value |
25 |
integer or float |
export_path |
no |
Export CSV results to a Google cloud storage bucket (must have correct permissions) |
climate-engine-public/my_csv_file.csv |
|
export_format |
no |
File format of export |
json |
csv, json |
/probabilities/exterior/coordinates¶
Resource url example:
/probabilities/exterior/coordinates?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_day=15&end_day=20&start_month=06&end_month=06&area_reducer=mean&export_format=json&operator=%3C%3D%3E&value_1=20&value_2=25&coordinates=%5B%5B%5B-121.61%2C38.78%5D%2C%5B-121.52%2C38.78%5D%2C%5B-121.52%2C38.83%5D%2C%5B-121.61%2C38.83%5D%2C%5B-121.61%2C38.78%5D%5D%5D
NAME |
REQUIRED |
DESCRIPTION |
DEFAULT |
EXAMPLE |
---|---|---|---|---|
coordinates |
yes |
lon, lat pairs of polygon vertices, see https://support.climateengine.org/article/152-formatting-coordinates-for-api-requests |
[[-121.61, 38.78], [-121.52, 38.78],[-121.52, 38.83],[-121.61, 38.83],[-121.61, 38.78]] |
|
buffer |
no |
Buffer (in meters) to be applied to each geometry |
[400] |
|
area_reducer |
yes |
Statistic over region |
mean, median, min, max |
|
dataset |
yes |
NLDAS2_DAILY, RTMA |
||
variable |
yes |
tmmx |
||
mask_image_id |
no |
Image mask ID |
||
mask_band |
no |
Mask band |
||
mask_value |
no |
Image mask value |
||
start_day |
yes |
15 |
||
end_day |
yes |
30 |
||
start_month |
yes |
06 |
||
end_month |
yes |
06 |
||
temporal_statistic |
yes |
mean, median, max, min, total |
||
export_path |
no |
Export CSV results to a Google cloud storage bucket (must have correct permissions) |
climate-engine-public/my_csv_file.csv |
|
export_format |
no |
File format of export |
json |
csv, json |
/probabilities/exterior/feature_collection¶
Resource url example:
/probabilities/exterior/feature_collection?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_day=15&end_day=20&start_month=06&end_month=06&area_reducer=mean&export_format=json&operator=%3C%3D%3E&value_1=20&value_2=25&feature_collection_asset_id=USGS%2FWBD%2F2017%2FHUC08&sub_choices=%5B%22Animas%22%5D&filter_by=Name
NAME |
REQUIRED |
DESCRIPTION |
DEFAULT |
EXAMPLE |
---|---|---|---|---|
feature_collection_asset_id |
yes |
EE FeatureCollection asset id, must have “Anyone can read” permissions |
projects/climate-engine/featureCollections /shp_simplified/ClimateEngine_US_States |
|
filter_by |
no |
Key name of property in feature collection (GIS users: this is the attribute name) |
Name |
|
sub_choices |
no |
Values of property in feature collection |
Idaho, Nevada |
|
buffer |
no |
Buffer (in meters) to be applied to each geometry |
[400] |
|
area_reducer |
yes |
Statistic over region |
mean, median, min, max |
|
dataset |
yes |
NLDAS2_DAILY, RTMA |
||
variable |
yes |
tmmx |
||
mask_image_id |
no |
Image mask ID |
||
mask_band |
no |
Mask band |
||
mask_value |
no |
Image mask value |
||
start_day |
yes |
15 |
||
end_day |
yes |
30 |
||
start_month |
yes |
06 |
||
end_month |
yes |
06 |
||
temporal_statistic |
yes |
mean, median, max, min, total |
||
export_path |
no |
Export CSV results to a Google cloud storage bucket (must have correct permissions) |
climate-engine-public/my_csv_file.csv |
|
export_format |
no |
File format of export |
json |
csv, json |
/probabilities/interior/coordinates¶
Resource url example:
/probabilities/interior/coordinates?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_day=15&end_day=20&start_month=06&end_month=06&area_reducer=mean&export_format=json&operator=%3C%3D%3E&value_1=20&value_2=25&coordinates=%5B%5B%5B-121.61%2C38.78%5D%2C%5B-121.52%2C38.78%5D%2C%5B-121.52%2C38.83%5D%2C%5B-121.61%2C38.83%5D%2C%5B-121.61%2C38.78%5D%5D%5D
NAME |
REQUIRED |
DESCRIPTION |
DEFAULT |
EXAMPLE |
---|---|---|---|---|
coordinates |
yes |
lon, lat pairs of polygon vertices, see https://support.climateengine.org/article/152-formatting-coordinates-for-api-requests |
[[-121.61, 38.78], [-121.52, 38.78],[-121.52, 38.83],[-121.61, 38.83],[-121.61, 38.78]] |
|
buffer |
no |
Buffer (in meters) to be applied to each geometry |
[400] |
|
area_reducer |
yes |
Statistic over region |
mean, median, min, max |
|
dataset |
yes |
NLDAS2_DAILY, RTMA |
||
variable |
yes |
tmmx |
||
mask_image_id |
no |
Image mask ID |
||
mask_band |
no |
Mask band |
||
mask_value |
no |
Image mask value |
||
start_day |
yes |
15 |
||
end_day |
yes |
30 |
||
start_month |
yes |
06 |
||
end_month |
yes |
06 |
||
temporal_statistic |
yes |
mean, median, max, min, total |
||
operator |
yes |
interior operator |
<=> |
<=>, <> |
value_1 |
yes |
lower threshold |
20 |
integer or float |
value_2 |
yes |
upper threshold |
25 |
integer or float |
export_path |
no |
Export CSV results to a Google cloud storage bucket (must have correct permissions) |
climate-engine-public/my_csv_file.csv |
|
export_format |
no |
File format of export |
json |
csv, json |
/probabilities/interior/feature_collection¶
Resource url example:
/probabilities/interior/feature_collection?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_day=15&end_day=20&start_month=06&end_month=06&area_reducer=mean&export_format=json&operator=%3C%3D%3E&value_1=20&value_2=25&feature_collection_asset_id=USGS%2FWBD%2F2017%2FHUC08&sub_choices=%5B%22Animas%22%5D&filter_by=Name
NAME |
REQUIRED |
DESCRIPTION |
DEFAULT |
EXAMPLE |
---|---|---|---|---|
feature_collection_asset_id |
yes |
EE FeatureCollection asset id, must have “Anyone can read” permissions |
projects/climate-engine/featureCollections /shp_simplified/ClimateEngine_US_States |
|
filter_by |
no |
Key name of property in feature collection (GIS users: this is the attribute name) |
Name |
|
sub_choices |
no |
Values of property in feature collection |
Idaho, Nevada |
|
buffer |
no |
Buffer (in meters) to be applied to each geometry |
[400] |
|
area_reducer |
yes |
Statistic over region |
mean, median, min, max |
|
dataset |
yes |
NLDAS2_DAILY, RTMA |
||
variable |
yes |
tmmx |
||
mask_image_id |
no |
Image mask ID |
||
mask_band |
no |
Mask band |
||
mask_value |
no |
Image mask value |
||
start_day |
yes |
15 |
||
end_day |
yes |
30 |
||
start_month |
yes |
06 |
||
end_month |
yes |
06 |
||
temporal_statistic |
yes |
mean, median, max, min, total |
||
operator |
yes |
interior operator |
<=> |
<=>, <> |
value_1 |
yes |
lower threshold |
20 |
integer or float |
value_2 |
yes |
upper threshold |
25 |
integer or float |
export_path |
no |
Export CSV results to a Google cloud storage bucket (must have correct permissions) |
climate-engine-public/my_csv_file.csv |
|
export_format |
no |
File format of export |
json |
csv, json |