Hi all, I am trying to download daily temperature data from MODIS/061/MOD11A1 using the following script in R:
gee = connect(host = "https://earthengine.openeo.org")
login()
collections = list_collections()
formats = list_file_formats()
data3 <- p$load_collection(id = collections$'MODIS/061/MOD11A1',
spatial_extent= list("west" = 4.09, "south" = 50.73, "east" = 5.09, "north" = 51.25),
temporal_extent = list("2017-03-01", "2017-06-01"),
bands="LST_Day_1km")
result3 = p3$save_result(data=data3,format = formats$output$`GTIFF-THUMB`)
job_id3 = create_job(graph=result3, title="Daily Temperature Belgium Spring 2018", description="example")
start_job(job_id3)
result_obj = list_results(job_id3)
download_results(job = job_id3, folder = "OpenEO_download/.")
However, when I import the downloaded file, it only contains a single layer and not the temperatures for each day during the three specified months, as I would expect.
temperature <- raster("OpenEO_download/4330296c92fc2357.tif")
temperature
class : RasterLayer
dimensions : 521, 1000, 521000 (nrow, ncol, ncell)
resolution : 0.001, 0.001 (x, y)
extent : 4.09, 5.09, 50.7295, 51.2505 (xmin, xmax, ymin, ymax)
crs : +proj=longlat +datum=WGS84 +no_defs
source : 4330296c92fc2357.tif
names : X4330296c92fc2357
Does anybody have a clue? Thank you!