{"info":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","description":"<html><head></head><body><p>Example queries for the TerraClim API.</p>\n<h2 id=\"authorization\">Authorization</h2>\n<p>The authorization token should be in the format: <code>Token: xxxyyy123</code></p>\n<h2 id=\"query-limits\">Query limits</h2>\n<p>Queries are rate limited per user:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Limit type</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Burst queries</td>\n<td>5 per second</td>\n</tr>\n<tr>\n<td>Sustained queries</td>\n<td>50 per day</td>\n</tr>\n<tr>\n<td>Polygon queries</td>\n<td>- 5 polygons per query  <br>- Polygon must be less than 1 square kilometer</td>\n</tr>\n<tr>\n<td>Point queries</td>\n<td>10 points per query</td>\n</tr>\n<tr>\n<td>Number of records returned (dates)</td>\n<td>- daily: 15 days  <br>- monthly: 12 months (equivalent of 366 days)  <br>- yearly: 5 years (equivalent of 1330 days)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Each user is allocated to a 'subscription' package. Please contact the TerraClim team to enqurie about getting an API subscription.</p>\n<h2 id=\"querying-raster-layers\">Querying raster layers</h2>\n<p>The TerraClim layers can be queried by providing a point (<code>/api/point/</code>) or polygon (<code>/api/polygon/</code>) WKT string in <strong>WGS84</strong> format. Multiple points/polygons should be separated by ; (semicolon). When querying <code>/api/polygon/</code> you must include \"aggregationMethod\" in the \"options\". This specifies how you want to aggregate the pixels within the polygon. Available options are min, mean, max.</p>\n<p>Data type info:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>subDataType (e.g. gddType)</strong></th>\n<th><strong>Date range &amp; format</strong></th>\n<th><strong>Extent</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>temperature</td>\n<td>min, max, mean</td>\n<td>Daily  <br>(2016-01-01 to 2023-04-01)</td>\n<td>TerraClim extent</td>\n</tr>\n<tr>\n<td>gdd</td>\n<td>apples, citrus, grapes</td>\n<td>Yearly  <br>(2016 to 2021)</td>\n<td>TerraClim extent</td>\n</tr>\n<tr>\n<td>chill</td>\n<td>ucu, ucui, dpcu, dpcui</td>\n<td>Yearly  <br>(2016 to 2022)</td>\n<td>TerraClim extent</td>\n</tr>\n<tr>\n<td>frost</td>\n<td>-</td>\n<td>Monthly  <br>(2016-01 to 2023-03)</td>\n<td>TerraClim extent</td>\n</tr>\n<tr>\n<td>rain (long term layers)</td>\n<td>annual_mean, monthly_median</td>\n<td>- annual_mean: single long term layer (not dated)  <br>- monthly_median: 12 long term layers (1 to 12 representing each month)</td>\n<td>SA extent</td>\n</tr>\n<tr>\n<td>windspeed</td>\n<td>20, 50, 100, 150</td>\n<td>Single layer  <br>(not dated)</td>\n<td>SA extent</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"querying-nearest-weather-station\">Querying nearest weather station</h2>\n<p>The data from the nearest station to a given point(s) can be queried. This is done using the <code>api/nearest-station</code> endpoint. Points must be in WGS84 format, and if multiple are provided must be separated by ; (semicolon).</p>\n<h3 id=\"data-types\">Data types</h3>\n<p>The <code>dataTypes</code> parameter in the body must be a list of items. <strong>Even if querying a single item.</strong></p>\n<p>Available data types differ per time scale, please refer to the table below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Time scale</strong></th>\n<th><strong>Available dataTypes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hourly</td>\n<td>temperature_mean, temperature_min, temperature_max,  <br>rain, solar_radation, sunshine_duration,  <br>wind_direction, leaf_wetness, wind_speed_max,  <br>wind_speed, evaporation, dew_point,  <br>humidity, humidity_min, humidity_max</td>\n</tr>\n<tr>\n<td>daily</td>\n<td>temperature_mean, temperature_min, temperature_max,  <br>temperature_median, rain_sum, solar_radiation_sum,  <br>sunshine_duration_sum, wind_direction_mean, wind_direction_median,  <br>humidity_mean, humidity_min, humidity_max,  <br>humidity_median, leaf_wetness_mean, leaf_wetness_median,  <br>leaf_wetnes_min, leaf_wetness_max, wind_speed_mean,  <br>wind_speed_min, wind_speed_max, evaporation_sum,  <br>dew_point_mean, dew_point_median, dew_point_min,  <br>dew_point_max, rain_mean, rain_min, rain_max,  <br>solar_rad_std_sum, solar_rad_std_mean, solar_rad_std_min,  <br>solar_rad_std_max, et0</td>\n</tr>\n<tr>\n<td>monthly</td>\n<td>temperature_mean, temperature_min, temperature_max,  <br>temperature_median, rain_sum, solar_radiation_sum,  <br>sunshine_duration_sum, wind_direction_mean, wind_direction_median,  <br>humidity_mean, humidity_min, humidity_max,  <br>humidity_median, leaf_wetness_mean, leaf_wetness_median,  <br>leaf_wetnes_min, leaf_wetness_max, wind_speed_mean,  <br>wind_speed_min, wind_speed_max, evaporation_sum,  <br>dew_point_mean, dew_point_median, dew_point_min,  <br>dew_point_max, rain_mean, rain_min, rain_max,  <br>solar_rad_std</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"time-scales\">Time scales</h3>\n<p>When querying the nearest statation data, a <code>timeScale</code> parameter must be provided in the options dictionary of the body. Available options are one of the follwing: \"hourly\", \"daily\", \"monthly\".</p>\n<p>The date formats for querying the different time scales are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Time scale</strong></th>\n<th><strong>Date format</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hourly</td>\n<td>yyyy-mm-ddThh:mm:ss  <br>where the mm:ss should always be 00:00 as you are only querying hourly data.  <br>Hours are from 00:00:00 (midnight) - 23:00:00</td>\n</tr>\n<tr>\n<td>daily</td>\n<td>yyyy-mm-dd</td>\n</tr>\n<tr>\n<td>monthly</td>\n<td>yyyy-mm</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25949156","collectionId":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","publishedId":"2s9YJhxfLS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-10T12:43:15.000Z"},"item":[{"name":"Point queries","item":[{"name":"point-gdd","id":"c13b273b-3acb-4b9d-84ad-e0e7cebfe2f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": {\r\n        \"gdd:apples\": {\r\n        \"dataExtent\": \"tc\"\r\n        }\r\n    },\r\n    \"timeScale\": \"annual\",\r\n    \"wkts\": \"POINT(19.014587 -33.642063)\",\r\n    \"startDate\": \"2016\",\r\n    \"endDate\": \"2017\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/point/","description":"<p>Example for querying point data from a raster layer.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","point",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"e5543460-d0c0-453e-9677-1fef03207783","name":"point-gdd","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataType\": \"gdd\",\r\n    \"options\": {\r\n        \"gddType\": \"grapes\"\r\n    },\r\n    \"wkts\": \"POINT(19.014587 -33.642063)\",\r\n    \"startDate\": \"2016\",\r\n    \"endDate\": \"2017\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/point/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 10 Oct 2023 15:25:15 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"80"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"POINT(19.014587 -33.642063)\": {\n        \"2016\": 2643.92822265625,\n        \"2017\": 2435.8935546875\n    }\n}"}],"_postman_id":"c13b273b-3acb-4b9d-84ad-e0e7cebfe2f9"},{"name":"point-temp-mean","id":"f4fa279c-7d59-4b50-9235-80855cc56a92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": {\r\n        \"temperature:mean\": {\r\n            \"dataExtent\": \"tc\"\r\n        }\r\n    },\r\n    \"timeScale\": \"daily\",\r\n    \"wkts\": [\"POINT(19.014587 -33.642063)\", \"POINT(19.123755 -33.342063)\"],\r\n    \"startDate\": \"2019-01-01\",\r\n    \"endDate\": \"2019-01-15\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/point/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","point",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"f8119a8c-fb06-4f99-b140-e1f257a5c527","name":"point-temp-mean","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataType\": \"temp\",\r\n    \"options\": {\r\n        \"tempType\": \"mean\"\r\n    },\r\n    \"wkts\": \"POINT(19.014587 -33.642063);POINT(19.123755 -33.342063)\",\r\n    \"startDate\": \"2016-01-01\",\r\n    \"endDate\": \"2016-01-04\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/point/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 10 Oct 2023 12:51:25 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"318"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"POINT(19.014587 -33.642063)\": {\n        \"2016-01-01\": 26.61680030822754,\n        \"2016-01-02\": 26.679847717285156,\n        \"2016-01-03\": 28.179224014282227,\n        \"2016-01-04\": 29.097129821777344\n    },\n    \"POINT(19.123755 -33.342063)\": {\n        \"2016-01-01\": 27.90815544128418,\n        \"2016-01-02\": 27.686288833618164,\n        \"2016-01-03\": 29.220434188842773,\n        \"2016-01-04\": 29.34918212890625\n    }\n}"}],"_postman_id":"f4fa279c-7d59-4b50-9235-80855cc56a92"}],"id":"51361dac-6156-4ea7-baf1-9dad33f9de36","_postman_id":"51361dac-6156-4ea7-baf1-9dad33f9de36","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}}},{"name":"Polygon zonal stats","item":[{"name":"polygon-chill-dpcu","id":"3a040470-cf6b-4c22-9ecb-cb98a77646f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": {\r\n        \"chill:dpcu\": {\r\n            \"dataExtent\": \"tc\",\r\n            \"aggregationMethod\": \"min\"\r\n        }\r\n    },\r\n    \"timeScale\": \"annual\",\r\n    \"wkts\": \"MultiPolygon (((18.82961358062696178 -33.91552444611048855, 18.83873271449686371 -33.91548421463753726, 18.83874612498784629 -33.92143847263493939, 18.82950629669908338 -33.9213580096890297, 18.82950629669908338 -33.9213580096890297, 18.82961358062696178 -33.91552444611048855))); MultiPolygon (((18.66647977941175895 -33.15640625000000341, 18.66890624999999559 -33.15853860294117794, 18.67068933823529164 -33.15857536764706026, 18.6709834558823502 -33.16056066176470551, 18.66719669117646774 -33.16271139705882831, 18.66534007352940705 -33.15844669117647214, 18.66534007352940705 -33.15844669117647214, 18.66647977941175895 -33.15640625000000341)))\",\r\n    \"startDate\": \"2016\",\r\n    \"endDate\": \"2017\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/polygon/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","polygon",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"2d4cfd3c-baed-4126-a381-3ec36764117f","name":"polygon-chill-dpcu","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataType\": \"chill\",\r\n    \"options\": {\r\n        \"chillType\": \"dpcu\",\r\n        \"aggregationMethod\": \"min\"\r\n    },\r\n    \"wkts\": \"MultiPolygon (((18.82961358062696178 -33.91552444611048855, 18.83873271449686371 -33.91548421463753726, 18.83874612498784629 -33.92143847263493939, 18.82950629669908338 -33.9213580096890297, 18.82950629669908338 -33.9213580096890297, 18.82961358062696178 -33.91552444611048855))); MultiPolygon (((18.66647977941175895 -33.15640625000000341, 18.66890624999999559 -33.15853860294117794, 18.67068933823529164 -33.15857536764706026, 18.6709834558823502 -33.16056066176470551, 18.66719669117646774 -33.16271139705882831, 18.66534007352940705 -33.15844669117647214, 18.66534007352940705 -33.15844669117647214, 18.66647977941175895 -33.15640625000000341)))\",\r\n    \"startDate\": \"2016\",\r\n    \"endDate\": \"2017\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/polygon/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Oct 2023 08:26:56 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"710"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"MultiPolygon (((18.82961358062696178 -33.91552444611048855, 18.83873271449686371 -33.91548421463753726, 18.83874612498784629 -33.92143847263493939, 18.82950629669908338 -33.9213580096890297, 18.82950629669908338 -33.9213580096890297, 18.82961358062696178 -33.91552444611048855)))\": {\n        \"2016\": 574.5,\n        \"2017\": 696.5\n    },\n    \"MultiPolygon (((18.66647977941175895 -33.15640625000000341, 18.66890624999999559 -33.15853860294117794, 18.67068933823529164 -33.15857536764706026, 18.6709834558823502 -33.16056066176470551, 18.66719669117646774 -33.16271139705882831, 18.66534007352940705 -33.15844669117647214, 18.66534007352940705 -33.15844669117647214, 18.66647977941175895 -33.15640625000000341)))\": {\n        \"2016\": 501.5,\n        \"2017\": 615.5\n    }\n}"}],"_postman_id":"3a040470-cf6b-4c22-9ecb-cb98a77646f2"},{"name":"polygon-wind","id":"7bc9ba37-4711-4168-aff2-e2ced05f6b50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": {\r\n        \"windspeed:20\": {\r\n            \"dataExtent\": \"sa\",\r\n            \"aggregationMethod\": \"mean\"\r\n        }\r\n    },\r\n    \"wkts\": \"MultiPolygon (((18.82961358062696178 -33.91552444611048855, 18.83873271449686371 -33.91548421463753726, 18.83874612498784629 -33.92143847263493939, 18.82950629669908338 -33.9213580096890297, 18.82950629669908338 -33.9213580096890297, 18.82961358062696178 -33.91552444611048855))); MultiPolygon (((18.66647977941175895 -33.15640625000000341, 18.66890624999999559 -33.15853860294117794, 18.67068933823529164 -33.15857536764706026, 18.6709834558823502 -33.16056066176470551, 18.66719669117646774 -33.16271139705882831, 18.66534007352940705 -33.15844669117647214, 18.66534007352940705 -33.15844669117647214, 18.66647977941175895 -33.15640625000000341)))\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/polygon/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","polygon",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"f668ff2c-9b64-4509-a515-be36fb484b56","name":"polygon-wind","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataType\": \"wind\",\r\n    \"options\": {\r\n        \"windType\": \"20\",\r\n        \"aggregationMethod\": \"mean\"\r\n    },\r\n    \"wkts\": \"POLYGON((19.13306886017619135 -33.44983371818354811, 19.35987339617619085 -33.44983371818354811, 19.35987339617619085 -33.33223136618354943, 19.13306886017619135 -33.33223136618354943, 19.13306886017619135 -33.44983371818354811))\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/polygon/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Oct 2023 12:38:02 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"251"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"POLYGON((19.13306886017619135 -33.44983371818354811, 19.35987339617619085 -33.44983371818354811, 19.35987339617619085 -33.33223136618354943, 19.13306886017619135 -33.33223136618354943, 19.13306886017619135 -33.44983371818354811))\": 4.582824419287362\n}"}],"_postman_id":"7bc9ba37-4711-4168-aff2-e2ced05f6b50"}],"id":"d239431b-19a4-4e82-a2e4-91a3855ede1d","_postman_id":"d239431b-19a4-4e82-a2e4-91a3855ede1d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}}},{"name":"Nearest station queries","item":[{"name":"nearest-station-hourly","id":"82f15893-8ede-4e87-9f90-1089591992cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"temperature_min\", \"humidity\"],\r\n    \"options\": {\r\n        \"timeScale\": \"hourly\"\r\n    },\r\n    \"wkts\": \"POINT (29.068916666 -24.33177777)\",\r\n    \"startDate\": \"2020-07-12T00:00:00\",\r\n    \"endDate\": \"2020-07-13T00:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/nearest-station/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","nearest-station",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"e1f9d0b1-9cf5-450d-8bf1-d58826db7ed6","name":"nearest-station-hourly","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"temperature_min\", \"humidity\"],\r\n    \"options\": {\r\n        \"timeScale\": \"hourly\"\r\n    },\r\n    \"wkts\": \"POINT (29.068916666 -24.33177777)\",\r\n    \"startDate\": \"2020-07-12T00:00:00\",\r\n    \"endDate\": \"2020-07-13T00:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/nearest-station/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 18 Oct 2023 10:08:02 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"421"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"POINT (29.068916666 -24.33177777)\": {\n        \"metadata\": {\n            \"station_lat\": -24.33177777,\n            \"station_lon\": 29.068916666,\n            \"station_elevation\": 1170.7,\n            \"distance_from_point_m\": 0,\n            \"actual_nearest\": true\n        },\n        \"data\": {\n            \"2020-07-12T00:00:00\": {\n                \"temperature_mean\": 5.716666666666666,\n                \"temperature_min\": null,\n                \"humidity\": 46.166666666666664\n            },\n            \"2020-07-13T00:00:00\": {\n                \"temperature_mean\": 10.491666666666667,\n                \"temperature_min\": null,\n                \"humidity\": 40.166666666666664\n            }\n        }\n    }\n}"}],"_postman_id":"82f15893-8ede-4e87-9f90-1089591992cf"},{"name":"nearest-statiion-daily","id":"dc64b870-4ae1-4222-9857-500eb8d0935c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"et0\", \"humidity_max\", \"solar_radiation_sum\"],\r\n    \"options\": {\r\n        \"timeScale\": \"daily\"\r\n    },\r\n    \"wkts\": \"POINT (30.999443 -25.817709);POINT (30.345306 -29.374156)\",\r\n    \"startDate\": \"2021-12-10\",\r\n    \"endDate\": \"2021-12-12\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/nearest-station/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","nearest-station",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"951e7ddb-f497-46e3-9fac-f02962d20349","name":"nearest-statiion-daily","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"et0\", \"humidity_max\", \"solar_radiation_sum\"],\r\n    \"options\": {\r\n        \"timeScale\": \"daily\"\r\n    },\r\n    \"wkts\": \"POINT (30.999443 -25.817709);POINT (30.345306 -29.374156)\",\r\n    \"startDate\": \"2021-12-10\",\r\n    \"endDate\": \"2021-12-12\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/nearest-station/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 18 Oct 2023 10:15:24 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"1065"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"POINT (30.999443 -25.817709)\": {\n        \"metadata\": {\n            \"station_lat\": -25.807614,\n            \"station_lon\": 30.999309,\n            \"station_elevation\": 813.4,\n            \"distance_from_point_m\": 1122.59446878,\n            \"actual_nearest\": true\n        },\n        \"data\": {\n            \"2021-12-10\": {\n                \"temperature_mean\": 22.937088734379262,\n                \"et0\": 4.1,\n                \"humidity_max\": 97,\n                \"solar_radiation_sum\": null\n            },\n            \"2021-12-11\": {\n                \"temperature_mean\": 24.1075,\n                \"et0\": 5.2,\n                \"humidity_max\": 97,\n                \"solar_radiation_sum\": null\n            },\n            \"2021-12-12\": {\n                \"temperature_mean\": 23.819999999999997,\n                \"et0\": 7.3,\n                \"humidity_max\": 92,\n                \"solar_radiation_sum\": null\n            }\n        }\n    },\n    \"POINT (30.345306 -29.374156)\": {\n        \"metadata\": {\n            \"station_lat\": -29.40774444,\n            \"station_lon\": 30.242661111,\n            \"station_elevation\": 1239.9,\n            \"distance_from_point_m\": 10622.79811665,\n            \"actual_nearest\": true\n        },\n        \"data\": {\n            \"2021-12-10\": {\n                \"temperature_mean\": 21.95917267917268,\n                \"et0\": null,\n                \"humidity_max\": 96.81818181818181,\n                \"solar_radiation_sum\": null\n            },\n            \"2021-12-11\": {\n                \"temperature_mean\": 24.767445356503742,\n                \"et0\": null,\n                \"humidity_max\": 90.10355914265847,\n                \"solar_radiation_sum\": null\n            },\n            \"2021-12-12\": {\n                \"temperature_mean\": 23.335506953797704,\n                \"et0\": null,\n                \"humidity_max\": 96,\n                \"solar_radiation_sum\": null\n            }\n        }\n    }\n}"}],"_postman_id":"dc64b870-4ae1-4222-9857-500eb8d0935c"},{"name":"nearest-station-monthly","id":"beccf118-e1a7-4ed3-ab31-d47194a0e4e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"temperature_min\", \"dew_point_median\", \"rain_max\", \"rain_mean\"],\r\n    \"options\": {\r\n        \"timeScale\": \"monthly\"\r\n    },\r\n    \"wkts\": \"POINT (30.333306 -29.254156);POINT(30.345306 -29.374156)\",\r\n    \"startDate\": \"2020-02\",\r\n    \"endDate\": \"2020-03\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/nearest-station/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","nearest-station",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"f787a32c-38be-4514-b6d1-45c16eebc4b4","name":"nearest-station-monthly","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"temperature_min\", \"dew_point_median\", \"rain_max\", \"rain_mean\"],\r\n    \"options\": {\r\n        \"timeScale\": \"monthly\"\r\n    },\r\n    \"wkts\": \"POINT (30.333306 -29.254156);POINT(30.345306 -29.374156)\",\r\n    \"startDate\": \"2020-02\",\r\n    \"endDate\": \"2020-03\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/nearest-station/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 18 Oct 2023 10:16:35 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) mod_wsgi/4.9.4 Python/3.9"},{"key":"Content-Length","value":"1037"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"POINT (30.333306 -29.254156)\": {\n        \"metadata\": {\n            \"station_lat\": -29.254156,\n            \"station_lon\": 30.330306,\n            \"station_elevation\": 1526.1,\n            \"distance_from_point_m\": 291.03996533,\n            \"actual_nearest\": true\n        },\n        \"data\": {\n            \"2020-02-01\": {\n                \"temperature_mean\": 17.999185314498135,\n                \"temperature_min\": 13.905790142012437,\n                \"dew_point_median\": null,\n                \"rain_max\": 0.08571428571428573,\n                \"rain_mean\": 0.011538461538461537\n            },\n            \"2020-03-01\": {\n                \"temperature_mean\": 16.71616689578228,\n                \"temperature_min\": 12.318017751479289,\n                \"dew_point_median\": null,\n                \"rain_max\": 0.028571428571428574,\n                \"rain_mean\": 0.01628787878787879\n            }\n        }\n    },\n    \"POINT(30.345306 -29.374156)\": {\n        \"metadata\": {\n            \"station_lat\": -29.40774444,\n            \"station_lon\": 30.242661111,\n            \"station_elevation\": 1239.9,\n            \"distance_from_point_m\": 10622.79811665,\n            \"actual_nearest\": true\n        },\n        \"data\": {\n            \"2020-02-01\": {\n                \"temperature_mean\": 20.838721829769064,\n                \"temperature_min\": 16.733333333333334,\n                \"dew_point_median\": null,\n                \"rain_max\": 0.10000000000000002,\n                \"rain_mean\": 0.011111111111111113\n            },\n            \"2020-03-01\": {\n                \"temperature_mean\": null,\n                \"temperature_min\": null,\n                \"dew_point_median\": null,\n                \"rain_max\": 0,\n                \"rain_mean\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"beccf118-e1a7-4ed3-ab31-d47194a0e4e6"}],"id":"2b1c9b2b-666e-448a-90ef-cdbdb8dc322f","_postman_id":"2b1c9b2b-666e-448a-90ef-cdbdb8dc322f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}}},{"name":"Polygon Station Aggregation","item":[{"name":"poly-aggregate-daily","id":"e318004f-bb57-43f2-8e4f-edfad268c70c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"humidity_max\", \"temperature_min\"],\r\n    \"options\": {\r\n        \"timeScale\": \"daily\"\r\n    },\r\n    \"wkts\": \"MultiPolygon (((18.91671791165536831 -33.89855763915434039, 18.92460126899314687 -33.8991747706631017, 18.92366561799598657 -33.90373358084075761, 18.91665818925129372 -33.90365395096866052, 18.91671791165536831 -33.89855763915434039)))\",\r\n    \"startDate\": \"2022-10-06\",\r\n    \"endDate\": \"2022-10-08\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/poly-aggregate/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","poly-aggregate",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"7b194a8f-435c-4703-a805-1eaaf6a86c99","name":"poly-aggregate-daily","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"temperature_mean\", \"humidity_max\", \"temperature_min\"],\r\n    \"options\": {\r\n        \"timeScale\": \"daily\"\r\n    },\r\n    \"wkts\": \"MultiPolygon (((18.91671791165536831 -33.89855763915434039, 18.92460126899314687 -33.8991747706631017, 18.92366561799598657 -33.90373358084075761, 18.91665818925129372 -33.90365395096866052, 18.91671791165536831 -33.89855763915434039)))\",\r\n    \"startDate\": \"2022-10-06\",\r\n    \"endDate\": \"2022-10-08\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/poly-aggregate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Jan 2024 12:51:57 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) OpenSSL/3.0.7 mod_wsgi/4.9.4 Python/3.9"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Length","value":"982"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"stations_metadata\": {\n        \"0\": {\n            \"station_lat\": -33.9025,\n            \"station_lon\": 18.9192,\n            \"station_elevation\": null\n        },\n        \"1\": {\n            \"station_lat\": -33.9014,\n            \"station_lon\": 18.9208,\n            \"station_elevation\": null\n        },\n        \"2\": {\n            \"station_lat\": -33.902184,\n            \"station_lon\": 18.923724,\n            \"station_elevation\": 443.1\n        },\n        \"3\": {\n            \"station_lat\": -33.902,\n            \"station_lon\": 18.9221,\n            \"station_elevation\": null\n        }\n    },\n    \"aggregated_data\": {\n        \"2022-10-06\": {\n            \"temperature_mean\": 12.529672181177848,\n            \"temperature_mean_station_count\": 4,\n            \"humidity_max\": 94.82,\n            \"humidity_max_station_count\": 1,\n            \"temperature_min\": 9.810439748764038,\n            \"temperature_min_station_count\": 4\n        },\n        \"2022-10-07\": {\n            \"temperature_mean\": 14.688077529799891,\n            \"temperature_mean_station_count\": 4,\n            \"humidity_max\": 89.42,\n            \"humidity_max_station_count\": 1,\n            \"temperature_min\": 8.780518522262573,\n            \"temperature_min_station_count\": 4\n        },\n        \"2022-10-08\": {\n            \"temperature_mean\": 17.533807679158095,\n            \"temperature_mean_station_count\": 4,\n            \"humidity_max\": 84.04,\n            \"humidity_max_station_count\": 1,\n            \"temperature_min\": 13.977020292282106,\n            \"temperature_min_station_count\": 4\n        }\n    }\n}"}],"_postman_id":"e318004f-bb57-43f2-8e4f-edfad268c70c"},{"name":"poly-aggregate-monthly","id":"9a2abeca-fe74-4828-963b-a2710afeebff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"rain_sum\"],\r\n    \"options\": {\r\n        \"timeScale\": \"monthly\"\r\n    },\r\n   \"wkts\": \"MultiPolygon (((18.91671791165536831 -33.89855763915434039, 18.92460126899314687 -33.8991747706631017, 18.92366561799598657 -33.90373358084075761, 18.91665818925129372 -33.90365395096866052, 18.91671791165536831 -33.89855763915434039)))\",\r\n    \"startDate\": \"2022-10\",\r\n    \"endDate\": \"2022-11\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/poly-aggregate/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","poly-aggregate",""],"host":["api","terraclim","co","za"],"query":[],"variable":[]}},"response":[{"id":"a620e1fa-19c9-4f1c-8472-21225f0bb3e7","name":"poly-aggregate-monthly","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dataTypes\": [\"rain_sum\"],\r\n    \"options\": {\r\n        \"timeScale\": \"monthly\"\r\n    },\r\n   \"wkts\": \"MultiPolygon (((18.91671791165536831 -33.89855763915434039, 18.92460126899314687 -33.8991747706631017, 18.92366561799598657 -33.90373358084075761, 18.91665818925129372 -33.90365395096866052, 18.91671791165536831 -33.89855763915434039)))\",\r\n    \"startDate\": \"2022-10\",\r\n    \"endDate\": \"2022-11\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.terraclim.co.za/api/poly-aggregate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Jan 2024 13:21:42 GMT"},{"key":"Server","value":"Apache/2.4.53 (Rocky Linux) OpenSSL/3.0.7 mod_wsgi/4.9.4 Python/3.9"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Length","value":"480"},{"key":"Vary","value":"Accept,origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"stations_metadata\": {\n        \"0\": {\n            \"station_lat\": -33.9025,\n            \"station_lon\": 18.9192,\n            \"station_elevation\": null\n        },\n        \"1\": {\n            \"station_lat\": -33.9014,\n            \"station_lon\": 18.9208,\n            \"station_elevation\": null\n        },\n        \"2\": {\n            \"station_lat\": -33.902184,\n            \"station_lon\": 18.923724,\n            \"station_elevation\": 443.1\n        },\n        \"3\": {\n            \"station_lat\": -33.902,\n            \"station_lon\": 18.9221,\n            \"station_elevation\": null\n        }\n    },\n    \"aggregated_data\": {\n        \"2022-10-01\": {\n            \"rain_sum\": 2.5000000000000004,\n            \"rain_sum_station_count\": 2\n        },\n        \"2022-11-01\": {\n            \"rain_sum\": 6,\n            \"rain_sum_station_count\": 2\n        }\n    }\n}"}],"_postman_id":"9a2abeca-fe74-4828-963b-a2710afeebff"}],"id":"f190f01d-5faf-4be0-8aa6-8b80bb19aa3f","_postman_id":"f190f01d-5faf-4be0-8aa6-8b80bb19aa3f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","id":"e13f85e5-33ee-44f1-9417-2eb6a6c7baa7","name":"TerraClim API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"025258a5-2621-4b39-963b-9d81f94e8ec2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dfb62782-b775-4d17-8c06-f32828365cb5","type":"text/javascript","exec":[""]}}]}