{{- if .Data -}}
Convective Outlook
Location ID: {{if .Data.LocationID}}{{.Data.LocationID}}{{else}}n/a{{end}}
Location Name: {{if .Data.LocationName}}{{.Data.LocationName}}{{else}}n/a{{end}}
As Of: {{.Data.AsOf}}
{{- if .Data.IssuedAt}}
Issued At: {{.Data.IssuedAt}}
{{- end}}
Outlooks: {{len .Data.Outlooks}}
{{- range $i, $outlook := .Data.Outlooks}}

[{{$i}}] Day {{$outlook.Day}} {{$outlook.OutlookType}} {{$outlook.Label}}
Valid: {{$outlook.ValidFrom}} -> {{$outlook.ValidTo}}
Contains Location: {{$outlook.ContainsLocation}}
{{- if $outlook.LabelText}}
Label Text: {{$outlook.LabelText}}
{{- end}}
{{- if $outlook.SourceURL}}
Source URL: {{$outlook.SourceURL}}
{{- end}}
{{- end}}
{{- else -}}
No convective outlook data available.
{{- end}}
