rspatial / geodata

download geographic data
GNU General Public License v3.0
147 stars 15 forks source link

Server down for maintenance? #50

Closed Diegoo21 closed 11 months ago

Diegoo21 commented 1 year ago

Hi, we are trying to use the geodata package but when attempting to get worldclim data, the following error appears:

The geodata server is down for maintenance. It is expected to be back online on April 13, 2023.

It's past that date, so we're not sure what is going on.

Thanks!

krishnakeshav commented 1 year ago

I tried today and it seems to be working alright - > geodata::worldclim_country(country = "BRA", var = "tmax", path = tempdir())

trying URL 'https://geodata.ucdavis.edu/climate/worldclim/2_1/tiles/iso/BRA_wc2.1_30s_tmax.tif'
Content type 'image/tiff' length 119444109 bytes (113.9 MB)
==================================================
downloaded 113.9 MB

class       : SpatRaster 
dimensions  : 4740, 5460, 12  (nrow, ncol, nlyr)
resolution  : 0.008333333, 0.008333333  (x, y)
extent      : -74, -28.5, -34, 5.5  (xmin, xmax, ymin, ymax)
coord. ref. : lon/lat WGS 84 (EPSG:4326) 
source      : BRA_wc2.1_30s_tmax.tif 
names       : BRA_w~max_1, BRA_w~max_2, BRA_w~max_3, BRA_w~max_4, BRA_w~max_5, BRA_w~max_6, ... 
min values  :        -6.4,        -7.2,        -8.3,       -10.3,       -12.8,       -15.6, ... 
max values  :        36.3,        36.3,        36.6,        34.8,        34.0,        34.2, ... 
Diegoo21 commented 1 year ago

Any suggestions on what might be going on from our side? Several of us attempted it again yesterday, even reinstalling the package and still the same message:

geodata::worldclim_country(country = "BRA", var = "tmax", path = tempdir()) The geodata server is down for maintenance. It is expected to be back online on April 13, 2023. NULL

krishnakeshav commented 1 year ago

Can you try pasting this link in your browser - https://geodata.ucdavis.edu/climate/worldclim/2_1/tiles/iso/BRA_wc2.1_30s_tmax.tif See if you are able to download the tif file directly.

Diegoo21 commented 1 year ago

The direct download does work.

krishnakeshav commented 1 year ago

Just a theory - where are u located? The cloud storage might not be accessible from there.

Diegoo21 commented 1 year ago

We are at Brigham Young University in Provo, UT.

krishnakeshav commented 1 year ago

From the code, it seems to to the direct download. Here are some related issues, I found - #16 and #42 . Do check if any of those helps.

Diegoo21 commented 1 year ago

Reinstalled from github and it still doesn't work. I don't see any other suggested solutions on those threads. It seems like it should just eventually get fixed (?)

gteduarte16 commented 1 year ago

UPDATE Mine is working perfectly now. I used a different internet connection. I suspect conflict with the connection between the server and the network provider.

Reinstalled from github and it still doesn't work. I don't see any other suggested solutions on those threads. It seems like it should just eventually get fixed (?)

Following this thread as I have the same issue.