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

# Wind for Japan - 40-78 Hour Forecast

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

> **Note (pricing): Japan Weather Layers**
> 
> This tileset is part of the [Mapbox Japan Weather Layers](https://docs.mapbox.com/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/data/tilesets/guides/japan-weather-layers/) for more details.

## Overview

**Wind for Japan - 40-78 Hour Forecast** is a Mapbox-provided rasterarray tileset that includes MSM wind speed and direction forecast data for Japan from JMA for time range 40-78 hours..

### 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-wind-40-78
```

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

```text
https://api.mapbox.com/v4/mapbox.weather-jp-wind-40-78.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN
```

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

```text
https://api.mapbox.com/v4/mapbox.weather-jp-wind-40-78/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.jmbsc.or.jp/jp/online/file/f-online10200.html).

## Layer reference

The Wind for Japan - 40-78 Hour Forecast `rasterarray` tileset contains the following layers:

### `winds`

Zoom Range: 0-6Spatial Resolution: 5kmTemporal Resolution: 39 bands, 1 hr incrementsValues: wind speed and directionUpdate Frequency: 3 hours

This layer shows wind speed and direction forecast data for Japan covering hours 40-78 with 39 time bands at 1-hour increments.

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.