Visualizing the vegetation dynamics in Africa

The Global Imagery Browse Services is an API provided by the NASA to access its vast collection of Earth Observation products.

It’s convenient to use the Worldview online data browser to get the right URL template. Just click on « Take a snapshot » and copy the URL. For example the following URL allows you to download a jpeg picture of the Terra MODIS NDVI in December 2002 over Africa:

https://wvs.earthdata.nasa.gov/api/v1/snapshot?REQUEST=GetSnapshot&TIME=2002-12-01T00:00:00Z&BBOX=-36.03751831054688,-18.663024902343757,37.77621459960939,52.163305664062506&CRS=EPSG:4326&LAYERS=Coastlines,MODIS_Terra_L3_NDVI_Monthly&WRAP=x,day&FORMAT=image/jpeg&WIDTH=806&HEIGHT=840

By looping on the « TIME » parameter (in a bash script using wget) you can get every monthly products from 2001 to 2020, and make this animation ( using ffmpeg). The « & » symbol in the end of the line sends the download requests in parallel (don’t abuse of it).

for yy in $(seq 2001 2020)
do
  for mm in 01 02 03 04 05 06 07 08 09 10 11 12
  do
   wget "https://wvs.earthdata.nasa.gov/api/v1/snapshot?REQUEST=GetSnapshot&BBOX=-36.03751831054688,-18.663024902343757,37.77621459960939,52.163305664062506&CRS=EPSG:4326&LAYERS=Coastlines,MODIS_Terra_L3_NDVI_Monthly&WRAP=x,day&FORMAT=image/jpeg&WIDTH=806&HEIGHT=840&TIME=$yy-$mm-01T00:00:00Z" -O $yy-$mm.jpg &
  done
done

 

You can also download the images as Geotiff if you wish to combine them with other geospatial data.

Each layer comes with a specific colormap that is consistent with the product. In addition you can download a stack of multiple layers with different opacities, for example you can overlay the MODIS « fire » layer on the « NDVI » layer.

https://wvs.earthdata.nasa.gov/api/v1/snapshot?REQUEST=GetSnapshot&TIME=2002-12-01T00:00:00Z&BBOX=-36.03751831054688,-18.663024902343757,37.77621459960939,52.163305664062506&CRS=EPSG:4326&LAYERS=Coastlines,MODIS_Terra_L3_NDVI_Monthly,MODIS_Terra_Thermal_Anomalies_All&WRAP=x,day,none&FORMAT=image/jpeg&WIDTH=806&HEIGHT=840&ts=1611574112018
https://wvs.earthdata.nasa.gov/api/v1/snapshot?REQUEST=GetSnapshot&TIME=2002-12-01T00:00:00Z&BBOX=-36.03751831054688,-18.663024902343757,37.77621459960939,52.163305664062506&CRS=EPSG:4326&LAYERS=Coastlines,MODIS_Terra_L3_NDVI_Monthly,MODIS_Terra_Thermal_Anomalies_All&WRAP=x,day,none&FORMAT=image/jpeg&WIDTH=806&HEIGHT=840&ts=1611574112018

Note: this article was updated on 25 Jan 2021.

 

Plus d'actualités

The missing link to valorize CESBIO’s applicative research works

=>  My colleagues at CESBIO are extremely creative! Over the past ten years, they have developed a wide range of new products and methods for extracting information from Copernicus data. They don’t just develop and validate the method on a few sites; they continue their work until they have produced data for the whole of […]

Le chaînon manquant dans la valorisation des travaux de recherche en télédétection

=> Mes collègues du CESBIO sont très créatifs ! Ils ont mis au point, au cours des dix dernières années, un grand nombre de nouveaux produits et de méthodes d’extraction de l’information à partir des données Copernicus (Sentinel-1 et 2). Et bien souvent, ils ne s’arrêtent pas à la mise au point de la méthode […]

Sentinel-2 overtakes Landsat in scientific litterature

OpenAlex is a new, yet already very useful, open database for exploring scientific literature. For an upcoming blog post on the CNES Datacampus website, I analysed the proportion of papers that used only one of the Sentinel-2 or Landsat missions, as well as those that used both, in 2025. What struck me was that Sentinel-2 […]

Rechercher