Fix wgrib2 error message — no homebrew formula exists
This commit is contained in:
parent
47456630ff
commit
3534b282af
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ defmodule Microwaveprop.Weather.HrrrClient do
|
||||||
defp extract_point(grib_binary, lat, lon) do
|
defp extract_point(grib_binary, lat, lon) do
|
||||||
case System.find_executable("wgrib2") do
|
case System.find_executable("wgrib2") do
|
||||||
nil ->
|
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 ->
|
wgrib2_path ->
|
||||||
tmp_dir = System.tmp_dir!()
|
tmp_dir = System.tmp_dir!()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue