-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with krigR() Pipeline usage when dowloading GMTED2010 #12
Comments
Hi Javier, That being said, you made me aware of an oversight. A few things I have noticed in your code that I think I should clarify:
Lastly, just as a personal note, I somewhat doubt that interpolation of evaporation from vegetation transpiration will be aided greatly by considering elevation for interpolation. You might want to use other covariates and follow the three-step process with |
HI Erik, I have updated the package and tried it again. You have to make sure to delete the incomplete created folder (GMTED2010) otherwise the process fail again.
as you request, my extent object is:
And, you are right about the selected variables, i was just trying to make it work to then worry about real life. But thanks for the comment. thanks! |
Hey Javier, I can reproduce this issue - thanks for providing your extent specification. I am doing some troubleshooting, but CDS is a bit slow today in providing the actual downloads. I'll get back to you. Just wanted to let you know that I am working on it. I have tracked down the problem to CDS NETCDF, despite being queried with the correct extent, once downloaded reports the x-vlaues as 360-x-extent, respectively. Thus, in the download, -56.6 turns into 303.4. I have no idea why that is happening and I have never encountered this before. Again, sorry for not having more of a solution at this point, but rest assured that I'm on it and will come back to you as soon as I find a solution. Have you gotten the downloads for your chosen extent to work with other variables? EDIT: For clarification, I could not reproduce this error with the extent I used above so I highly suspect this to be an Extent-specific issue. Still troubleshooting. Cheers, |
Hej Javier, It took quite a bit of testing on my end, but I believe I have figured it out. The problem you were experiencing is one that occurs only for select variables like So what is the issue? For a select few variables, including The data is correct. Only the extents are muddled - I conclude that from testing with areas that have recognisable coastlines and overlaying products where this issue is present with products where it isn't present. This confuses the Here's what you came for, though: I fixed itTo do so, I have also submitted a support ticket to ECMWF CDS to make them aware and hopefully resolve this server-side. The way my solution is coded, a fix server-side will not break the new Simply reinstall and you are good to go. Thanks for bringing this up (it was actually a lot of fun figuring this one out and implementing a fix). Cheers, |
Implement the fix found here also for the new |
hi,
had been watching and trying your workshop, great material!
When i use the 3 steps everything works fine, but when i try to use krigR() i found troubles.
I have tried,
add cores, change Source to "Drive", change nmax to lesser value.
Still the process of download fails with different percentage
Downloading GMTED2010 covariate data. |======================= | 34%Error in curl::curl_fetch_disk(url, x$path, handle = handle) : transfer closed with 182325606 bytes remaining to read
I'm using a small Extent so shouldn't be that, also this error shows rapidly, some 2-3 minutes after execution.
my code
Pipe_Krig <- krigR( Variable = "evaporation_from_vegetation_transpiration", Type = "reanalysis", DataSet = "era5-land", DateStart = "2019-04-15", DateStop = "2019-04-20", TResolution = "day", TStep = 1, Extent = Extent, API_User = API_User, API_Key = API_Key, Target_res = .08, Cores = 4, FileName = "papa_evapo_Pipe.nc", Dir = Dir.papa, Keep_Temporary = FALSE, nmax=12, Source = "Drive" )
perhaps you con find something to help me,
thanks!!
Javier
The text was updated successfully, but these errors were encountered: