oscarperpinan / meteoForecast

A package to access outputs from Numerical Weather Prediction models both in raster format and as a time series for a location
GNU General Public License v3.0
51 stars 25 forks source link

GFS service not working (no applicable method for index) #22

Closed pherreraariza closed 5 years ago

pherreraariza commented 6 years ago

Hi Oscar,

It seems there is a problem with GFS services and the retrieved indexes:

library(meteoForecast)

# Datos de temperatura de Madrid capital modelo GFS
gfs_temp_K <- getPointDays(c(-3.70325, 40.4167), start = "2018-09-23",
                        end = "2018-09-26", vars = "Temperature", service = "gfs")

The process (with several errors and tryCatch) completed at 100% progress, but then this error appears:

Error in UseMethod("index<-") : no applicable method for 'index<-' applied to an object of class "NULL"

oscarperpinan commented 6 years ago

Hi,

You are right. The NOMADS THREDDS server (used by the package) is not working anymore, but the new server is not accessible now. I will check it later again, and will fix the code accordingly.

Thanks,

Oscar.

oscarperpinan commented 5 years ago

Fixed. Sorry for the delay.