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

Calculate monthly raster data from just their names

I have 8-day modis raster images that go to daily data, the problem is that now I want to get the monthly accumulated in this case of evapotranspiration, I made a code and it works but I'm not sure that the result is correct. how can i check it? Or…
0
votes
2 answers

How to make the result of dates in the loop correlative?

I made a code to calculate daily data from MODIS 8-day data, as it is known the last data of the year is always divided by 5 or 6 and not by 8 depending on whether it is a leap year or not so I added it, the problem is the result because I have…
0
votes
1 answer

Fill pixel gaps in MYD13Q1 EVI with matching pixel from MOD13Q1 EVI raster in R

I'm working with monthly aggregates of MODIS EVI data from an area with a lot of cloud cover. Not many pixels are left after parsing for QA. To improve the number of pixels, I want to combine pixels from MYD13Q1.061 Aqua Vegetation Indices 16-Day…
Geo_CJ
  • 29
  • 6
0
votes
0 answers

Convert from "list" type to "ee.Image"

I want to add value to list to ee.Image. MODDAY_ext_lst <- select(MODDAY_ext, LST_Day_1km) print(MODDAY_ext_lst) class(MODDAY_ext_lst) Result: > class(MODDAY_ext_lst) [1] "data.frame" > typeof(MODDAY_ext_lst) [1] "list" cal_value <-…
edaasc
  • 3
  • 2
0
votes
0 answers

MODIStsp Data Download OS dependency Issue

I am downloading global data from tiles by NASA MODIS satellite using MODIStsp 2.0.9 in R. This would give me a single stitched TIFF file for the entire glob. I am getting difference in the resolution of the image when I run the same code in Windows…
Dev_Man
  • 847
  • 1
  • 10
  • 28
0
votes
1 answer

Extract values from netCDF to location by date

I am new to R and am now looking for a solution to my problem. I have a directory with files in .nc (netCDF) format that contain daily data on sea surface temperature. Each day during the period from December 1, 2019 to August 1, 2021 corresponds to…
Bowe22
  • 1
  • 1
0
votes
1 answer

Group raster files by week/month

I have downloaded AOD data ("MCD19A2") using the MODIStsp package for several years. library(raster) library(stars) The data I have extracted has the following format: MCD19A2_Optical_Depth_055_2011_001.tif MCD19A2_Optical_Depth_055_2011_002.tif…
Berta_94
  • 21
  • 3
0
votes
0 answers

How to convert a panel dataset to a multi-layer raster in R?

I wish to use the R package greenbrown to calculate phenology metrics such as Start of Season (SOS) or End of Season (EOS) of Kenya from NDVI values. I already have a panel dataset which includes one datapoint for each 0.5 x 0.5 degrees grid cell…
jotheta
  • 1
  • 1
0
votes
1 answer

Download MODIS data by MODIStsp package but different resolution

I downloaded MOD09A1 data by MODIStsp package. As we all know, the CRS of original MODIS data is Sinusoidal projection. And the resolution of MOD09A1 is 500m. However, the results are not 500m. I have tried different CRS parameter in MODIStsp GUI.…
jackywang
  • 75
  • 6
0
votes
0 answers

How to overcome the HTTP Error 500 with MODISTools

I have been using MODISTools , but have been facing HTTP Error : 500 as of today. The version of R that I have been using is R version 4.1.0 (2021-05-18) and version of my MODSITools is 1.1.1. Even mt_dates(product = "MOD11A2", lat = 40, lon =…
sarah
  • 1
  • 2
0
votes
1 answer

Using BFAST to show breakpoints

I am currently working with bfastSpatial, I am attempting to plot breakpoint values as a year colour based legend. I am aware of changeMonth function for plotting monthly based breakpoints (http://www.loicdutrieux.net/bfastSpatial/) however, I am…
0
votes
0 answers

MODISTools mt_subset() warning/error - A code that once worked now doesn't

I've been working on a project about air pollutants and vegetation index. About the vegetation index (VI), I'm using the MODISTools package for R, and with the mt_subset() function I'm downlowading the VI data from a NASA website. The complete…
0
votes
1 answer

R: raster() changes pixel size when converting from SpatialGridDF

I am using the following MODIS DSR 1km product to do some analysis: MCD18A1.A2001001.h15v05.061.2020097222704.hdf However, I am having trouble converting from SpatialGridDataFrame to Raster, since the pixel size changes... Here is my…
0
votes
1 answer

runGdal start date issue

Upon running the following line of code, the download is starting from 2019001 instead of 2015001. How can this be fixed? runGdal(product= "MOD13Q1",begin = "2015001",end = "2020366",tileH = h,tileV = v,SDSstring = B, job = "Quality",…
Ed_Gravy
  • 1,841
  • 2
  • 11
  • 34
0
votes
1 answer

What do values from 100 to 200 mean in MOD10A1 NDSI snow cover layer?

I am working with MODIS snow cover products (MOD10A1) and am unable to understand some of the values that are returned. I am trying to get % snow cover from the NDSI (normalised difference snow index) snow cover layer. The MODIS user manual states…
AWB
  • 13
  • 3