Hot answers tagged geotiff
I once wrote some functions to automate data download and processing of TRMM 3B42 binary data. downloadTRMM and rasterizeTRMM are included in our working group's Rsenal package. You can either install it via devtools devtools::install_github("environmentalinformatics-marburg/Rsenal") library(Rsenal) or, if installation fails (after all, it's a package in ...
As an alternative to Custom Maps mentioned below, I would suggest GeoViewer. It can do what you need. It can load MrSID and JPEG2000 formats from local storage and arrange them automatically. https://play.google.com/store/apps/details?id=com.lizardtech.activity
I was not aware of the Rsenal package. It looks very nice and easy. Will have to take a look. What I did here was Robert Hijmans code from r-sig-geo 1 require(raster) # trmm template trmm <- raster(xmn=-180, xmx=+180, ymn=-50, ymx=50, ncol=1440, nrow=400) filename <- "3B43.980101.7.precipitation.accum" trmm <- readBin(filename, 'double', ...
Try: red = np.array(red, dtype = float) nir = np.array(nir, dtype = float) Besides I think you mean: check = np.logical_or ( red > 0, nir > 0 )
Only top voted, non community-wiki answers of a minimum length are eligible