{"action":"opened","issue":{"url":"https://api.github.com/repos/joeyates/metar-parser/issues/44","repository_url":"https://api.github.com/repos/joeyates/metar-parser","labels_url":"https://api.github.com/repos/joeyates/metar-parser/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/joeyates/metar-parser/issues/44/comments","events_url":"https://api.github.com/repos/joeyates/metar-parser/issues/44/events","html_url":"https://github.com/joeyates/metar-parser/issues/44","id":152064527,"number":44,"title":"NoMethodError when parsing density altitude","user":{"login":"douglasr","id":89418,"avatar_url":"https://avatars.githubusercontent.com/u/89418?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasr","html_url":"https://github.com/douglasr","followers_url":"https://api.github.com/users/douglasr/followers","following_url":"https://api.github.com/users/douglasr/following{/other_user}","gists_url":"https://api.github.com/users/douglasr/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasr/subscriptions","organizations_url":"https://api.github.com/users/douglasr/orgs","repos_url":"https://api.github.com/users/douglasr/repos","events_url":"https://api.github.com/users/douglasr/events{/privacy}","received_events_url":"https://api.github.com/users/douglasr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-01T02:26:49Z","updated_at":"2016-05-01T02:26:49Z","closed_at":null,"body":"NoMethodError is being raised when parsing a METAR with a density altitude, such as:\r\n\r\n`METAR CYBW 010000Z AUTO VRB04KT 9SM SCT070 13/M01 A3028 RMK SLP282 DENSITY ALT 4100FT=`\r\n\r\n```ruby\r\nNoMethodError: undefined method `[]' for nil:NilClass\r\n\tfrom .rvm/gems/ruby-2.2.1/bundler/gems/metar-parser-b3786bf13c39/lib/metar/data.rb:627:in `parse'\r\n```\r\n\r\nIf you remove the density altitude from the METAR then it is parsed as per normal."}}