{{- if .Data -}}
Hourly Forecast
Location ID: {{if .Data.LocationID}}{{.Data.LocationID}}{{else}}n/a{{end}}
Location Name: {{if .Data.LocationName}}{{.Data.LocationName}}{{else}}n/a{{end}}
Issued At: {{.Data.IssuedAt}}
Periods: {{len .Data.Periods}}
{{- range $i, $period := .Data.Periods}}

[{{$i}}] {{$period.StartTime}} -> {{$period.EndTime}}
{{- if $period.ConditionCode}}
Condition Code: {{$period.ConditionCode}}
{{- end}}
{{- if $period.TextDescription}}
Summary: {{$period.TextDescription}}
{{- end}}
{{- end}}
{{- else -}}
No hourly forecast data available.
{{- end}}
