> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/ja/data/tilesets/llms.txt)

# Precipitation for Japan - 6 Hour Forecast

This tileset reference document includes information to help you use the data in the **Precipitation for Japan - 6 Hour Forecast** tileset.

> **Note (pricing): Japan Weather Layers**
> 
> This tileset is part of the [Mapbox Japan Weather Layers](https://docs.mapbox.com/ja/data/tilesets/guides/japan-weather-layers/). These tilesets provide weather and environmental data for Japan and have separate pricing from other Mapbox tilesets.
> 
> See the [Japan Weather Layers guide](https://docs.mapbox.com/ja/data/tilesets/guides/japan-weather-layers/) for more details.

## Overview

**Precipitation for Japan - 6 Hour Forecast** is a Mapbox-provided rasterarray tileset that includes short-term precipitation forecast data for Japan..

### Access this Tileset

Use this **Tileset URL** to add this tileset to your map style as a `raster-array` source:

```text
mapbox://mapbox.weather-jp-rain-1-6
```

Access this tileset's [TileJSON](https://docs.mapbox.com/help/ja/glossary/tilejson/):

```text
https://api.mapbox.com/v4/mapbox.weather-jp-rain-1-6.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN
```

Query this tileset at a specific location using the [Tilequery API](https://docs.mapbox.com/api/ja/maps/tilequery/):

```text
https://api.mapbox.com/v4/mapbox.weather-jp-rain-1-6/tilequery/{longitude},{latitude}.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN
```

### Data sources

The data supporting this tileset is sourced from the Japan Meteorological Agency (JMA). [JMA Source Data](https://www.jma.go.jp/jma/kishou/know/kurashi/kotan_nowcast.html).

## Layer reference

The Precipitation for Japan - 6 Hour Forecast `rasterarray` tileset contains the following layers:

### `precipitation`

Zoom Range: 0-8Spatial Resolution: 1kmTemporal Resolution: 6 bandsValues: precipitation in mmUpdate Frequency: 30 minutes

This layer shows precipitation forecast data for Japan covering the next 1-6 hours.

This layer contains multiple bands representing data over time. The `raster-array-band` can be used to specify the band to display, and can be changed at runtime to create time-based animations. If no `raster-array-band` property is specified in your style layer, the first (earliest) band will be used by default.

The band ids are Unix timestamps generated when the tileset is updated. Inspect the tileset's TileJSON to find band ids in the `raster_layers` field, or get the source at runtime to inspect the available bands.