Fix wgrib2 error message — no homebrew formula exists

This commit is contained in:
Graham McIntire 2026-03-29 17:44:58 -05:00
parent 47456630ff
commit 3534b282af
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -197,7 +197,7 @@ defmodule Microwaveprop.Weather.HrrrClient do
defp extract_point(grib_binary, lat, lon) do
case System.find_executable("wgrib2") do
nil ->
{:error, "wgrib2 not found in PATH. Install via: brew install wgrib2"}
{:error, "wgrib2 not found in PATH. Build from source: https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/"}
wgrib2_path ->
tmp_dir = System.tmp_dir!()