- "html_template": "<h1 id=\"insight_weather\">InSight: Mars Weather Service API</h1><p>(Last Updated: 3/30/2021)</p><p><b>THIS SERVICE HAS SIGNIFICANT MISSING DATA DUE TO INSIGHT NEEDING TO MANAGE POWER USE</b>:Please check out the <a href='https://mars.nasa.gov/insight/weather/'> seasonal weather report plot</a> for an illustration of missing data and read <a href='https://mars.nasa.gov/news/8858/insight-is-meeting-the-challenge-of-winter-on-dusty-mars/?site=insight'>this article</a> about how dust and distance from the sun affect Insight's power situation. </p><p>NASA’s InSight Mars lander takes continuous weather measurements (temperature, wind, pressure) on the surface of Mars at Elysium Planitia, a flat, smooth plain near Mars’ equator. Please note that there are sometimes problems with the sensors on Mars that result in missing data! If you see a long gap, a search result may bring up more information on whether it is a long-lasting problem. Summaries of these data are available at <a href=\"https://mars.nasa.gov/insight/weather/\">https://mars.nasa.gov/insight/weather/</a>. </p><p>This API provides per-Sol summary data for each of the last seven available Sols (Martian Days). As more data from a particular Sol are downlinked from the spacecraft (sometimes several days later), these values are recalculated, and consequently may change as more data are received on Earth. Additionally, please note that wind and other sensor data may not exist for certain date ranges. You can check out https://mars.nasa.gov/insight/weather/ and scroll down to the 'seasonal weather report' you'll see the gaps where no data exists for some sensors.</p><p><strong>Example image:</strong></p><p><img src=\"assets/img/general/insight_photo.png\" /></p><p>This API is maintained and provided by NASA Jet Propulsion Laboratory and Cornell University. If you find bugs in this API, please use the contact form found at <a href=\"https://mars.nasa.gov/feedback/\">https://mars.nasa.gov/feedback/</a>. The rate limit for this API is every hour no more than 2000 hits for each individual IP.</p><h3>Defining the Data</h3><p>The summary data are provided as an object in a JSON stream, a formal definition of JSON is <a href=\"https://tools.ietf.org/html/rfc7159\">RFC 7159</a>. Appendix A contains an abridged, typical JSON stream for this API as an example.</p><h3 id=\"http-request\">HTTP Request</h3><p><code class=\"prettyprint\">GET https: //api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0</code></p><h3 id=\"query-parameters\">Query Parameters</h3><table><thead><tr><th>Parameter</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>version</td><td>float</td><td><em>1.0</em></td><td>The version of this API</td></tr><tr><td>feedtype</td><td>string</td><td>json</td><td>The format of what is returned. Currently the default is JSON and only JSON works.</td></tr><tr><td>api_key</td><td>string</td><td>DEMO_KEY</td><td>api.data.gov key for expanded usage</td></tr></tbody></table><h3 id=\"example-query\">Example query</h3><p><a href=\"https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0\"><code class=\"prettyprint\">https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0</code></a></p><h5><a href=\"./assets/insight/InSight%20Weather%20API%20Documentation.pdf\">This document</a> describes the API in more detail.</h5><h5><a href=\"./assets/insight/insight_mars_wind_rose.html\">This self-contained HTML document</a> is an example that draws a wind rose using InSight Wind Direction frequency distribution data, which data are part of the JSON object returned by this API.</h5><p>Here is something like what that wind rose looks like:<br><img src=\"./assets/insight/insight_mars_wind_rose.png\" style=\"max-width: 50%;\" /></p>"
0 commit comments