Bom dia, pessoal
Estou tentando rodar o seguinte codigo:
###
year.ini<- 2010 #ano inicial
year.end<- 2013 # ano final
sep = year.end, '&p=toa_dwn&p=swv_dwn&p=lwv_dwn&p=T2M&p=T2MN&p=T2MX&p=RH2M&p=DFP2M&p=RAIN&p=WS10M&submit=Submit')
download.file(url, "data.txt", method = "auto", quiet = FALSE, mode = "w", cacheOK = TRUE)
###
entretanto, se a diferenca entre os anos (inicial e final) for >8, aparece a seguinte msg:
"Error in download.file(url.a, "data.txt", method = "auto", quiet = FALSE, :
In addition: Warning message:
In download.file(url.a, "data.txt", method = "auto", quiet = FALSE, :
InternetOpenUrl failed: 'O tempo limite da operação foi atingido' "
Por outro lado, se forem poucos anos, esta rodando normalmente.
Alguem saberia como resolver esse problema?
Obrigado,
--
Leonardo Amaral Monteiro - Agronomist
MSc in Agrometeorology
PhD Student in Engineering Agricultural Systems
Sao Paulo University - College of Agriculture "Luiz de Queiroz" - Brazil
Landscape System Analysis - ZALF Institute, Müncheberg - Germany
======================================================
Mestre em Agrometeorologia
Doutorando em Engenharia de Sistemas Agrícolas
Universidade de Sao Paulo - Escola Superior de Agricultura "Luiz de Queiroz"
Landscape System Analysis - Instituto ZALF - Müncheberg - Alemanha
======================================================
Phone: +55 19 34294123 - R. 236