Skip to content

Package throws an error #1

@mladencucak

Description

@mladencucak

Hi is anyone maintaining this package? I am trying to use it to get some forecast data from NDFD but had no success so far...

`locs <- "48.2016,-122.2262 48.0109,-122.7746 48.1995,-122.6876 48.3565,-122.4219 48.0011,-122.4328 48.8837,-122.3214 48.9356,-122.5141 48.4385,-122.3857 48.9668,-122.3076 48.4974,-122.3785 48.0867,-123.059 47.9027,-122.1147 48.8661,-122.4762 47.7484,-122.1542"

my_query <- query_this(what = "multipoint", listLonLat = locs, element = 'temp')
x <- NDFD(my_query)
x
Response [https://graphical.weather.gov/xml/sample_products/browser_interface/ndfdXMLclient.php?whichClient=NDFDgenLatLonList&listLonLat=48.2016,-122.2262 48.0109,-122.7746 48.1995,-122.6876 48.3565,-122.4219 48.0011,-122.4328 48.8837,-122.3214 48.9356,-122.5141 48.4385,-122.3857 48.9668,-122.3076 48.4974,-122.3785 48.0867,-123.059 47.9027,-122.1147 48.8661,-122.4762 47.7484,-122.1542&product=time-series&begin=&end=&Unit=m&temp=temp]
Date: 2020-06-01 16:54
Status: 400
Content-Type: text/html; charset=iso-8859-1
Size: 298 B

<title>400 Bad Request</title>

Bad Request

Your browser sent a request that this server could not understand.


Apache Server at graphical.weather.gov Port 443 [1] "\n\n<title>400 Bad Request</title>\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\nApache Server at graphical.weather.gov Port 443\n\n" **Error in read_xml.raw(charToRaw(enc2utf8(x)), "UTF-8", ..., as_html = as_html, : Space required after the Public Identifier [65]** `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions