Mapid
Raster Endpoints¶
The Maps endpoints are used to generate maps (and map statistics) of the datasets available in Climate Engine. There are two groups of Maps endpoints:
/raster/mapid - These are used to generate Earth Engine maps, and produce an Earth Engine map ID value.
/raster/export - These endpoints are used to generate a map and export it to a Google Cloud Storage bucket.
NOTES:
-
The endpoints ending in “standard_index” are only valid for indices like SPI, SPEI and EDDI.
-
Additionally, “forecasts” endpoints are only available for forecast datasets (i.e. CFS_GRIDMET and FRET).
-
For the “anomalies” endpoints, the calculations “anompercentof” and “anompercentchange” are not valid for temperature variables.
/raster/mapid/values¶
- Generates a map of values of the dataset variable. The temporal statistic is applied over the date range defined by start_date and end_date.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/values?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_date=2010-06-01&end_date=2010-06-30&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| start_date | yes | 2010-06-01 | 2019-01-01 | |
| end_date | yes | 2010-06-30 | 2019-12-31 | |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/forecasts/values¶
- Exports a map of forecast values to a Google Cloud Storage bucket. The temporal statistic is applied over the date range defined by start_date and end_date.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/forecasts/values?dataset=CFS_GRIDMET&variable=tmmx&temporal_statistic=mean&model=ens_mean&start_day=day01&end_day=day07&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | CFS_ GRIDMET | CFS_GRIDMET | |
| variable | yes | tmmx | pet, pr, tmmx, tmmn | |
| model | yes | ens01 to en | ens_mean | ens_max, ens_min, ... |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| start_day | yes | day01 to day28, start_day <= end_day | day01 | day15 |
| end_day | yes | day01 to day28, end_day >= start_day | day07 | day17 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/climatologies¶
- Exports a map of average values to a Google Cloud Storage bucket. The temporal statistic is applied over the date range defined by start_date and end_date.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/climatologies?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_season=08-01&end_season=10-31&start_year=2016&end_year=2018&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| start_season | yes | 08-01 | 05-10 | |
| end_season | yes | 10-31 | 10-16 | |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/anomalies¶
- Exports a map of anomalies to a Google Cloud Storage bucket. The following calculation choices can be specified:
- anom: differences of the values from average conditions
- anompercentof: the values divided by the average conditions multiplied by 100 to cast as a percent
- anompercentchange: difference of values from average conditions divided by average conditions and then multiplied by 100 to cast as a percent
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/anomalies?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&calculation=anom&start_date=2010-06-01&end_date=2010-06-30&start_year=2016&end_year=2018&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| calculation | yes | Anomaly calculation | anom | anom, anompercentof, anompercentchange |
| start_date | yes | 2010-06-01 | 2019-01-01 | |
| end_date | yes | 2010-06-30 | 2019-12-31 | |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/forecasts/anomalies¶
- Exports a map of anomaly forecasts to a Google Cloud Storage bucket. The following calculation choices can be specified:
- anom: differences of the values from average conditions
- anompercentof: the values divided by the average conditions multiplied by 100 to cast as a percent
- anompercentchange: difference of values from average conditions divided by average conditions and then multiplied by 100 to cast as a percent
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/forecasts/anomalies?dataset=CFS_GRIDMET&variable=tmmx&temporal_statistic=mean&model=ens_mean&calculation=anom&start_day=day01&end_day=day07&start_year=2016&end_year=2018&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | CFS_GRIDMET | CFS_GRIDMET | |
| variable | yes | pet, pr, tmmx, tmmn | tmmx | tmmx |
| model | yes | ens01 to en | ens_mean | ens_max, ens_min, ... |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| calculation | yes | Anomaly calculation | anom | anom, anompercentof, anompercentchange |
| start_day | yes | day01 to day28, start_day <= end_day | day01 | day02 |
| end_day | yes | day01 to day28, end_day >= start_day | day07 | day15 |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/percentiles¶
- Generates a map of percentiles or rank of the dataset variable over the time period.
- percentile: Return a number between (percentile_step to 100) showing where the target period is
- rank: Return an integer between (0 to number of years in climatology). A value of 0 is below the lowest value in climatology. 1 is the lowest value in climatology.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/percentiles?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&start_date=2010-06-01&end_date=2010-06-30&start_year=2016&end_year=2018&calculation=percentile&percentile_step=1&precision=1e-7&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| calculation | yes | percentile | percentile, rank | |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| percentile_step | yes | difference between percentiles computed | 1 | 0.5, 1 or 5 |
| start_date | yes | 2010-06-01 | 2019-01-01 | |
| end_date | yes | 2010-06-30 | 2019-12-31 | |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | [0,100] | [10,80] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/forecasts/percentiles¶
- Generates a map of forecasts percentiles or rank of the dataset variable over the time period.
- percentile: Return a number between (percentile_step to 100) showing where the target period is
- rank: Return an integer between (0 to number of years in climatology). A value of 0 is below the lowest value in climatology. 1 is the lowest value in climatology.
- Returns: json, Earth Engine task ID
NOTE: CFS_GRIDMET is the only valid dataset for this endpoint because we have the GRIDMET base climatology dataset needed for the precentile computation.
URL Example:
https://api.climateengine.org/raster/mapid/forecasts/percentiles?dataset=CFS_GRIDMET&variable=tmmx&temporal_statistic=mean&model=ens_mean&calculation=percentile&percentile_step=1&precision=1e-7&start_day=day01&end_day=day07&start_year=2016&end_year=2018&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| calculation | yes | percentile | percentile, rank | |
| model | yes | ens01 to en | ens_mean | ens_max, ens_min, ... |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| percentile_step | yes | difference between percentiles computed | 1 | 0.5, 1 or 5 |
| start_day | yes | day01 to day28, start_day <= end_day | day01 | day02 |
| end_day | yes | day01 to day28, end_day >= start_day | day07 | day15 |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | [0,100] | [10,80] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] | |
| precision | yes | 1e-7 | 1e-7 |
/raster/mapid/standard_index¶
- Exports a map of drought indices to a Google Cloud Storage bucket.
- Available variables: spi, spei, eddi, speih, edddih
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/standard_index?dataset=GRIDMET&distribution=nonparametric&variable=eddi&start_date=2010-06-01&end_date=2010-06-30&start_year=2016&end_year=2018&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| distribution | yes | nonparametric | loglogistic, gamma, nonparametric | |
| start_date | yes | 2010-06-01 | 2019-01-01 | |
| end_date | yes | 2010-06-30 | 2019-12-31 | |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/forecasts/standard_index¶
- Exports a map of drought indices forecasts to a Google Cloud Storage bucket.
- Available variables: spi, spei, eddi, speih, edddih
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/forecasts/standard_index?dataset=CFS_GRIDMET&distribution=nonparametric&variable=eddi&model=ens_mean&time_step=wk1&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | CFS_GRIDMET | CFS_GRIDMET | |
| variable | yes | eddi | eddi | |
| model | yes | ens01 to en | ens_mean | ens_max, ens_min, ... |
| distribution | yes | nonparametric | loglogistic, gamma, nonparametric | |
| time_step | yes | individual forecasts wk1, wk2, wk3, wk4 and means wk12, wk123, wk1234 | wk1 | wk123 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/mann_kendall¶
- Exports a map of Mann Kendall trends to a Google Cloud Storage bucket.
- mk_sen: Slope of trend (Sen’s slope)
- mk_tau: Correlation of trend (Kendall Tau-b)
- Returns: json
URL Example:
https://api.climateengine.org/raster/mapid/mann_kendall?dataset=GRIDMET&variable=tmmx&temporal_statistic=mean&calculation=mk_tau&p_value=0.5&start_season=08-01&end_season=10-31&start_year=2016&end_year=2018&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| temporal_statistic | yes | mean | mean, median, max, min, total | |
| calculation | yes | Sen’s Slope or Kendall Tau-b | mk_tau | mk_sen, mk_tau |
| p_value | no | Mann Kendall p-value mask | 0.5 | 1.0 (all trends), 0.2 (80% confidence), 0.1, 0.05, 0.01 |
| start_season | yes | 08-01 | 05-10 | |
| end_season | yes | 10-31 | 10-16 | |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [290.0,314.0] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/counts¶
- Exports a map of counts/probabilities to a Google Cloud Storage bucket.
- counts: Number of times between start date and end date that a pixel met the the selected operator’s criteria
- probability: The count divided by the total number of data points considered.
- Returns: json, Earth Engine task ID
Note: Will work for wrapping around years (e.g. water year)
URL Example:
https://api.climateengine.org/raster/mapid/counts?dataset=GRIDMET&variable=tmmx&operator=threshold_gte&output=counts&value_1=25&start_date=2010-01-01&end_date=2010-12-31&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_gte | theshold_gt, threshold_gte, threshold_lt, threshold_lte, interior_eq, interior_neq, exterior_eq, exterior_neq |
| output | yes | Type of output | counts | counts, probability |
| value_1 | yes | Value to apply operator to | 25 | 25 |
| value_2 | no | Second value for interior/exterior operators | ||
| start_date | yes | 2010-01-01 | 2023-01-01 | |
| end_date | yes | 2010-12-31 | 2023-12-31 | |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/count_climatologies¶
- Exports a map of counts/probabilities climatologies to a Google Cloud Storage bucket.
- counts: Number of times between start date and end date that a pixel met the the selected operator’s criteria
- probability: The count divided by the total number of data points considered.
- Returns: json, Earth Engine task ID
Note: Will work for wrapping around years (e.g. water year)
URL Example:
https://api.climateengine.org/raster/mapid/count_climatologies?dataset=GRIDMET&variable=tmmx&operator=threshold_gte&output=counts&value_1=25&start_season=01-01&end_season=12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_gte | theshold_gt, threshold_gte, threshold_lt, threshold_lte, interior_eq, interior_neq, exterior_eq, exterior_neq |
| output | yes | Type of output | counts | counts, probability |
| value_1 | yes | Value to apply operator to | 25 | 25 |
| value_2 | no | Second value for interior/exterior operators | ||
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2016 | 1981 |
| end_year | yes | End year for the climatology | 2018 | 2010 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/count_anomalies¶
- Exports a map of counts/probabilities anomalies to a Google Cloud Storage bucket.
- counts: Number of times between start date and end date that a pixel met the the selected operator’s criteria
- probability: The count divided by the total number of data points considered.
- Returns: json, Earth Engine task ID
Note: Will work for wrapping around years (e.g. water year)
URL Example:
https://api.climateengine.org/raster/mapid/count_anomalies?dataset=GRIDMET&variable=tmmx&operator=threshold_gte&output=counts&value_1=25&calculation=anom&start_date=2010-01-01&end_date=2010-12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_gte | theshold_gt, threshold_gte, threshold_lt, threshold_lte, interior_eq, interior_neq, exterior_eq, exterior_neq |
| output | yes | Type of output | counts | counts, probability |
| value_1 | yes | Value to apply operator to | 25 | 25 |
| value_2 | no | Second value for interior/exterior operators | ||
| calculation | yes | Anomaly calculation | anom | anom, anompercentof, anompercentchange |
| start_date | yes | 2010-01-01 | 2023-01-01 | |
| end_date | yes | 2010-12-31 | 2023-12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2000 |
| end_year | yes | End year for the climatology | 2020 | 2023 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/count_mann_kendall¶
- Exports a map of counts/probabilities trends to a Google Cloud Storage bucket.
- counts: Number of times between start date and end date that a pixel met the the selected operator’s criteria
- probability: The count divided by the total number of data points considered.
- mk_sen: Slope of trend (Sen’s slope)
- mk_tau: Correlation of trend (Kendall Tau-b)
- Returns: json, Earth Engine task ID
Note: Will work for wrapping around years (e.g. water year)
URL Example:
https://api.climateengine.org/raster/mapid/count_mann_kendall?dataset=GRIDMET&variable=tmmx&operator=threshold_gte&output=counts&value_1=25&calculation=mk_tau&p_value=0.5&start_season=01-01&end_season=12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_gte | theshold_gt, threshold_gte, threshold_lt, threshold_lte, interior_eq, interior_neq, exterior_eq, exterior_neq |
| output | yes | Type of output | counts | counts, probability |
| value_1 | yes | Value to apply operator to | 25 | 25 |
| value_2 | no | Second value for interior/exterior operators | ||
| calculation | yes | Sen’s Slope or Kendall Tau-b | mk_tau | mk_sen, mk_tau |
| p_value | no | Mann Kendall p-value mask | 0.5 | 1.0 (all trends), 0.2 (80% confidence), 0.1, 0.05, 0.01 |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2000 |
| end_year | yes | End year for the climatology | 2020 | 2023 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0,365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/date_threshold¶
- Exports a map of dates that the given threshold value was met during a time period (defined by start_date and end_date) to a Google Cloud Storage bucket.
- Selecting threshold_max and threshold_min return date when max/min values were met during the time period.
- Occurrence allows you to select first or last time a threshold is met during the time period. For Min/Max thresholds, occurrence values will be the same.
- Will work for wrapping around years and for both climate and remote sensing assets.
- The units returned is in milliseconds since 1970-01-01.
- A masked value indicates threshold value was not passed.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/date_threshold?dataset=GRIDMET&variable=tmmx&operator=threshold_max&occurrence=first&start_date=2010-01-01&end_date=2010-12-31&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_max | threshold_max, threshold_min, threshold_gt, threshold_gte, threshold_lte, threshold_lt |
| occurance | yes | Timing of when threshold was met | first | first, last |
| value | no | value for thresholding, only applies to threshold_gt, threshold_gte, threshold_lte, threshold_lt | 32 | |
| start_date | yes | 2010-01-01 | 2023-01-01 | |
| end_date | yes | 2010-12-31 | 2023-12-31 | |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0,6739200000] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [eeaf61, fb9062, ee5d6c, ce4993, 6a0d83] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/date_threshold_climatologies¶
- Exports a map of average time since the provided start_season (in milliseconds) that the given threshold value was met during a time period (defined by start_season and end_season) over a set of years to a Google Cloud Storage bucket.
- Selecting threshold_max and threshold_min return date when max/min values were met during the time period.
- Occurrence allows you to select first or last time a threshold is met during the time period. For Min/Max thresholds, occurrence values will be the same.
- Will work for wrapping around years and for both climate and remote sensing assets.
- The units returned are in milliseconds since the start day-month of climatology season.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/date_threshold_climatologies?dataset=GRIDMET&variable=tmmx&operator=threshold_max&occurrence=first&start_season=01-01&end_season=12-31&start_year=2001&end_year=2023&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_max | threshold_max, threshold_min, threshold_gt, threshold_gte, threshold_lte, threshold_lt |
| occurance | yes | Timing of when threshold was met | first | first, last |
| value | no | value for thresholding, only applies to threshold_gt, threshold_gte, threshold_lte, threshold_lt | 32 | |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0,6739200000] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [eeaf61, fb9062, ee5d6c, ce4993, 6a0d83] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/date_threshold_anomalies¶
- Exports a map of the difference in time (milliseconds, or percent) between the time when the target period threshold is met and the average time when the threshold is met over the climatology time period to a Google Cloud Storage bucket.
- Selecting threshold_max and threshold_min return date when max/min values were met during the time period.
- Occurrence allows you to select first or last time a threshold is met during the time period. For Min/Max thresholds, occurrence values will be the same.
- Will work for wrapping around years and for both climate and remote sensing assets.
- The units returned are in milliseconds difference if anom is chosen. Otherwise it is a percentage.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/date_threshold_anomalies?dataset=GRIDMET&variable=tmmx&operator=threshold_max&occurrence=first&calculation=anom&start_date=2010-01-01&end_date=2010-12-31&start_year=2001&end_year=2003&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_max | threshold_max, threshold_min, threshold_gt, threshold_gte, threshold_lte, threshold_lt |
| occurance | yes | Timing of when threshold was met | first | first, last |
| value | no | value for thresholding, only applies to threshold_gt, threshold_gte, threshold_lte, threshold_lt | 32 | |
| calculation | yes | Anomaly calculation | anom | anom, anompercentof, anompercentchange |
| start_date | yes | 2010-01-01 | 2010-01-01 | |
| end_date | yes | 2010-12-31 | 2010-12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0,1728000000] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [eeaf61, fb9062, ee5d6c, ce4993, 6a0d83] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/date_threshold_mann_kendall¶
- Exports a map of the trend of time (milliseconds per year) since the start month-month over a set of years to a Google Cloud Storage bucket.
- Selecting threshold_max and threshold_min return date when max/min values were met during the time period.
- Occurrence allows you to select first or last time a threshold is met during the time period. For Min/Max thresholds, occurrence values will be the same.
- Will work for wrapping around years and for both climate and remote sensing assets.
- The units for the slope are in milliseconds per year.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/date_threshold_mann_kendall?dataset=GRIDMET&variable=tmmx&operator=threshold_max&occurrence=first&calculation=mk_tau&p_value=0.5&start_season=01-01&end_season=12-31&start_year=2001&end_year=2005&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmmx | tmmx | |
| operator | yes | Type of operator - options include threshold, interior, exterior | threshold_max | threshold_max, threshold_min, threshold_gt, threshold_gte, threshold_lte, threshold_lt |
| occurance | yes | Timing of when threshold was met | first | first, last |
| value | no | value for thresholding, only applies to threshold_gt, threshold_gte, threshold_lte, threshold_lt | 32 | |
| calculation | yes | Sen’s Slope or Kendall Tau-b | mk_tau | mk_sen, mk_tau |
| p_value | no | Mann Kendall p-value mask | 0.5 | 1.0 (all trends), 0.2 (80% confidence), 0.1, 0.05, 0.01 |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0,259200000] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [eeaf61, fb9062, ee5d6c, ce4993, 6a0d83] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/degree_days¶
- Exports a map of heating degree or cooling degree days to a Google Cloud Storage bucket.
- Heating degree days count how many degree days are below the base temperature (how much heating is required).
- Cooling degree days count how many degree days are above the base temperature (how much cooling is required).
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/degree_days?dataset=GRIDMET&variable=tmean&dd_type=hdd&value=18.3&start_date=2010-01-01&end_date=2010-12-31&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmean | tmean | |
| dd_type | yes | heating or cooling degree days | hdd | hdd, cdd |
| value | no | standard threshold | 18.3 | 18.3 |
| start_date | yes | 2010-01-01 | 2023-01-01 | |
| end_date | yes | 2010-12-31 | 2023-12-31 | |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/degree_days/climatologies¶
- Exports a map of average heating degree or cooling degree days to a Google Cloud Storage bucket.
- Heating degree days count how many degree days are below the base temperature (how much heating is required).
- Cooling degree days count how many degree days are above the base temperature (how much cooling is required).
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/degree_days/climatologies?dataset=GRIDMET&variable=tmean&dd_type=hdd&value=18.3&start_season=01-01&end_season=12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmean | tmean | |
| dd_type | yes | heating or cooling degree days | hdd | hdd, cdd |
| value | no | standard threshold | 18.3 | 18.3 |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/degree_days/anomalies¶
- Exports a map of difference in heating degree or cooling degree days for time period of interest relative to a climatology to a Google Cloud Storage bucket.
- Heating degree days count how many degree days are below the base temperature (how much heating is required).
- Cooling degree days count how many degree days are above the base temperature (how much cooling is required).
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/degree_days/anomalies?dataset=GRIDMET&variable=tmean&dd_type=hdd&value=18.3&calculation=anom&start_date=2010-01-01&end_date=2010-12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmean | tmean | |
| dd_type | yes | heating or cooling degree days | hdd | hdd, cdd |
| value | no | standard threshold | 18.3 | 18.3 |
| calculation | yes | Anomaly calculation | anom | anom, anompercentof, anompercentchange |
| start_date | yes | 2010-01-01 | 2010-01-01 | |
| end_date | yes | 2010-12-31 | 2010-12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/degree_days/mann_kendall¶
- Exports a map of trend in heating degree or cooling degree days for time period over a set of years to a Google Cloud Storage bucket.
- Heating degree days count how many degree days are below the base temperature (how much heating is required).
- Cooling degree days count how many degree days are above the base temperature (how much cooling is required).
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/degree_days/mann_kendall?dataset=GRIDMET&variable=tmean&dd_type=hdd&value=18.3&calculation=mk_tau&p_value=0.5&start_season=01-01&end_season=12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable | yes | tmean | tmean | |
| dd_type | yes | heating or cooling degree days | hdd | hdd, cdd |
| value | no | standard threshold | 18.3 | 18.3 |
| calculation | yes | Sen’s Slope or Kendall Tau-b | mk_tau | mk_sen, mk_tau |
| p_value | no | Mann Kendall p-value mask | 0.5 | 1.0 (all trends), 0.2 (80% confidence), 0.1, 0.05, 0.01 |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/growing_degree_days¶
- Exports a map of growing degree days to a Google Cloud Storage bucket.
- Growing Degree Days (GDD) are a measure of heat accumulation used to predict plant and insect development based on temperature.
- GDD is calculated using a base temperature below which growth does not occur, and an upper cutoff temperature above which growth is limited.
- The default values used here are for corn.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/growing_degree_days?dataset=GRIDMET&variable_tmax=tmmx&variable_tmin=tmmn&base_threshold=10&cutoff_threshold=30&start_date=2010-01-01&end_date=2010-12-31&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable_tmax | yes | tmmx | tmmx | |
| variable_tmin | yes | tmin | tmin | |
| base_threshold | yes | base threshold temperature | 10 | 10 |
| cutoff_threshold | no | cutoff threshold temperature | 30 | 30 |
| start_date | yes | 2010-01-01 | 2023-01-01 | |
| end_date | yes | 2010-12-31 | 2023-12-31 | |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/growing_degree_days/climatologies¶
- Exports a map of average growing degree days to a Google Cloud Storage bucket.
- Growing Degree Days (GDD) are a measure of heat accumulation used to predict plant and insect development based on temperature.
- GDD is calculated using a base temperature below which growth does not occur, and an upper cutoff temperature above which growth is limited.
- The default values used here are for corn.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/growing_degree_days/climatologies?dataset=GRIDMET&variable_tmax=tmmx&variable_tmin=tmmn&base_threshold=10&cutoff_threshold=30&start_season=01-01&end_season=12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable_tmax | yes | tmmx | tmmx | |
| variable_tmin | yes | tmin | tmin | |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/growing_degree_days/anomalies¶
- Exports a map of difference in growing degree days for time period of interest relative to a climatology to a Google Cloud Storage bucket.
- Growing Degree Days (GDD) are a measure of heat accumulation used to predict plant and insect development based on temperature.
- GDD is calculated using a base temperature below which growth does not occur, and an upper cutoff temperature above which growth is limited.
- The default values used here are for corn.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/growing_degree_days/anomalies?dataset=GRIDMET&variable_tmax=tmmx&variable_tmin=tmmn&base_threshold=10&cutoff_threshold=30&calculation=anom&start_date=2010-01-01&end_date=2010-12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable_tmax | yes | tmmx | tmmx | |
| variable_tmin | yes | tmin | tmin | |
| calculation | yes | Anomaly calculation | anom | anom, anompercentof, anompercentchange |
| start_date | yes | 2010-01-01 | 2010-01-01 | |
| end_date | yes | 2010-12-31 | 2010-12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2001 |
| end_year | yes | End year for the climatology | 2020 | 2020 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |
/raster/mapid/growing_degree_days/mann_kendall¶
- Exports a map of average growing degree days to a Google Cloud Storage bucket.
- Growing Degree Days (GDD) are a measure of heat accumulation used to predict plant and insect development based on temperature.
- GDD is calculated using a base temperature below which growth does not occur, and an upper cutoff temperature above which growth is limited.
- The default values used here are for corn.
- Returns: json, Earth Engine task ID
URL Example:
https://api.climateengine.org/raster/mapid/growing_degree_days/mann_kendall?dataset=GRIDMET&variable_tmax=tmmx&variable_tmin=tmmn&base_threshold=10&cutoff_threshold=30&calculation=mk_tau&p_value=0.5&start_season=01-01&end_season=12-31&start_year=2001&end_year=2020&colormap_opacity=0.7&colormap_type=continuous
| Name | Required | Description | Default | Example |
|---|---|---|---|---|
| dataset | yes | GRIDMET | GRIDMET | |
| variable_tmax | yes | tmmx | tmmx | |
| variable_tmin | yes | tmin | tmin | |
| calculation | yes | Sen’s Slope or Kendall Tau-b | mk_tau | mk_sen, mk_tau |
| p_value | no | Mann Kendall p-value mask | 0.5 | 1.0 (all trends), 0.2 (80% confidence), 0.1, 0.05, 0.01 |
| start_season | yes | 01-01 | 01-01 | |
| end_season | yes | 12-31 | 12-31 | |
| start_year | yes | Start year for the climatology | 2001 | 2000 |
| end_year | yes | End year for the climatology | 2020 | 2023 |
| colormap_min_max | no | Two data values corresponding to palette color bands | Depends on parameter combination | [0, 365] |
| colormap_opacity | no | Values between 0 (transparent) and 1 | 0.7 | 0.4 |
| colormap_palette | no | List of colors in hex | Depends on dataset and variable | [d8d8d8, 34addff, 35affa3, f2ff89, ff725c] |
| colormap_type | no | continuous | continuous, discrete | |
| colormap_mask | no | Show ranges of data on the map | [0,200] or [0,200,300,400] |