noaa-alerts 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -12,6 +12,7 @@ lib/bundler/man
12
12
  pkg
13
13
  rdoc
14
14
  spec/reports
15
+ spec/fixtures
15
16
  test/tmp
16
17
  test/version_tmp
17
18
  tmp
@@ -2,11 +2,14 @@ require "noaa-alerts/version"
2
2
 
3
3
  module Noaa
4
4
  class Alert
5
- attr_reader :description, :locations
5
+ attr_reader :description, :locations, :identifier, :effective_at, :expires_at
6
6
 
7
7
  def initialize(entry)
8
8
  @description = ""
9
9
  @locations = []
10
+ @identifier = ""
11
+ @effective_at = nil
12
+ @expires_at = nil
10
13
  handle_entry(entry)
11
14
  end
12
15
 
@@ -15,6 +18,9 @@ module Noaa
15
18
  def handle_entry(entry)
16
19
  @description = entry['info']['description']
17
20
  @locations = entry['info']['area']['areaDesc'].split('; ')
21
+ @identifier = entry['identifier']
22
+ @effective_at = Time.parse(entry['info']['effective'])
23
+ @expires_at = Time.parse(entry['info']['expires'])
18
24
  end
19
25
  end
20
26
  end
@@ -1,3 +1,3 @@
1
1
  module Noaa
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -22,6 +22,9 @@ describe Noaa, :vcr do
22
22
 
23
23
  its(:description) { should_not be_nil }
24
24
  its(:locations) { should_not be_empty }
25
+ its(:identifier) { should_not be_empty }
26
+ its(:effective_at) { should be_an_instance_of Time }
27
+ its(:expires_at) { should be_an_instance_of Time }
25
28
  end
26
29
  end
27
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noaa-alerts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &70245348749520 !ruby/object:Gem::Requirement
16
+ requirement: &70107377106780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70245348749520
24
+ version_requirements: *70107377106780
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70245348749100 !ruby/object:Gem::Requirement
27
+ requirement: &70107377106260 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70245348749100
35
+ version_requirements: *70107377106260
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70245348748560 !ruby/object:Gem::Requirement
38
+ requirement: &70107377105560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.9.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70245348748560
46
+ version_requirements: *70107377105560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: webmock
49
- requirement: &70245348748020 !ruby/object:Gem::Requirement
49
+ requirement: &70107377104540 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.8.7
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70245348748020
57
+ version_requirements: *70107377104540
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: vcr
60
- requirement: &70245348747560 !ruby/object:Gem::Requirement
60
+ requirement: &70107377104000 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 2.2.2
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70245348747560
68
+ version_requirements: *70107377104000
69
69
  description: A Ruby library for consuming NOAA National Weather Service severe weather
70
70
  alerts.
71
71
  email:
@@ -85,9 +85,6 @@ files:
85
85
  - lib/noaa-alerts.rb
86
86
  - lib/noaa-alerts/version.rb
87
87
  - noaa-alerts.gemspec
88
- - spec/fixtures/vcr_cassettes/Noaa/_initialize/Noaa_Alert/description/.yml
89
- - spec/fixtures/vcr_cassettes/Noaa/_initialize/Noaa_Alert/locations/.yml
90
- - spec/fixtures/vcr_cassettes/Noaa/_initialize/alerts/.yml
91
88
  - spec/noaa_alerts_spec.rb
92
89
  homepage: https://github.com/ckundo/noaa-alerts
93
90
  licenses: []
@@ -114,7 +111,4 @@ signing_key:
114
111
  specification_version: 3
115
112
  summary: Fetch and format feeds from the NOAA.
116
113
  test_files:
117
- - spec/fixtures/vcr_cassettes/Noaa/_initialize/Noaa_Alert/description/.yml
118
- - spec/fixtures/vcr_cassettes/Noaa/_initialize/Noaa_Alert/locations/.yml
119
- - spec/fixtures/vcr_cassettes/Noaa/_initialize/alerts/.yml
120
114
  - spec/noaa_alerts_spec.rb
@@ -1,186 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://alerts.weather.gov/cap/ak.php?x=0
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers: {}
10
- response:
11
- status:
12
- code: 200
13
- message: OK
14
- headers:
15
- Date:
16
- - Fri, 22 Jun 2012 16:00:38 GMT
17
- Server:
18
- - Apache/2.2.15 (Red Hat)
19
- Cache-Control:
20
- - max-age=90
21
- Expires:
22
- - Fri, 22 Jun 2012 16:02:08 GMT
23
- Content-Length:
24
- - '4473'
25
- Connection:
26
- - close
27
- Content-Type:
28
- - application/rss+xml
29
- body:
30
- encoding: US-ASCII
31
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n\n<!--\nThis
32
- atom/xml feed is an index to active advisories, watches and warnings \nissued
33
- by the National Weather Service. This index file is not the complete \nCommon
34
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
35
- please follow the links for each entry in this index. Also note the \nCAP
36
- message uses a style sheet to convey the information in a human readable \nformat.
37
- \ Please view the source of the CAP message to see the complete data \nset.
38
- \ Not all information in the CAP message is contained in this index of \nactive
39
- alerts.\n-->\n\n<feed\nxmlns = 'http://www.w3.org/2005/Atom'\nxmlns:cap =
40
- 'urn:oasis:names:tc:emergency:cap:1.1'\nxmlns:ha = 'http://www.alerting.net/namespace/index_1.0'\n>\n<!--
41
- http-date = Fri, 22 Jun 2012 03:34:00 GMT -->\n<id>http://alerts.weather.gov/cap/ak.atom</id>\n<logo>http://alerts.weather.gov/images/xml_logo.gif</logo>\n<generator>NWS
42
- CAP Server</generator>\n<updated>2012-06-22T07:34:00-08:00</updated>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Current
43
- Watches, Warnings and Advisories for Alaska Issued by the National Weather
44
- Service</title>\n<link href='http://alerts.weather.gov/cap/ak.atom'/>\n<entry>\n<id>http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8</id>\n<updated>2012-06-22T07:34:00-08:00</updated>\n<published>2012-06-22T07:34:00-08:00</published>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Red
45
- Flag Warning issued June 22 at 7:34AM AKDT until June 24 at 12:00AM AKDT by
46
- NWS</title>\n<link href=\"http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8\"/>\n<summary>...RED
47
- FLAG WARNING IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT SATURDAY NIGHT FOR
48
- LOW HUMIDITY FOR A PORTION OF THE NORTHERN INTERIOR... ...RED FLAG WARNING
49
- IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT SATURDAY NIGHT FOR LOW HUMIDITY...
50
- THE NATIONAL WEATHER SERVICE IN FAIRBANKS HAS ISSUED A RED FLAG</summary>\n<cap:event>Red
51
- Flag Warning</cap:event>\n<cap:effective>2012-06-22T07:34:00-08:00</cap:effective>\n<cap:expires>2012-06-22T23:45:00-08:00</cap:expires>\n<cap:status>Actual</cap:status>\n<cap:msgType>Alert</cap:msgType>\n<cap:category>Met</cap:category>\n<cap:urgency>Expected</cap:urgency>\n<cap:severity>Severe</cap:severity>\n<cap:certainty>Likely</cap:certainty>\n<cap:areaDesc>Yukon
52
- Flats and Surrounding Uplands</cap:areaDesc>\n<cap:geocode>\n<valueName>FIPS6</valueName>\n<value>002090
53
- 002290</value>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</cap:geocode>\n<cap:parameter>\n<valueName>VTEC</valueName>\n<value>/X.NEW.PAFG.FW.W.0011.120622T2000Z-120624T0800Z/</value>\n</cap:parameter>\n</entry>\n<entry>\n<id>http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b</id>\n<updated>2012-06-21T12:10:00-08:00</updated>\n<published>2012-06-21T12:10:00-08:00</published>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Special
54
- Weather Statement issued June 21 at 12:10PM AKDT by NWS</title>\n<link href=\"http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b\"/>\n<summary>...WIDESPREAD
55
- SNOWMELT AROUND SOUTHCENTRAL ALASKA RESULTING IN ELEVATED WATER LEVELS ON
56
- ALL AREA RIVERS... REASON FOR STATEMENT: WARM TEMPERATURES THIS WEEK HAVE
57
- CAUSED SOUTHCENTRAL RIVERS AND STREAMS TO BECOME SWOLLEN WITH SNOWMELT. A
58
- SIGNIFICANT SNOWPACK REMAINS IN THE UPPER ELEVATIONS DUE TO THE COOLER THAN
59
- NORMAL SPRING.</summary>\n<cap:event>Special Weather Statement</cap:event>\n<cap:effective>2012-06-21T12:10:00-08:00</cap:effective>\n<cap:expires>2012-06-23T16:00:00-08:00</cap:expires>\n<cap:status>Actual</cap:status>\n<cap:msgType>Alert</cap:msgType>\n<cap:category>Met</cap:category>\n<cap:urgency>Expected</cap:urgency>\n<cap:severity>Minor</cap:severity>\n<cap:certainty>Observed</cap:certainty>\n<cap:areaDesc>Anchorage;
60
- Copper River Basin; Matanuska Valley; Susitna Valley; Western Prince William
61
- Sound</cap:areaDesc>\n<cap:geocode>\n<valueName>FIPS6</valueName>\n<value>002020
62
- 002050 002068 002122 002170 002240 002261</value>\n<valueName>UGC</valueName>\n<value>AKZ101
63
- AKZ111 AKZ125 AKZ141 AKZ145</value>\n</cap:geocode>\n<cap:parameter>\n<valueName>VTEC</valueName>\n<value></value>\n</cap:parameter>\n</entry>\n</feed>\n"
64
- http_version:
65
- recorded_at: Fri, 22 Jun 2012 16:00:38 GMT
66
- - request:
67
- method: get
68
- uri: http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8
69
- body:
70
- encoding: US-ASCII
71
- string: ''
72
- headers: {}
73
- response:
74
- status:
75
- code: 200
76
- message: OK
77
- headers:
78
- Date:
79
- - Fri, 22 Jun 2012 16:00:38 GMT
80
- Server:
81
- - Apache/2.2.15 (Red Hat)
82
- Cache-Control:
83
- - max-age=90
84
- Expires:
85
- - Fri, 22 Jun 2012 16:02:08 GMT
86
- Content-Length:
87
- - '3289'
88
- Connection:
89
- - close
90
- Content-Type:
91
- - text/xml
92
- body:
93
- encoding: US-ASCII
94
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n<?xml-stylesheet
95
- href='http://alerts.weather.gov/cap/capatomproduct.xsl' type='text/xsl'?>\n\n<!--\nThis
96
- atom/xml feed is an index to active advisories, watches and warnings \nissued
97
- by the National Weather Service. This index file is not the complete \nCommon
98
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
99
- please follow the links for each entry in this index. Also note the \nCAP
100
- message uses a style sheet to convey the information in a human readable \nformat.
101
- \ Please view the source of the CAP message to see the complete data \nset.
102
- \ Not all information in the CAP message is contained in this index of \nactive
103
- alerts.\n-->\n\n<alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.1'>\n\n<!--
104
- http-date = Fri, 22 Jun 2012 03:34:00 GMT -->\n<identifier>NOAA-NWS-ALERTS-AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8</identifier>\n<sender>w-nws.webmaster@noaa.gov</sender>\n<sent>2012-06-22T07:34:00-08:00</sent>\n<status>Actual</status>\n<msgType>Alert</msgType>\n<scope>Public</scope>\n<note>Alert
105
- for Yukon Flats and Surrounding Uplands (Alaska) Issued by the National Weather
106
- Service</note>\n<references></references>\n<info>\n<category>Met</category>\n<event>Red
107
- Flag Warning</event>\n<urgency>Expected</urgency>\n<severity>Severe</severity>\n<certainty>Likely</certainty>\n<eventCode>\n<valueName>SAME</valueName>\n<value></value>\n</eventCode>\n<effective>2012-06-22T07:34:00-08:00</effective>\n<expires>2012-06-22T23:45:00-08:00</expires>\n<senderName>NWS
108
- Fairbanks (Northern Alaska - Fairbanks)</senderName>\n<headline>Red Flag Warning
109
- issued June 22 at 7:34AM AKDT until June 24 at 12:00AM AKDT by NWS Fairbanks</headline>\n<description>...RED
110
- FLAG WARNING IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT FOR
111
- LOW HUMIDITY\nFOR A PORTION OF THE NORTHERN INTERIOR...\n...RED FLAG WARNING
112
- IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT FOR LOW HUMIDITY...\nTHE
113
- NATIONAL WEATHER SERVICE IN FAIRBANKS HAS ISSUED A RED FLAG\nWARNING...WHICH
114
- IS IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT.\n* RELATIVE
115
- HUMIDITY...15 PERCENT OR LOWER IN SOME SPOTS\n* 20 FT WINDS...LGT AND VARIABLE\n*
116
- TIMING...LOWEST RH VALUES THIS AFTERNOON AND SATURDAY AFTERNOON.</description>\n<instruction>A
117
- RED FLAG WARNING MEANS THAT CONDITIONS ARE OCCURRING OR WILL\nOCCUR WHICH
118
- COULD LEAD TO THE DEVELOPMENT OF LARGE AND DANGEROUS\nFIRES. IT IS DIRECTED
119
- TOWARD FIRE AGENCIES...AND THROUGH THEM...\nTO THE PUBLIC.\nPLEASE ADVISE
120
- THE APPROPRIATE OFFICIALS OR FIRE CREWS IN THE\nFIELD OF THIS RED FLAG WARNING.</instruction>\n<parameter>\n<valueName>WMOHEADER</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</parameter>\n<parameter>\n<valueName>VTEC</valueName>\n<value>/X.NEW.PAFG.FW.W.0011.120622T2000Z-120624T0800Z/</value>\n</parameter>\n<parameter>\n<valueName>TIME...MOT...LOC</valueName>\n<value></value>\n</parameter>\n<area>\n<areaDesc>Yukon
121
- Flats and Surrounding Uplands</areaDesc>\n<polygon></polygon>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002090</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002290</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</geocode>\n</area>\n</info>\n</alert>"
122
- http_version:
123
- recorded_at: Fri, 22 Jun 2012 16:00:38 GMT
124
- - request:
125
- method: get
126
- uri: http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b
127
- body:
128
- encoding: US-ASCII
129
- string: ''
130
- headers: {}
131
- response:
132
- status:
133
- code: 200
134
- message: OK
135
- headers:
136
- Date:
137
- - Fri, 22 Jun 2012 16:00:38 GMT
138
- Server:
139
- - Apache/2.2.15 (Red Hat)
140
- Cache-Control:
141
- - max-age=90
142
- Expires:
143
- - Fri, 22 Jun 2012 16:02:08 GMT
144
- Content-Length:
145
- - '4223'
146
- Connection:
147
- - close
148
- Content-Type:
149
- - text/xml
150
- body:
151
- encoding: US-ASCII
152
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n<?xml-stylesheet
153
- href='http://alerts.weather.gov/cap/capatomproduct.xsl' type='text/xsl'?>\n\n<!--\nThis
154
- atom/xml feed is an index to active advisories, watches and warnings \nissued
155
- by the National Weather Service. This index file is not the complete \nCommon
156
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
157
- please follow the links for each entry in this index. Also note the \nCAP
158
- message uses a style sheet to convey the information in a human readable \nformat.
159
- \ Please view the source of the CAP message to see the complete data \nset.
160
- \ Not all information in the CAP message is contained in this index of \nactive
161
- alerts.\n-->\n\n<alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.1'>\n\n<!--
162
- http-date = Thu, 21 Jun 2012 08:10:00 GMT -->\n<identifier>NOAA-NWS-ALERTS-AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b</identifier>\n<sender>w-nws.webmaster@noaa.gov</sender>\n<sent>2012-06-21T12:10:00-08:00</sent>\n<status>Actual</status>\n<msgType>Alert</msgType>\n<scope>Public</scope>\n<note>Alert
163
- for Anchorage; Copper River Basin; Matanuska Valley; Susitna Valley; Western
164
- Prince William Sound (Alaska) Issued by the National Weather Service</note>\n<references></references>\n<info>\n<category>Met</category>\n<event>Special
165
- Weather Statement</event>\n<urgency>Expected</urgency>\n<severity>Minor</severity>\n<certainty>Observed</certainty>\n<eventCode>\n<valueName>SAME</valueName>\n<value></value>\n</eventCode>\n<effective>2012-06-21T12:10:00-08:00</effective>\n<expires>2012-06-23T16:00:00-08:00</expires>\n<senderName>NWS
166
- Anchorage (Southern Alaska - Anchorage)</senderName>\n<headline>Special Weather
167
- Statement issued June 21 at 12:10PM AKDT by NWS Anchorage</headline>\n<description>...WIDESPREAD
168
- SNOWMELT AROUND SOUTHCENTRAL ALASKA RESULTING IN\nELEVATED WATER LEVELS ON
169
- ALL AREA RIVERS...\nREASON FOR STATEMENT:\nWARM TEMPERATURES THIS WEEK HAVE
170
- CAUSED SOUTHCENTRAL RIVERS AND\nSTREAMS TO BECOME SWOLLEN WITH SNOWMELT. A
171
- SIGNIFICANT SNOWPACK\nREMAINS IN THE UPPER ELEVATIONS DUE TO THE COOLER THAN
172
- NORMAL SPRING.\nWARM TEMPERATURES AND HIGH FREEZING LEVELS WILL PERSIST THROUGH\nSATURDAY
173
- BEFORE A PATTERN CHANGE ON SUNDAY BRINGS A RETURN OF COOLER\nONSHORE FLOW.
174
- \ RIVER LEVELS WILL CONTINUE TO RISE AND LIKELY CREST\nTHIS WEEKEND. ISOLATED
175
- THUNDERSTORMS THURSDAY MAY CAUSE FURTHER\nRISES.\nEXPECTED IMPACTS:\nAT THIS
176
- TIME...FLOODING IS NOT EXPECTED ALTHOUGH SOME RIVERS AND\nSTREAMS MAY APPROACH
177
- BANKFULL OR EXPERIENCE VERY MINOR LOCAL FLOODING\nIN LOW LYING AREAS. WATER
178
- LEVELS WILL BE HIGH ENOUGH TO CAUSE LOCAL\nBANK EROSION ESPECIALLY ALONG THE
179
- MATANUSKA RIVER. RECREATIONAL\nENTHUSIASTS SHOULD EXERT CAUTION AND BE ALERT
180
- FOR HIGH WATER.\nWHETHER YOU ARE DRIVING OR WALKING...IF YOU COME TO A FLOODED\nROAD...TURN
181
- AROUND DON`T DROWN.</description>\n<instruction></instruction>\n<parameter>\n<valueName>WMOHEADER</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>UGC</valueName>\n<value>AKZ101-111-125-141-145</value>\n</parameter>\n<parameter>\n<valueName>VTEC</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>TIME...MOT...LOC</valueName>\n<value></value>\n</parameter>\n<area>\n<areaDesc>Anchorage;
182
- Copper River Basin; Matanuska Valley; Susitna Valley; Western Prince William
183
- Sound</areaDesc>\n<polygon></polygon>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002020</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002050</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002068</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002122</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002170</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002240</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002261</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ101</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ111</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ125</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ141</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ145</value>\n</geocode>\n</area>\n</info>\n</alert>"
184
- http_version:
185
- recorded_at: Fri, 22 Jun 2012 16:00:38 GMT
186
- recorded_with: VCR 2.2.2
@@ -1,186 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://alerts.weather.gov/cap/ak.php?x=0
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers: {}
10
- response:
11
- status:
12
- code: 200
13
- message: OK
14
- headers:
15
- Date:
16
- - Fri, 22 Jun 2012 16:00:38 GMT
17
- Server:
18
- - Apache/2.2.15 (Red Hat)
19
- Cache-Control:
20
- - max-age=90
21
- Expires:
22
- - Fri, 22 Jun 2012 16:02:08 GMT
23
- Content-Length:
24
- - '4473'
25
- Connection:
26
- - close
27
- Content-Type:
28
- - application/rss+xml
29
- body:
30
- encoding: US-ASCII
31
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n\n<!--\nThis
32
- atom/xml feed is an index to active advisories, watches and warnings \nissued
33
- by the National Weather Service. This index file is not the complete \nCommon
34
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
35
- please follow the links for each entry in this index. Also note the \nCAP
36
- message uses a style sheet to convey the information in a human readable \nformat.
37
- \ Please view the source of the CAP message to see the complete data \nset.
38
- \ Not all information in the CAP message is contained in this index of \nactive
39
- alerts.\n-->\n\n<feed\nxmlns = 'http://www.w3.org/2005/Atom'\nxmlns:cap =
40
- 'urn:oasis:names:tc:emergency:cap:1.1'\nxmlns:ha = 'http://www.alerting.net/namespace/index_1.0'\n>\n<!--
41
- http-date = Fri, 22 Jun 2012 03:34:00 GMT -->\n<id>http://alerts.weather.gov/cap/ak.atom</id>\n<logo>http://alerts.weather.gov/images/xml_logo.gif</logo>\n<generator>NWS
42
- CAP Server</generator>\n<updated>2012-06-22T07:34:00-08:00</updated>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Current
43
- Watches, Warnings and Advisories for Alaska Issued by the National Weather
44
- Service</title>\n<link href='http://alerts.weather.gov/cap/ak.atom'/>\n<entry>\n<id>http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8</id>\n<updated>2012-06-22T07:34:00-08:00</updated>\n<published>2012-06-22T07:34:00-08:00</published>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Red
45
- Flag Warning issued June 22 at 7:34AM AKDT until June 24 at 12:00AM AKDT by
46
- NWS</title>\n<link href=\"http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8\"/>\n<summary>...RED
47
- FLAG WARNING IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT SATURDAY NIGHT FOR
48
- LOW HUMIDITY FOR A PORTION OF THE NORTHERN INTERIOR... ...RED FLAG WARNING
49
- IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT SATURDAY NIGHT FOR LOW HUMIDITY...
50
- THE NATIONAL WEATHER SERVICE IN FAIRBANKS HAS ISSUED A RED FLAG</summary>\n<cap:event>Red
51
- Flag Warning</cap:event>\n<cap:effective>2012-06-22T07:34:00-08:00</cap:effective>\n<cap:expires>2012-06-22T23:45:00-08:00</cap:expires>\n<cap:status>Actual</cap:status>\n<cap:msgType>Alert</cap:msgType>\n<cap:category>Met</cap:category>\n<cap:urgency>Expected</cap:urgency>\n<cap:severity>Severe</cap:severity>\n<cap:certainty>Likely</cap:certainty>\n<cap:areaDesc>Yukon
52
- Flats and Surrounding Uplands</cap:areaDesc>\n<cap:geocode>\n<valueName>FIPS6</valueName>\n<value>002090
53
- 002290</value>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</cap:geocode>\n<cap:parameter>\n<valueName>VTEC</valueName>\n<value>/X.NEW.PAFG.FW.W.0011.120622T2000Z-120624T0800Z/</value>\n</cap:parameter>\n</entry>\n<entry>\n<id>http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b</id>\n<updated>2012-06-21T12:10:00-08:00</updated>\n<published>2012-06-21T12:10:00-08:00</published>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Special
54
- Weather Statement issued June 21 at 12:10PM AKDT by NWS</title>\n<link href=\"http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b\"/>\n<summary>...WIDESPREAD
55
- SNOWMELT AROUND SOUTHCENTRAL ALASKA RESULTING IN ELEVATED WATER LEVELS ON
56
- ALL AREA RIVERS... REASON FOR STATEMENT: WARM TEMPERATURES THIS WEEK HAVE
57
- CAUSED SOUTHCENTRAL RIVERS AND STREAMS TO BECOME SWOLLEN WITH SNOWMELT. A
58
- SIGNIFICANT SNOWPACK REMAINS IN THE UPPER ELEVATIONS DUE TO THE COOLER THAN
59
- NORMAL SPRING.</summary>\n<cap:event>Special Weather Statement</cap:event>\n<cap:effective>2012-06-21T12:10:00-08:00</cap:effective>\n<cap:expires>2012-06-23T16:00:00-08:00</cap:expires>\n<cap:status>Actual</cap:status>\n<cap:msgType>Alert</cap:msgType>\n<cap:category>Met</cap:category>\n<cap:urgency>Expected</cap:urgency>\n<cap:severity>Minor</cap:severity>\n<cap:certainty>Observed</cap:certainty>\n<cap:areaDesc>Anchorage;
60
- Copper River Basin; Matanuska Valley; Susitna Valley; Western Prince William
61
- Sound</cap:areaDesc>\n<cap:geocode>\n<valueName>FIPS6</valueName>\n<value>002020
62
- 002050 002068 002122 002170 002240 002261</value>\n<valueName>UGC</valueName>\n<value>AKZ101
63
- AKZ111 AKZ125 AKZ141 AKZ145</value>\n</cap:geocode>\n<cap:parameter>\n<valueName>VTEC</valueName>\n<value></value>\n</cap:parameter>\n</entry>\n</feed>\n"
64
- http_version:
65
- recorded_at: Fri, 22 Jun 2012 16:00:38 GMT
66
- - request:
67
- method: get
68
- uri: http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8
69
- body:
70
- encoding: US-ASCII
71
- string: ''
72
- headers: {}
73
- response:
74
- status:
75
- code: 200
76
- message: OK
77
- headers:
78
- Date:
79
- - Fri, 22 Jun 2012 16:00:38 GMT
80
- Server:
81
- - Apache/2.2.15 (Red Hat)
82
- Cache-Control:
83
- - max-age=90
84
- Expires:
85
- - Fri, 22 Jun 2012 16:02:08 GMT
86
- Content-Length:
87
- - '3289'
88
- Connection:
89
- - close
90
- Content-Type:
91
- - text/xml
92
- body:
93
- encoding: US-ASCII
94
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n<?xml-stylesheet
95
- href='http://alerts.weather.gov/cap/capatomproduct.xsl' type='text/xsl'?>\n\n<!--\nThis
96
- atom/xml feed is an index to active advisories, watches and warnings \nissued
97
- by the National Weather Service. This index file is not the complete \nCommon
98
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
99
- please follow the links for each entry in this index. Also note the \nCAP
100
- message uses a style sheet to convey the information in a human readable \nformat.
101
- \ Please view the source of the CAP message to see the complete data \nset.
102
- \ Not all information in the CAP message is contained in this index of \nactive
103
- alerts.\n-->\n\n<alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.1'>\n\n<!--
104
- http-date = Fri, 22 Jun 2012 03:34:00 GMT -->\n<identifier>NOAA-NWS-ALERTS-AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8</identifier>\n<sender>w-nws.webmaster@noaa.gov</sender>\n<sent>2012-06-22T07:34:00-08:00</sent>\n<status>Actual</status>\n<msgType>Alert</msgType>\n<scope>Public</scope>\n<note>Alert
105
- for Yukon Flats and Surrounding Uplands (Alaska) Issued by the National Weather
106
- Service</note>\n<references></references>\n<info>\n<category>Met</category>\n<event>Red
107
- Flag Warning</event>\n<urgency>Expected</urgency>\n<severity>Severe</severity>\n<certainty>Likely</certainty>\n<eventCode>\n<valueName>SAME</valueName>\n<value></value>\n</eventCode>\n<effective>2012-06-22T07:34:00-08:00</effective>\n<expires>2012-06-22T23:45:00-08:00</expires>\n<senderName>NWS
108
- Fairbanks (Northern Alaska - Fairbanks)</senderName>\n<headline>Red Flag Warning
109
- issued June 22 at 7:34AM AKDT until June 24 at 12:00AM AKDT by NWS Fairbanks</headline>\n<description>...RED
110
- FLAG WARNING IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT FOR
111
- LOW HUMIDITY\nFOR A PORTION OF THE NORTHERN INTERIOR...\n...RED FLAG WARNING
112
- IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT FOR LOW HUMIDITY...\nTHE
113
- NATIONAL WEATHER SERVICE IN FAIRBANKS HAS ISSUED A RED FLAG\nWARNING...WHICH
114
- IS IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT.\n* RELATIVE
115
- HUMIDITY...15 PERCENT OR LOWER IN SOME SPOTS\n* 20 FT WINDS...LGT AND VARIABLE\n*
116
- TIMING...LOWEST RH VALUES THIS AFTERNOON AND SATURDAY AFTERNOON.</description>\n<instruction>A
117
- RED FLAG WARNING MEANS THAT CONDITIONS ARE OCCURRING OR WILL\nOCCUR WHICH
118
- COULD LEAD TO THE DEVELOPMENT OF LARGE AND DANGEROUS\nFIRES. IT IS DIRECTED
119
- TOWARD FIRE AGENCIES...AND THROUGH THEM...\nTO THE PUBLIC.\nPLEASE ADVISE
120
- THE APPROPRIATE OFFICIALS OR FIRE CREWS IN THE\nFIELD OF THIS RED FLAG WARNING.</instruction>\n<parameter>\n<valueName>WMOHEADER</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</parameter>\n<parameter>\n<valueName>VTEC</valueName>\n<value>/X.NEW.PAFG.FW.W.0011.120622T2000Z-120624T0800Z/</value>\n</parameter>\n<parameter>\n<valueName>TIME...MOT...LOC</valueName>\n<value></value>\n</parameter>\n<area>\n<areaDesc>Yukon
121
- Flats and Surrounding Uplands</areaDesc>\n<polygon></polygon>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002090</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002290</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</geocode>\n</area>\n</info>\n</alert>"
122
- http_version:
123
- recorded_at: Fri, 22 Jun 2012 16:00:38 GMT
124
- - request:
125
- method: get
126
- uri: http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b
127
- body:
128
- encoding: US-ASCII
129
- string: ''
130
- headers: {}
131
- response:
132
- status:
133
- code: 200
134
- message: OK
135
- headers:
136
- Date:
137
- - Fri, 22 Jun 2012 16:00:39 GMT
138
- Server:
139
- - Apache/2.2.15 (Red Hat)
140
- Cache-Control:
141
- - max-age=90
142
- Expires:
143
- - Fri, 22 Jun 2012 16:02:09 GMT
144
- Content-Length:
145
- - '4223'
146
- Connection:
147
- - close
148
- Content-Type:
149
- - text/xml
150
- body:
151
- encoding: US-ASCII
152
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n<?xml-stylesheet
153
- href='http://alerts.weather.gov/cap/capatomproduct.xsl' type='text/xsl'?>\n\n<!--\nThis
154
- atom/xml feed is an index to active advisories, watches and warnings \nissued
155
- by the National Weather Service. This index file is not the complete \nCommon
156
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
157
- please follow the links for each entry in this index. Also note the \nCAP
158
- message uses a style sheet to convey the information in a human readable \nformat.
159
- \ Please view the source of the CAP message to see the complete data \nset.
160
- \ Not all information in the CAP message is contained in this index of \nactive
161
- alerts.\n-->\n\n<alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.1'>\n\n<!--
162
- http-date = Thu, 21 Jun 2012 08:10:00 GMT -->\n<identifier>NOAA-NWS-ALERTS-AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b</identifier>\n<sender>w-nws.webmaster@noaa.gov</sender>\n<sent>2012-06-21T12:10:00-08:00</sent>\n<status>Actual</status>\n<msgType>Alert</msgType>\n<scope>Public</scope>\n<note>Alert
163
- for Anchorage; Copper River Basin; Matanuska Valley; Susitna Valley; Western
164
- Prince William Sound (Alaska) Issued by the National Weather Service</note>\n<references></references>\n<info>\n<category>Met</category>\n<event>Special
165
- Weather Statement</event>\n<urgency>Expected</urgency>\n<severity>Minor</severity>\n<certainty>Observed</certainty>\n<eventCode>\n<valueName>SAME</valueName>\n<value></value>\n</eventCode>\n<effective>2012-06-21T12:10:00-08:00</effective>\n<expires>2012-06-23T16:00:00-08:00</expires>\n<senderName>NWS
166
- Anchorage (Southern Alaska - Anchorage)</senderName>\n<headline>Special Weather
167
- Statement issued June 21 at 12:10PM AKDT by NWS Anchorage</headline>\n<description>...WIDESPREAD
168
- SNOWMELT AROUND SOUTHCENTRAL ALASKA RESULTING IN\nELEVATED WATER LEVELS ON
169
- ALL AREA RIVERS...\nREASON FOR STATEMENT:\nWARM TEMPERATURES THIS WEEK HAVE
170
- CAUSED SOUTHCENTRAL RIVERS AND\nSTREAMS TO BECOME SWOLLEN WITH SNOWMELT. A
171
- SIGNIFICANT SNOWPACK\nREMAINS IN THE UPPER ELEVATIONS DUE TO THE COOLER THAN
172
- NORMAL SPRING.\nWARM TEMPERATURES AND HIGH FREEZING LEVELS WILL PERSIST THROUGH\nSATURDAY
173
- BEFORE A PATTERN CHANGE ON SUNDAY BRINGS A RETURN OF COOLER\nONSHORE FLOW.
174
- \ RIVER LEVELS WILL CONTINUE TO RISE AND LIKELY CREST\nTHIS WEEKEND. ISOLATED
175
- THUNDERSTORMS THURSDAY MAY CAUSE FURTHER\nRISES.\nEXPECTED IMPACTS:\nAT THIS
176
- TIME...FLOODING IS NOT EXPECTED ALTHOUGH SOME RIVERS AND\nSTREAMS MAY APPROACH
177
- BANKFULL OR EXPERIENCE VERY MINOR LOCAL FLOODING\nIN LOW LYING AREAS. WATER
178
- LEVELS WILL BE HIGH ENOUGH TO CAUSE LOCAL\nBANK EROSION ESPECIALLY ALONG THE
179
- MATANUSKA RIVER. RECREATIONAL\nENTHUSIASTS SHOULD EXERT CAUTION AND BE ALERT
180
- FOR HIGH WATER.\nWHETHER YOU ARE DRIVING OR WALKING...IF YOU COME TO A FLOODED\nROAD...TURN
181
- AROUND DON`T DROWN.</description>\n<instruction></instruction>\n<parameter>\n<valueName>WMOHEADER</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>UGC</valueName>\n<value>AKZ101-111-125-141-145</value>\n</parameter>\n<parameter>\n<valueName>VTEC</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>TIME...MOT...LOC</valueName>\n<value></value>\n</parameter>\n<area>\n<areaDesc>Anchorage;
182
- Copper River Basin; Matanuska Valley; Susitna Valley; Western Prince William
183
- Sound</areaDesc>\n<polygon></polygon>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002020</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002050</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002068</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002122</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002170</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002240</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002261</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ101</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ111</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ125</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ141</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ145</value>\n</geocode>\n</area>\n</info>\n</alert>"
184
- http_version:
185
- recorded_at: Fri, 22 Jun 2012 16:00:39 GMT
186
- recorded_with: VCR 2.2.2
@@ -1,186 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://alerts.weather.gov/cap/ak.php?x=0
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers: {}
10
- response:
11
- status:
12
- code: 200
13
- message: OK
14
- headers:
15
- Date:
16
- - Fri, 22 Jun 2012 16:00:37 GMT
17
- Server:
18
- - Apache/2.2.15 (Red Hat)
19
- Cache-Control:
20
- - max-age=90
21
- Expires:
22
- - Fri, 22 Jun 2012 16:02:07 GMT
23
- Content-Length:
24
- - '4473'
25
- Connection:
26
- - close
27
- Content-Type:
28
- - application/rss+xml
29
- body:
30
- encoding: US-ASCII
31
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n\n<!--\nThis
32
- atom/xml feed is an index to active advisories, watches and warnings \nissued
33
- by the National Weather Service. This index file is not the complete \nCommon
34
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
35
- please follow the links for each entry in this index. Also note the \nCAP
36
- message uses a style sheet to convey the information in a human readable \nformat.
37
- \ Please view the source of the CAP message to see the complete data \nset.
38
- \ Not all information in the CAP message is contained in this index of \nactive
39
- alerts.\n-->\n\n<feed\nxmlns = 'http://www.w3.org/2005/Atom'\nxmlns:cap =
40
- 'urn:oasis:names:tc:emergency:cap:1.1'\nxmlns:ha = 'http://www.alerting.net/namespace/index_1.0'\n>\n<!--
41
- http-date = Fri, 22 Jun 2012 03:34:00 GMT -->\n<id>http://alerts.weather.gov/cap/ak.atom</id>\n<logo>http://alerts.weather.gov/images/xml_logo.gif</logo>\n<generator>NWS
42
- CAP Server</generator>\n<updated>2012-06-22T07:34:00-08:00</updated>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Current
43
- Watches, Warnings and Advisories for Alaska Issued by the National Weather
44
- Service</title>\n<link href='http://alerts.weather.gov/cap/ak.atom'/>\n<entry>\n<id>http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8</id>\n<updated>2012-06-22T07:34:00-08:00</updated>\n<published>2012-06-22T07:34:00-08:00</published>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Red
45
- Flag Warning issued June 22 at 7:34AM AKDT until June 24 at 12:00AM AKDT by
46
- NWS</title>\n<link href=\"http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8\"/>\n<summary>...RED
47
- FLAG WARNING IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT SATURDAY NIGHT FOR
48
- LOW HUMIDITY FOR A PORTION OF THE NORTHERN INTERIOR... ...RED FLAG WARNING
49
- IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT SATURDAY NIGHT FOR LOW HUMIDITY...
50
- THE NATIONAL WEATHER SERVICE IN FAIRBANKS HAS ISSUED A RED FLAG</summary>\n<cap:event>Red
51
- Flag Warning</cap:event>\n<cap:effective>2012-06-22T07:34:00-08:00</cap:effective>\n<cap:expires>2012-06-22T23:45:00-08:00</cap:expires>\n<cap:status>Actual</cap:status>\n<cap:msgType>Alert</cap:msgType>\n<cap:category>Met</cap:category>\n<cap:urgency>Expected</cap:urgency>\n<cap:severity>Severe</cap:severity>\n<cap:certainty>Likely</cap:certainty>\n<cap:areaDesc>Yukon
52
- Flats and Surrounding Uplands</cap:areaDesc>\n<cap:geocode>\n<valueName>FIPS6</valueName>\n<value>002090
53
- 002290</value>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</cap:geocode>\n<cap:parameter>\n<valueName>VTEC</valueName>\n<value>/X.NEW.PAFG.FW.W.0011.120622T2000Z-120624T0800Z/</value>\n</cap:parameter>\n</entry>\n<entry>\n<id>http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b</id>\n<updated>2012-06-21T12:10:00-08:00</updated>\n<published>2012-06-21T12:10:00-08:00</published>\n<author>\n<name>w-nws.webmaster@noaa.gov</name>\n</author>\n<title>Special
54
- Weather Statement issued June 21 at 12:10PM AKDT by NWS</title>\n<link href=\"http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b\"/>\n<summary>...WIDESPREAD
55
- SNOWMELT AROUND SOUTHCENTRAL ALASKA RESULTING IN ELEVATED WATER LEVELS ON
56
- ALL AREA RIVERS... REASON FOR STATEMENT: WARM TEMPERATURES THIS WEEK HAVE
57
- CAUSED SOUTHCENTRAL RIVERS AND STREAMS TO BECOME SWOLLEN WITH SNOWMELT. A
58
- SIGNIFICANT SNOWPACK REMAINS IN THE UPPER ELEVATIONS DUE TO THE COOLER THAN
59
- NORMAL SPRING.</summary>\n<cap:event>Special Weather Statement</cap:event>\n<cap:effective>2012-06-21T12:10:00-08:00</cap:effective>\n<cap:expires>2012-06-23T16:00:00-08:00</cap:expires>\n<cap:status>Actual</cap:status>\n<cap:msgType>Alert</cap:msgType>\n<cap:category>Met</cap:category>\n<cap:urgency>Expected</cap:urgency>\n<cap:severity>Minor</cap:severity>\n<cap:certainty>Observed</cap:certainty>\n<cap:areaDesc>Anchorage;
60
- Copper River Basin; Matanuska Valley; Susitna Valley; Western Prince William
61
- Sound</cap:areaDesc>\n<cap:geocode>\n<valueName>FIPS6</valueName>\n<value>002020
62
- 002050 002068 002122 002170 002240 002261</value>\n<valueName>UGC</valueName>\n<value>AKZ101
63
- AKZ111 AKZ125 AKZ141 AKZ145</value>\n</cap:geocode>\n<cap:parameter>\n<valueName>VTEC</valueName>\n<value></value>\n</cap:parameter>\n</entry>\n</feed>\n"
64
- http_version:
65
- recorded_at: Fri, 22 Jun 2012 16:00:37 GMT
66
- - request:
67
- method: get
68
- uri: http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8
69
- body:
70
- encoding: US-ASCII
71
- string: ''
72
- headers: {}
73
- response:
74
- status:
75
- code: 200
76
- message: OK
77
- headers:
78
- Date:
79
- - Fri, 22 Jun 2012 16:00:37 GMT
80
- Server:
81
- - Apache/2.2.15 (Red Hat)
82
- Cache-Control:
83
- - max-age=90
84
- Expires:
85
- - Fri, 22 Jun 2012 16:02:07 GMT
86
- Content-Length:
87
- - '3289'
88
- Connection:
89
- - close
90
- Content-Type:
91
- - text/xml
92
- body:
93
- encoding: US-ASCII
94
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n<?xml-stylesheet
95
- href='http://alerts.weather.gov/cap/capatomproduct.xsl' type='text/xsl'?>\n\n<!--\nThis
96
- atom/xml feed is an index to active advisories, watches and warnings \nissued
97
- by the National Weather Service. This index file is not the complete \nCommon
98
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
99
- please follow the links for each entry in this index. Also note the \nCAP
100
- message uses a style sheet to convey the information in a human readable \nformat.
101
- \ Please view the source of the CAP message to see the complete data \nset.
102
- \ Not all information in the CAP message is contained in this index of \nactive
103
- alerts.\n-->\n\n<alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.1'>\n\n<!--
104
- http-date = Fri, 22 Jun 2012 03:34:00 GMT -->\n<identifier>NOAA-NWS-ALERTS-AK124CB2893EB8.RedFlagWarning.124CB2974CC4AK.AFGRFWAFG.0393624c451d3a4acbae46d523e5d5e8</identifier>\n<sender>w-nws.webmaster@noaa.gov</sender>\n<sent>2012-06-22T07:34:00-08:00</sent>\n<status>Actual</status>\n<msgType>Alert</msgType>\n<scope>Public</scope>\n<note>Alert
105
- for Yukon Flats and Surrounding Uplands (Alaska) Issued by the National Weather
106
- Service</note>\n<references></references>\n<info>\n<category>Met</category>\n<event>Red
107
- Flag Warning</event>\n<urgency>Expected</urgency>\n<severity>Severe</severity>\n<certainty>Likely</certainty>\n<eventCode>\n<valueName>SAME</valueName>\n<value></value>\n</eventCode>\n<effective>2012-06-22T07:34:00-08:00</effective>\n<expires>2012-06-22T23:45:00-08:00</expires>\n<senderName>NWS
108
- Fairbanks (Northern Alaska - Fairbanks)</senderName>\n<headline>Red Flag Warning
109
- issued June 22 at 7:34AM AKDT until June 24 at 12:00AM AKDT by NWS Fairbanks</headline>\n<description>...RED
110
- FLAG WARNING IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT FOR
111
- LOW HUMIDITY\nFOR A PORTION OF THE NORTHERN INTERIOR...\n...RED FLAG WARNING
112
- IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT FOR LOW HUMIDITY...\nTHE
113
- NATIONAL WEATHER SERVICE IN FAIRBANKS HAS ISSUED A RED FLAG\nWARNING...WHICH
114
- IS IN EFFECT FROM NOON TODAY TO MIDNIGHT AKDT\nSATURDAY NIGHT.\n* RELATIVE
115
- HUMIDITY...15 PERCENT OR LOWER IN SOME SPOTS\n* 20 FT WINDS...LGT AND VARIABLE\n*
116
- TIMING...LOWEST RH VALUES THIS AFTERNOON AND SATURDAY AFTERNOON.</description>\n<instruction>A
117
- RED FLAG WARNING MEANS THAT CONDITIONS ARE OCCURRING OR WILL\nOCCUR WHICH
118
- COULD LEAD TO THE DEVELOPMENT OF LARGE AND DANGEROUS\nFIRES. IT IS DIRECTED
119
- TOWARD FIRE AGENCIES...AND THROUGH THEM...\nTO THE PUBLIC.\nPLEASE ADVISE
120
- THE APPROPRIATE OFFICIALS OR FIRE CREWS IN THE\nFIELD OF THIS RED FLAG WARNING.</instruction>\n<parameter>\n<valueName>WMOHEADER</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</parameter>\n<parameter>\n<valueName>VTEC</valueName>\n<value>/X.NEW.PAFG.FW.W.0011.120622T2000Z-120624T0800Z/</value>\n</parameter>\n<parameter>\n<valueName>TIME...MOT...LOC</valueName>\n<value></value>\n</parameter>\n<area>\n<areaDesc>Yukon
121
- Flats and Surrounding Uplands</areaDesc>\n<polygon></polygon>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002090</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002290</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ220</value>\n</geocode>\n</area>\n</info>\n</alert>"
122
- http_version:
123
- recorded_at: Fri, 22 Jun 2012 16:00:37 GMT
124
- - request:
125
- method: get
126
- uri: http://alerts.weather.gov/cap/wwacapget.php?x=AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b
127
- body:
128
- encoding: US-ASCII
129
- string: ''
130
- headers: {}
131
- response:
132
- status:
133
- code: 200
134
- message: OK
135
- headers:
136
- Date:
137
- - Fri, 22 Jun 2012 16:00:38 GMT
138
- Server:
139
- - Apache/2.2.15 (Red Hat)
140
- Cache-Control:
141
- - max-age=90
142
- Expires:
143
- - Fri, 22 Jun 2012 16:02:08 GMT
144
- Content-Length:
145
- - '4223'
146
- Connection:
147
- - close
148
- Content-Type:
149
- - text/xml
150
- body:
151
- encoding: US-ASCII
152
- string: ! "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>\n<?xml-stylesheet
153
- href='http://alerts.weather.gov/cap/capatomproduct.xsl' type='text/xsl'?>\n\n<!--\nThis
154
- atom/xml feed is an index to active advisories, watches and warnings \nissued
155
- by the National Weather Service. This index file is not the complete \nCommon
156
- Alerting Protocol (CAP) alert message. To obtain the complete CAP \nalert,
157
- please follow the links for each entry in this index. Also note the \nCAP
158
- message uses a style sheet to convey the information in a human readable \nformat.
159
- \ Please view the source of the CAP message to see the complete data \nset.
160
- \ Not all information in the CAP message is contained in this index of \nactive
161
- alerts.\n-->\n\n<alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.1'>\n\n<!--
162
- http-date = Thu, 21 Jun 2012 08:10:00 GMT -->\n<identifier>NOAA-NWS-ALERTS-AK124CB27AB668.SpecialWeatherStatement.124CB2A56C00AK.AFCSPSAER.ad5cb657342cd6538fe3f951de13f78b</identifier>\n<sender>w-nws.webmaster@noaa.gov</sender>\n<sent>2012-06-21T12:10:00-08:00</sent>\n<status>Actual</status>\n<msgType>Alert</msgType>\n<scope>Public</scope>\n<note>Alert
163
- for Anchorage; Copper River Basin; Matanuska Valley; Susitna Valley; Western
164
- Prince William Sound (Alaska) Issued by the National Weather Service</note>\n<references></references>\n<info>\n<category>Met</category>\n<event>Special
165
- Weather Statement</event>\n<urgency>Expected</urgency>\n<severity>Minor</severity>\n<certainty>Observed</certainty>\n<eventCode>\n<valueName>SAME</valueName>\n<value></value>\n</eventCode>\n<effective>2012-06-21T12:10:00-08:00</effective>\n<expires>2012-06-23T16:00:00-08:00</expires>\n<senderName>NWS
166
- Anchorage (Southern Alaska - Anchorage)</senderName>\n<headline>Special Weather
167
- Statement issued June 21 at 12:10PM AKDT by NWS Anchorage</headline>\n<description>...WIDESPREAD
168
- SNOWMELT AROUND SOUTHCENTRAL ALASKA RESULTING IN\nELEVATED WATER LEVELS ON
169
- ALL AREA RIVERS...\nREASON FOR STATEMENT:\nWARM TEMPERATURES THIS WEEK HAVE
170
- CAUSED SOUTHCENTRAL RIVERS AND\nSTREAMS TO BECOME SWOLLEN WITH SNOWMELT. A
171
- SIGNIFICANT SNOWPACK\nREMAINS IN THE UPPER ELEVATIONS DUE TO THE COOLER THAN
172
- NORMAL SPRING.\nWARM TEMPERATURES AND HIGH FREEZING LEVELS WILL PERSIST THROUGH\nSATURDAY
173
- BEFORE A PATTERN CHANGE ON SUNDAY BRINGS A RETURN OF COOLER\nONSHORE FLOW.
174
- \ RIVER LEVELS WILL CONTINUE TO RISE AND LIKELY CREST\nTHIS WEEKEND. ISOLATED
175
- THUNDERSTORMS THURSDAY MAY CAUSE FURTHER\nRISES.\nEXPECTED IMPACTS:\nAT THIS
176
- TIME...FLOODING IS NOT EXPECTED ALTHOUGH SOME RIVERS AND\nSTREAMS MAY APPROACH
177
- BANKFULL OR EXPERIENCE VERY MINOR LOCAL FLOODING\nIN LOW LYING AREAS. WATER
178
- LEVELS WILL BE HIGH ENOUGH TO CAUSE LOCAL\nBANK EROSION ESPECIALLY ALONG THE
179
- MATANUSKA RIVER. RECREATIONAL\nENTHUSIASTS SHOULD EXERT CAUTION AND BE ALERT
180
- FOR HIGH WATER.\nWHETHER YOU ARE DRIVING OR WALKING...IF YOU COME TO A FLOODED\nROAD...TURN
181
- AROUND DON`T DROWN.</description>\n<instruction></instruction>\n<parameter>\n<valueName>WMOHEADER</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>UGC</valueName>\n<value>AKZ101-111-125-141-145</value>\n</parameter>\n<parameter>\n<valueName>VTEC</valueName>\n<value></value>\n</parameter>\n<parameter>\n<valueName>TIME...MOT...LOC</valueName>\n<value></value>\n</parameter>\n<area>\n<areaDesc>Anchorage;
182
- Copper River Basin; Matanuska Valley; Susitna Valley; Western Prince William
183
- Sound</areaDesc>\n<polygon></polygon>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002020</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002050</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002068</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002122</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002170</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002240</value>\n</geocode>\n<geocode>\n<valueName>FIPS6</valueName>\n<value>002261</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ101</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ111</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ125</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ141</value>\n</geocode>\n<geocode>\n<valueName>UGC</valueName>\n<value>AKZ145</value>\n</geocode>\n</area>\n</info>\n</alert>"
184
- http_version:
185
- recorded_at: Fri, 22 Jun 2012 16:00:38 GMT
186
- recorded_with: VCR 2.2.2