async function weatherForecastApi(lat, lng) {
  const resp = await fetch(`https://api.weather.gov/points/${lat},${lng}`);

  if (!resp.ok) {
    return `error: ${resp.status}`;
  }

  const forecastUrl = (await resp.json()).properties.forecast;
  const forecastResp = await fetch(forecastUrl);

  if (!forecastResp.ok) {
    return `error: ${forecastResp.status}`;
  }

  // add an artificial wait to emphasize stream-iness
  await new Promise((resolve) => setTimeout(resolve, Math.random() * 1500));

  return forecastResp.json();
}
Gets the weather from the national weather service
https://www.weather.gov/documentation/services-web-api

@param {number} lat
@param {number} lng