datazoom.amazonia icon indicating copy to clipboard operation
datazoom.amazonia copied to clipboard

Mapbiomas: Error in utils

Open VictorHugoTerziani opened this issue 3 years ago • 0 comments

When running this line of code:

load_mapbiomas(dataset = "mapbiomas_transition", 
                      raw_data = FALSE,
                      language = "pt")

the following error message was returned

trying URL 'https://storage.googleapis.com/mapbiomas-public/COLECAO/5/DOWNLOADS/ESTATISTICAS/Dados_Transicao_MapBiomas_5.0_UF-MUN_SITE_v2.xlsx'
Content type 'application/octet-stream' length 353792661 bytes (337.4 MB)
downloaded 246.1 MB

Error in utils::download.file(url = path, destfile = temp, mode = "wb") : 
  download from 'https://storage.googleapis.com/mapbiomas-public/COLECAO/5/DOWNLOADS/ESTATISTICAS/Dados_Transicao_MapBiomas_5.0_UF-MUN_SITE_v2.xlsx' failed
In addition: Warning messages:
1: In utils::download.file(url = path, destfile = temp, mode = "wb") :
  downloaded length 258079567 != reported length 353792661
2: In utils::download.file(url = path, destfile = temp, mode = "wb") :
  URL 'https://storage.googleapis.com/mapbiomas-public/COLECAO/5/DOWNLOADS/ESTATISTICAS/Dados_Transicao_MapBiomas_5.0_UF-MUN_SITE_v2.xlsx': Timeout of 60 seconds was reached

VictorHugoTerziani avatar Sep 19 '22 20:09 VictorHugoTerziani