> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/m20prs/Sky-AI-Forecast/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Frequently asked questions about Sky AI Forecast.

<AccordionGroup>
  <Accordion title="Does Sky AI Forecast require an API key?">
    No. Sky AI Forecast uses the [Open-Meteo API](https://open-meteo.com), which is completely free and requires no registration or API key. You can start making requests immediately without any account setup.
  </Accordion>

  <Accordion title="Why is temperature always shown in Celsius?">
    The app requests the `temperature_2m` variable from Open-Meteo, which returns values in Celsius by default.

    To display Fahrenheit, apply the standard conversion formula — `(°C × 9/5) + 32` — when rendering the temperature value. In `script.js`, wrap the temperature value before inserting it into the DOM:

    ```javascript theme={null}
    const tempF = (tempC * 9 / 5) + 32;
    ```

    Replace uses of the raw temperature variable with `tempF` wherever you want Fahrenheit output.
  </Accordion>

  <Accordion title="How accurate is the forecast?">
    Open-Meteo aggregates data from multiple national weather services, including NOAA, DWD, and ECMWF. Forecast accuracy is comparable to mainstream consumer weather apps.

    The 16-day forecast range is available, but predictions beyond 7 days carry significantly more uncertainty and should be treated as indicative rather than precise.
  </Accordion>

  <Accordion title="What happens if I search for an ambiguous city name?">
    The app passes `count=1` in the geocoding query, so it always takes the first — and most relevant — result returned by Open-Meteo. For common or ambiguous names (e.g. "Springfield"), the result may not be the city you intended.

    To disambiguate, include a state or country in your search: `Springfield, Illinois` or `Springfield, US`.
  </Accordion>

  <Accordion title="Can I use this app offline?">
    No. Sky AI Forecast fetches live data from the Open-Meteo API on every search. An active internet connection is required. There is no local caching or offline mode.
  </Accordion>

  <Accordion title="Why does the 16-Day Outlook only show 16 days when the function is called show30d()?">
    The function name `show30d()` is a legacy of an earlier version of the app that targeted a 30-day range. The actual API call uses `forecast_days=16`, so the data covers 16 days. The function name was never updated to match and does not reflect the real forecast range.
  </Accordion>

  <Accordion title="How do I deploy this to a website?">
    Sky AI Forecast is a static app consisting of three files: `index.html`, `style.css`, and `script.js`. Any static hosting platform can serve it. Common options include:

    * **GitHub Pages** — push your files to a repository and enable Pages in the repository settings.
    * **Netlify** — drag and drop your project folder into the Netlify dashboard.
    * **Vercel** — import the repository or run `vercel deploy` from the project directory.
    * **Any web server** — upload the three files to the server's public root directory.

    See the [Quickstart](/quickstart) page for step-by-step deployment instructions.
  </Accordion>

  <Accordion title="Can I embed this app in an existing page?">
    Yes. Because the app is plain HTML, CSS, and JavaScript, you can integrate it into an existing project:

    1. Copy the relevant HTML structure from `index.html` into your page.
    2. Copy the styles from `style.css` into your stylesheet (or import the file).
    3. Copy the JavaScript from `script.js` into your script bundle (or import the file).
    4. Ensure the Lucide CDN script tag is present in your page's `<head>`:

    ```html theme={null}
    <script src="https://unpkg.com/lucide@latest"></script>
    ```

    Adjust class names and IDs if they conflict with your existing codebase.
  </Accordion>
</AccordionGroup>
