I want to export statistics from one of the MODIS ImageCollection to an image as I'm using these values on regular basis. The geometry associated with these datasets is the whole world meaning that on any of the images of the image collection I got:
image.geometry().coordinates().getInfo()
{'type': 'Polygon',
'coordinates': [[[-180, -90],
[180, -90],
[180, 90],
[-180, 90],
[-180, -90]]]}
Then when I try to export it no pixels are actually selected and my image becomes blank (the js version)
ndvi = ee.ImageCollection("MODIS/061/MOD13Q1").select("NDVI")
history = ndvi.filterDate("2000-01-01", "2019-01-01")
image = history.min().rename("min").addBands(history.max().rename("max"))
ee.batch.Export.image.toAsset(
image = image,
description = "min-max ndvi",
assetId = "projects/ldc-main-crop/assets/MODIS/MOD13Q1_NDVI",
region = image.geometry(),
scale = image.projection().nominalScale().getInfo()
)
Why can I not use the image geometry as an export region? How do I set an export parameter to keep the same footprint for my end image as the MODIS one I don't want to get a weird pole excluding -179,99999999999°, -89,999999999999°, I'm looking for the exact same footprint.