日本語版のREADMEはこちら (Japanese version)
Data source:
National Land Numerical Information Download Site, Ministry of Land, Infrastructure, Transport and Tourism, Japan.
A reproducible R + Quarto project for processing climate mesh data in Japan and deriving additional climate indicators such as Potential Evapotranspiration (PET) and Aridity Index.
This repository documents a workflow based on:
- Japan Meteorological Agency: Mesh Climatology 2020
- MLIT National Land Numerical Information: Average Value Mesh Data
Main outputs include:
- Cleaned climate mesh dataset
- PET (Thornthwaite method)
- Aridity Index (
Precipitation / PET) - Utility function to retrieve nearest climate values from arbitrary coordinates
- Example map visualizations for Japan
The full documentation is available at:
-
English-first documentation is published from
docs/. -
Each English page includes a link to the corresponding Japanese page.
The site is served from /docs on the default branch.
index.qmd: English landing pageindex_ja.qmd: Japanese landing pagenotebooks/*.qmd: English chaptersnotebooks/*_ja.qmd: Japanese chaptersR/get_nearest_climate_value.R: nearest-neighbor utility function_quarto.yml: book/site configuration
git clone <your-repo-url>
cd japanese-climate-calculationrenv::restore()Set PROJECT_DATA_DIR in .Renviron (example):
PROJECT_DATA_DIR=/path/to/your/data/rootRender the Quarto book:
quarto renderGenerated files are written to docs/.
This repository does not redistribute source datasets. Please download required files from official sources and follow their terms of use.
- MLIT NLNI terms of use: https://nlftp.mlit.go.jp/ksj/other/agreement.html
When using derivatives from NLNI datasets, include required attribution per provider terms.
- Source comments and core documentation are maintained in English.
- Japanese companion pages are available for accessibility and continuity.
Issues and pull requests are welcome. Please keep code comments and error messages in English.
Code in this repository is licensed under the MIT License.
Documentation, text, and original figures are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0), unless otherwise noted.
Source climate and geospatial datasets are not redistributed in this repository and are not covered by these licenses. Please obtain the original datasets from the official providers and follow their terms of use.