21 votes

Image collection to Single Image in Google Earth Engine

// UPDATE: The easiest way is now toBands(). var merged = MOD1.toBands(); // For completeness, this is the iterate() way: var mergeBands = function(image, previous) { return ee.Image(previous)....
Nicholas Clinton's user avatar
18 votes
Accepted

Google earth engine:SST by month per year

var sst = ee.ImageCollection('NASA/OCEANDATA/MODIS-Aqua/L3SMI') .select('sst') .filterDate(ee.Date('2013-01-01'), ee.Date('2017-12-31')) var months = ee.List.sequence(1, 12); var years = ee....
Nicholas Clinton's user avatar
10 votes
Accepted

Export data from time-series image collection to a table in Google Earth Engine

Here is a modification of the first example from this presentation about tables and vectors. Note that you can "transpose" the table if there are other properties in the points that are of interest: ...
Nicholas Clinton's user avatar
9 votes

MOD09A1 QC layer

This is a good question, naturally isn't obvious how to handle this kind of data. For example, the product State QA has 16 bits and there are single, double and triple bit flags combinations: For ...
aldo_tapia's user avatar
  • 13.6k
9 votes

Creating Cloud free images out of a MOD09A1 MODIS image in GEE?

I haven't actually worked with MODIS, but it looks like most other image collections in EE. The images contains a QA band, StateQA, with data about clouds/shadow/etc. The catalog contains a ...
Daniel Wiell's user avatar
  • 14.2k
8 votes
Accepted

Using MODIS sinusoidal projection

I have done this with MODIS rasters without problem before, in sinusoidal, you are right, should retain the area over other projections. That being said that is barely and as long as you are chopping ...
Neal Barsch's user avatar
8 votes
Accepted

Combine two collections (MOD13Q1 and MYD13Q1) from Google Earth Engine

My guess is you are trying to combine the two 16-day composites into a synthethic 8-day composite containing data from both Aqua and Terra (as has been proposed in many research papers). You can do ...
Kersten's user avatar
  • 9,909
8 votes

Merging two image collection into one with two bands (LST and NDVI )

You should show more effort and paste some code, what you have tried. But anyhow, I think this is what you want: // Collections var mod1 = ee.ImageCollection("MODIS/006/MOD11A2"); var mod2 = ee....
Rodrigo E. Principe's user avatar
8 votes

Earth Engine memory capacity exceeded

The error Earth Engine memory capacity exceeded. means that Earth Engine was unable to allocate memory while computing your request. It does not necessarily mean that your script inherently requires ...
Kevin Reid's user avatar
  • 10.4k
8 votes
Accepted

Making stack from many images in Google Earth Engine?

You just need the function 'toBands()' and apply that on the image collection. Unfortunately, the function cannot deal with similar band names (at least, for your MODIS collection: it works fine for ...
Kuik's user avatar
  • 10k
7 votes
Accepted

Spatial downscaling of MODIS LST grids using a covariate (e.g. NDVI): available software?

I have used a robust regression approach, for downscaling of climate data, with consistent success. The idea is that you treat the lower-resolution data as the dependent variable, as a sample or ...
Jeffrey Evans's user avatar
7 votes

Getting tile number of sinusoidal MODIS product from lat/long?

MODIS assumes the Earth is a sphere with a R = 6.3781e6 m radius. The world is subdivided into 18 vertical tiles and 36 horizontal tiles, each tile has 2400 cells of 500m x 500m. We can code this as: ...
renatoc's user avatar
  • 221
7 votes
Accepted

How big is a MODIS 250m pixel in reality?

Per https://lpdaac.usgs.gov/dataset_discovery/modis, the viewing swath width of MODIS is 2,330 km, thus a large portion of the image is off-nadir in some way. https://modis.gsfc.nasa.gov/about/...
SMiller's user avatar
  • 3,706
6 votes
Accepted

Parsing MODIS QA layers

Answer from LPDAAC: It goes from 0000 to 1111, with 0000 being the best and 1111 worst. For some reason the table on the product page wasn't complete. To understand what it means and how ...
DJack's user avatar
  • 458
6 votes
Accepted

How to tranform MODIS tiles into lat/long?

Projection of this kind of files is sinusoidal. For this one: ftp://ladsweb.nascom.nasa.gov/allData/6/MOD13Q1/2016/129/MOD13Q1.A2016129.h07v06.006.2016147112419.hdf the next code can access to ...
xunilk's user avatar
  • 29.9k
6 votes
Accepted

Adding timestamp to video export in Google Earth Engine

Here is a code that I found from an answer from google-earth-engine developers group by Gennadii Donchyts: https://code.earthengine.google.com/6270df443326ec0d90a18838bd91c5a5 Essentially, a package ...
shahryar's user avatar
  • 694
6 votes
Accepted

How to solve bitwise error in Google Earth Engine?

^ is not the exponent operator, ** is (^ is xor). See https://developers.google.com/earth-engine/image_math: Hence this line: var index = bands.expression('10.0 ^ (0.283 + (-2.753 * R) + (1.457 * R^...
Jesse Anderson's user avatar
5 votes

MODIS MOD11A1 Reproject Change Data Value

As mentioned in the files metadata, the modis source data has a scale factor of 0.02. QGIS applies it on-the-fly. But the reprojection with gdalwarp destroys the scale factor information, hence the ...
AndreJ's user avatar
  • 76.7k
5 votes

Reconstructing MODIS time-series applying Savitzky-Golay Filter with Python/Numpy

Based on the SG filter from scipy.signal I built the NDVI timeseries smoothing algorithm proposed in: A simple method for reconstructing a high quality NDVI time-series data set based on the ...
Pateheo's user avatar
  • 265
5 votes

How do MODIS products naming conventions work?

It represent from January 1st to January 16th. Here you got some information: From Agricultural and Forest Meteorology 161 (2012) 15–25 The day of year (DOY) for each MODIS image represents the ...
aldo_tapia's user avatar
  • 13.6k
5 votes

Timesat image output to ArcGIS

You need to create the header file (*.hdr) for each TIMESAT binary output. You can follow my hdr file below. ENVI description = {C:\timesat32\compiled\Win64\indonesia_all_rice_2000_2001_eos_s1} ...
user97103's user avatar
  • 537
5 votes

Landsat / MODIS spatio-temporal fusion: STARFM and software implementations

If you click the "Take me to the download..." button in the page you linked, it will eventually lead you to the download link for the full StarFM distribution. Upon extracting that file, you will ...
renatoc's user avatar
  • 221
5 votes
Accepted

Reclassifying NDWI using Google Earth Engine?

What about values equal to 0.4? .gt(): greater than .gte(): greater or equal than Then: // Reclassify each image in NDWI collection and calculate yearly composite var reclassified = NDWI.map(...
Rodrigo E. Principe's user avatar
5 votes
Accepted

Understanding measurement units for MODIS data?

MODIS data is produced and distributed as a large number of products, and occasionally it can happen that the same product is produced by various agencies, or even tools available from one single data ...
chryss's user avatar
  • 1,246
5 votes
Accepted

Download MODIS/MCD19A2 AOD product with R

This can be easily achieved using the MODIS package, version 1.1.3 or higher (previous versions didn't provide access to this product). library(MODIS) # set MODIS options (these can also be passed ...
fdetsch's user avatar
  • 5,183
5 votes

MODIS downloads using Python

Below are some resources related to AppEEARS that should help with some of the things you are trying to accomplish with MODIS data. Using the AppEEARS API, you can determine product availability, and ...
Cole Krehbiel's user avatar
5 votes

Why is this MODIS Output from Google Earth Engine Shifted?

This could be a GEE bug exporting to MODIS sinusoidal projection, I'm not sure. but, a fast workaround is to export to a different CRS: Export.image.toDrive({ image: vi, description: '...
aldo_tapia's user avatar
  • 13.6k
5 votes
Accepted

How do I run Panoply (from NASA GISS) on Windows 10?

You can download Java Runtime Environment 9 from Oracle Download page.
Kadir Şahbaz's user avatar
4 votes
Accepted

Cannot properly import MODIS MOD07_L2 .hdf files into R using rgdal

The answer is surprisingly simple. sgr_lst <- readGDAL(sds, as.is = TRUE) solves the issue. The only thing left to do then is transform the resulting SpatialGridDataFrame to a proper Raster* ...
fdetsch's user avatar
  • 5,183
4 votes
Accepted

NDVI values obtained with different sensors

As for your first question, the different sensors will return different NDVI values because of their different spectral and spatial characteristics. As towards your second question, there is ...
S_Carter's user avatar
  • 118

Only top scored, non community-wiki answers of a minimum length are eligible