Retrieve satellite earth observation images easily with QGIS JAXA Earth API Plugin
Tags: qgis, satellite, climatechange, foss4g
Published: 2024-06-26 05:52:58

## Abstract



Climate is changing rapidly, and these changes must be monitored continuously, especially with satellite observations. 

The Japan Aerospace Exploration Agency (JAXA) publishes Earth observation images, such as temperature, precipitation amount, vegetation, etc., which can be retrieved using the JAXA Earth API.

This post describes how to retrieve georeferenced observation images using the JAXA Earth API plugin for QGIS.


![JAXA Earth API plugin overview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/be2wlzewt6aicu3ogswy.png)



## JAXA Earth API overview

JAXA Earth API is a satellite data distribution service, written in Python and javascript.
Description and available dataset are detailed in the official website : https://data.earth.jaxa.jp/

Observation images can be retrieved easily, but it would be better to overlay onto a basemap, that is why the use of a Geographic Information System (GIS) such as QGIS may be useful.

## The use of QGIS JAXA Earth API Plugin

QGIS is an Opensource GIS software, and we can gather and analyse geographic data easily.
QGIS is also customizable using python scripts or adding plugins on.
Here is a procedure to install QGIS JAXA Earth API Plugin and retrieve satellite data.

### 1. On QGIS and add OpenStreetMap basemap

- Open QGIS

Basemap should be used as background to show map context.
It can be added on QGIS as XYZ tile.

- On browser, right click on XYZ tiles
- New connection…
- Put a name to this connection and input `https://tile.openstreetmap.org/{z}/{x}/{y}.png` link as URL
- OK


![OSM basemap layer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/28a9filmsu15ju12ou76.png)

OpenStreetMap should be displayed on map canvas.

### 2. Install JAXA Earth API Plugin
- Menu -> Plugins -> Manage plugins...

![Plugin menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qrt66vwhi4y0cvi4r29k.png)

- On plugin manager, search for `JAXA` and install
![Install JAXA earth API Plugin](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ihgxt6c7qb01enyjbuaa.png)

Once plugin installed, JAXA Earth API icon should appear on tool bar
-  By clicking on plugin icon, plugin dialog should appear


![Plugin open](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zn300j6p6sw7lwmb0kv1.png)

### 3. Plugin use example

- 1. Choose target dataset (here precipitation rate monthly)
- 2. Choose target period
- 3. Choose target map extent
  - By clicking on `Map Canvas Extent` button, map current is set
  - Custom extent can also be set by clicking on `Draw on Canvas` button
- 4. Push `Launch` button to load data

![Plugin setting](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tdzw1grrpjvt4ce8by7f.png)

Dataset is loaded as one layer per month!

![Result](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8rzrk9jh71jl4xsqueeh.png)


## At last

- Regarding results, precipitation rate evolution can be checked monthly.
- Animation of this evolution can be made using [TimeManager](https://plugins.qgis.org/plugins/timemanager/) plugin

- If you see any bug or have an enhancement idea, feel free to put an issue here :
https://github.com/MIERUNE/qgis-jaxa-earth-plugin