summaryrefslogtreecommitdiffstats
path: root/nws/nws.go
diff options
context:
space:
mode:
Diffstat (limited to 'nws/nws.go')
-rw-r--r--nws/nws.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/nws/nws.go b/nws/nws.go
index 4fcc15b..afa7e08 100644
--- a/nws/nws.go
+++ b/nws/nws.go
@@ -108,6 +108,7 @@ type ForecastBundle struct {
Point *Point
Forecast *Forecast
ForecastHourly *Forecast
+ ForecastGrid *ForecastGrid
Alerts *FeatureCollection
}
@@ -160,10 +161,16 @@ func GetForecastBundle(lat, lng float32) (*ForecastBundle, *Error) {
return nil, nwsErr
}
+ g, nwsErr := GetForecastGridData(p)
+ if nwsErr != nil {
+ return nil, nwsErr
+ }
+
return &ForecastBundle{
Point: p,
Forecast: f,
ForecastHourly: fh,
+ ForecastGrid: g,
Alerts: a,
}, nil
}