gjearevoll / BioDivMapping

A pipeline dedicated to analysing and visualising the biodiversity of different taxa in Norway
GNU General Public License v3.0
5 stars 3 forks source link

404 Error retrieving met temperature and precipitation data. #112

Closed RRTogunov closed 7 months ago

RRTogunov commented 7 months ago

errors: Error in download.file(focalURL, destfile = file_path) : cannot open URL 'https://thredds.met.no/thredds/fileServer/KSS/Gridded_climate_normals_1991-2020/precipitation/rr_normal_jja_1991-2020.nc'

Error in download.file(focalURL, destfile = file_path) : cannot open URL 'https://thredds.met.no/thredds/fileServer/KSS/Gridded_climate_normals_1991-2020/temperature/tm_normal_jja_1991-2020.nc'

These paths do not exist. I can browse up to https://thredds.met.no/thredds/, but there is no "fileServer" in that directory. No idea what the issue might be.

samaperrin commented 7 months ago

I don't know what's causing this either. May be that we need to instead use the same tactic as for the corine data, ie. "you don't have this file saved locally here's where to download it". That work for you?

samaperrin commented 7 months ago

Closed - was a matter of adding "wb" as an argument to download.file function