Convert geoTIF to ascii/text using R?
I'm trying to get time-series global estimates of net primary productivity from here, download them to a remote, US-based machine, machine (I am in Kenya with slow, cell phone internet), convert them from their current format to ascii, coarsen them using a function like this: coarsen = function(input,size_out){ if (dim(input)[1] != dim(input)[2]) {print("Matrix not square.")} else { dimsize = dim(input)[1] fac = dimsize/size_out x = suppressWarnings(matrix(c(rep(1, fac), rep(0, dimsize)), dimsize, dimsize/fac)) t(x) %*% input %*% x} } and then download them so that I can work with them. Is thi
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.