Questions tagged [r-modis]

MODIS is an R package providing functionality to access and process Moderate Resolution Imaging Spectroradiometer (MODIS) satellite images.

37 questions
0
votes
0 answers

how to change value 1 to NA

I have a problem, how to change the value of clouds that are red = 1, and not clouds = NA becomes clouds = NA and not clouds = 1 r1<-brick("001/110-05_2015001.ers") ggRGB(r1,r=2,g=3,b=1,stretch = "lin") cldmsk<- cloudMask(r1, blue = 1, tir =…
0
votes
1 answer

Reproject MODIS data using R (results in NAs or no spatial extent)

I am using GLASS albedo data stored here for pre-2000 (AVHRR) data and here for post-2000 data (MODIS). My end goal is to create a raster stack of each month that contains white sky albedo data from 1982-2015. The problem I have run into is that…
webbe
  • 130
  • 8
0
votes
0 answers

Why is "url.exist" showing url does not exist wrongly for a particular url in R?

I am using a R package for downloading MODIS data. It is giving error as the http address does not exist! Version may be incorrect OR Server is down! Interestingly version is correct, and I can excess the site which is a data repository that shows…
dsbisht
  • 1,025
  • 4
  • 13
  • 24
0
votes
1 answer

Working with conditionals in R

I have 3 rasters and I want to use them in a expression, but I can find different na values in the 3 rasters. For example: I can have a value in 2 rasters but in the 3 i have na,then in this case I cannot apply my expression. Follow my code: …
NNN
  • 25
  • 6
0
votes
1 answer

getTile("Philippines") for MODIS R package likely bug

Using R MODIS package from CRAN (version 1.1) Code: #Works# library(MODIS) getTile("Maldives") #Doesn't Work# getTile("Philippines") I get error: Error in createPolygonsComment(p) : rgeos_PolyCreateComment: orphaned hole, cannot find containing…
Neal Barsch
  • 2,810
  • 2
  • 13
  • 39
0
votes
0 answers

Download MODIS hdf using the MODIS package

I am trying to download MODIS data from the LAADS and LPDAAC server using the MODIS-package. I am quite inexperienced with these kind of functions, so any help is appreciated! My code looks like this at the moment: library(MODIS) …
Iris
  • 1
  • 2
-1
votes
1 answer

How to make a cycle that takes multiple rasters and mosaics them in R? And save them with an specific name

I have around of 2000 raster files of different parts of the wolrd. Some of them are from the same day, and other are from different days. I want to mosaic/merge all the files that are from the same day to create "pictures" (rasters) by day. All the…
Fet
  • 1
  • 1
1 2
3