Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in erddap_data() when using disk() and error in query #90

Closed
sckott opened this issue Jan 11, 2015 · 0 comments
Closed

Error in erddap_data() when using disk() and error in query #90

sckott opened this issue Jan 11, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@sckott
Copy link
Contributor

sckott commented Jan 11, 2015

For example:

erddap_grid(ds, 
              time = c("2015-01-01", "2015-01-03"), 
              latitude = c(3.25, 3.75), 
              longitude = c(72.5, 73.25), 
              fields = "all")
Error: (404) - Resource not found: /erddap/griddap/noaa_pfeg_95de_54ab_a60a.csv (Currently unknown datasetID=noaa_pfeg_95de_54ab_a60a)
datasetID=noaa_pfeg_95de_54ab_a60a)
erddap_grid(ds, 
              time = c("2015-01-01", "2015-01-03"), 
              latitude = c(3.25, 3.75), 
              longitude = c(72.5, 73.25), 
              fields = "all")
Error in read.table(file = file, header = header, sep = sep, quote = quote,  : 
  no lines available in input
In addition: Warning message:
In readLines(file, skip) :
  incomplete final line found on '/Users/sacmac/.rnoaa/erddap/32862d88532a0065f73b694455bbdd4e.csv'

the file written is

<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.11 - Error report</title><style type="text/css">H1 {font-family:Tahoma  Arial   sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma Arial   sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma Arial   sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma   Arial   sans-serif;color:black;background-color:white;} B {font-family:Tahoma   Arial   sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma Arial   sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 404 - Resource not found: /erddap/griddap/noaa_pfeg_95de_54ab_a60a.csv (Currently unknown datasetID=noaa_pfeg_95de_54ab_a60a)</h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u>Resource not found: /erddap/griddap/noaa_pfeg_95de_54ab_a60a.csv (Currently unknown datasetID=noaa_pfeg_95de_54ab_a60a)</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><hr class="line"><h3>Apache Tomcat/8.0.11</h3></body></html>
@sckott sckott added the bug label Jan 11, 2015
@sckott sckott self-assigned this Jan 11, 2015
@sckott sckott added this to the v0.4 milestone Jan 11, 2015
@sckott sckott closed this as completed in ba265db May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant