遇见数据集

Python codes for "Regional Greening as a 'Positive' Tipping Phenomenon".

收藏
Zenodo2023-10-07 更新2026-05-26 收录
数据链接:
官方服务:

资源简介:

# Regional Greening as a 'Positive' Tipping Phenomenon ## Contents - [Overview](#overview)<br> - [Repo Contents](#repo-contents)<br> - [System Requirements](#system-requirements)<br> - [Installation Guide](#installation-guide)<br> - [Demo](#demo) # Overview The Python codes for our paper "Regional Greening as a 'Positive' Tipping Phenomenon". # Repo Contents<br> - [Code](./Code): main code for simulation and visualization<br> - [Tibet](Code/Tibet) : site percolation simulation and related analysis for Qinghai-Tibetan Plateau (QTP) area.<br> - [EVI_Percolation](Code/Tibet/EVI_Percolation):<br> fragment-size distribution exponent and<br> fractal dimensions for QTP<br> - [EVI_Percolation_Shuffle](Code/Tibet/EVI_Percolation_Shuffle): null models for QTP<br> - [EVI_Percolation_Snapshots](Code/Tibet/EVI_Percolation_Snapshots): correlation length and susceptibility for QTP<br> - [EVI_Percolation_Protection](Code/Tibet/EVI_Percolation_Protection): Optimal enhancing resilience model for QTP<br> - [EVI_Enhanced](Code/Tibet/EVI_Enhanced): Enhanced EVI Coverage for QTP<br> - [Sahel](Code/Sahel) site percolation simulation and related analysis for Sahel area.<br> - [EVI_Percolation](Code/Sahel/EVI_Percolation):<br> fragment-size distribution exponent and<br> fractal dimensions for Sahel<br> - [EVI_Percolation_Shuffle](Code/Sahel/EVI_Percolation_Shuffle): null models for Sahel<br> - [EVI_Percolation_Snapshots](Code/Sahel/EVI_Percolation_Snapshots): correlation length and susceptibility for Sahel<br> - [EVI_Percolation_Protection](Code/Sahel/EVI_Percolation_Protection): Optimal enhancing resilience model for Sahel<br> - [EVI_Enhanced](Code/Sahel/EVI_Enhanced): Enhanced EVI Coverage for Sahel<br> - [Plot_Figs](Code/Plot_Figs) : Draw the pictures<br> - [GEE_Data_Download_Script](./GEE_Data_Download_Script): scripts to download data from Google Earth Engine (GEE)<br> - [Shapefile](./Shapefile): shapefiles used to select the Sahel and Tibet regions in the study.<br> - [SRCJl](./SRCJl) and [SRCPy](./SRCPy) : custom function libraries. <br> # System Requirements <br> ## Software Requirements ### OS Requirements The package development version is tested on *Linux* operating systems. The developmental version of the package has been tested on the following systems: Linux: Ubuntu 22.04 # Installation Guide 1. Users should build Python (3.9) and Julia (1.9) environment first.<br> For Python, visit [https://www.anaconda.com/download](https://www.anaconda.com/download) to download and install the Anaconda distribution.<br> For Julia, go to [https://julialang.org/downloads/](https://julialang.org/downloads/) and download the Julia installer for your platform. Follow the installation instructions provided on these websites. 2. Compile the libraries.<br> ```<br> cd SRCJl\Flib\sitep<br> bash compile_site_percolation.sh<br> ``` # Prepare Data<br> 1. Download data from GEE by using the [GEE_Data_Download_Script](./GEE_Data_Download_Script) and [shapefile](./Shapefile).<br> 2. Place the data in the corresponding path:<br> - MODIS EVI V6 (QTP): [Code/Tibet/Data/Tibet_EVI_V6/Summer](Code/Tibet/Data/Tibet_EVI_V6/Summer/)<br> - MODIS EVI V6 (Sahel) : [Code/Sahel/Data/Sahel_EVI_V6/Summer](Code/Sahel/Data/Sahel_EVI_V6/Summer/)<br> - TerraClimate Summer precipitation (QTP) : [Code/Tibet/Data/Tibet_TerraClimate_pr_Summer](Code/Tibet/Data/Tibet_TerraClimate_pr_Summer)<br> - TerraClimate Summer precipitation (Sahel) : [Code/Tibet/Data/Sahel_TerraClimate_pr_Summer](Code/Sahel/Data/Tibet_TerraClimate_pr_Summer) # Demo<br> ```<br> cd Code/Sahel/EVI_Percolation<br> bash run_all.sh<br> ```<br> ```<br> cd Code/Tibet/EVI_Percolation_Shuffle<br> bash run_all.sh<br> ```<br> ```<br> cd Code/Tibet/EVI_Percolation_Snapshots<br> bash run_all.sh<br> ```<br> ```<br> cd Code/Tibet/EVI_Percolation_Protection<br> bash run_all.sh<br> ```<br> ```<br> cd ode/Tibet/EVI_Enhanced<br> bash run_all.sh<br> ```

# 区域绿化作为一种"正向"临界现象(Regional Greening as a 'Positive' Tipping Phenomenon) ## 目录 - [概述](#overview)<br> - [仓库内容](#repo-contents)<br> - [系统需求](#system-requirements)<br> - [安装指南](#installation-guide)<br> - [演示示例](#demo) # 概述 本仓库包含对应论文《区域绿化作为一种"正向"临界现象》的Python代码。 # 仓库内容 - [代码库](./Code):用于模拟与可视化的核心代码 - [青藏高原模块](./Code/Tibet):针对青藏高原(Qinghai-Tibetan Plateau, QTP)的位点渗流模拟及相关分析 - [EVI渗流分析](./Code/Tibet/EVI_Percolation):青藏高原的片段尺寸分布指数与分形维数计算 - [EVI渗流洗牌模型](./Code/Tibet/EVI_Percolation_Shuffle):针对青藏高原的零假设模型 - [EVI渗流快照分析](./Code/Tibet/EVI_Percolation_Snapshots):青藏高原的关联长度与磁化率计算 - [EVI渗流防护优化](./Code/Tibet/EVI_Percolation_Protection):针对青藏高原的最优韧性提升模型 - [增强型EVI覆盖](./Code/Tibet/EVI_Enhanced):青藏高原的增强型增强植被指数(Enhanced Vegetation Index, EVI)覆盖范围 - [萨赫勒模块](./Code/Sahel):针对萨赫勒(Sahel)区域的位点渗流模拟及相关分析 - [EVI渗流分析](./Code/Sahel/EVI_Percolation):萨赫勒区域的片段尺寸分布指数与分形维数计算 - [EVI渗流洗牌模型](./Code/Sahel/EVI_Percolation_Shuffle):针对萨赫勒区域的零假设模型 - [EVI渗流快照分析](./Code/Sahel/EVI_Percolation_Snapshots):萨赫勒区域的关联长度与磁化率计算 - [EVI渗流防护优化](./Code/Sahel/EVI_Percolation_Protection):针对萨赫勒区域的最优韧性提升模型 - [增强型EVI覆盖](./Code/Sahel/EVI_Enhanced):萨赫勒区域的增强型EVI覆盖范围 - [绘图脚本](./Code/Plot_Figs):用于生成研究图表的脚本 - [GEE数据下载脚本](./GEE_Data_Download_Script):从Google地球引擎(Google Earth Engine, GEE)下载数据的脚本 - [形状文件](./Shapefile):研究中用于筛选萨赫勒与青藏高原区域的地理信息矢量shapefile文件 - [SRCJl](./SRCJl) 与 [SRCPy](./SRCPy):自定义函数库 # 系统需求 ## 软件需求 ### 操作系统需求 本包的开发版本已在Linux操作系统上完成测试。已验证的开发系统如下: Linux: Ubuntu 22.04 # 安装指南 1. 用户需先搭建Python(3.9)与Julia(1.9)环境。对于Python环境,可访问[https://www.anaconda.com/download](https://www.anaconda.com/download) 下载并安装Anaconda发行版。对于Julia环境,请前往[https://julialang.org/downloads/](https://julialang.org/downloads/) 下载适配你平台的Julia安装包,并按照对应网站的安装指引完成安装。 2. 编译依赖库: cd SRCJlFlibsitep bash compile_site_percolation.sh # 数据准备 1. 使用[GEE数据下载脚本](./GEE_Data_Download_Script) 与[形状文件](./Shapefile) 从GEE下载数据。 2. 将下载的数据放置于对应路径: - MODIS增强植被指数第六版(MODIS EVI V6,青藏高原):[Code/Tibet/Data/Tibet_EVI_V6/Summer](Code/Tibet/Data/Tibet_EVI_V6/Summer/) - MODIS增强植被指数第六版(MODIS EVI V6,萨赫勒区域):[Code/Sahel/Data/Sahel_EVI_V6/Summer](Code/Sahel/Data/Sahel_EVI_V6/Summer/) - TerraClimate夏季降水数据(青藏高原):[Code/Tibet/Data/Tibet_TerraClimate_pr_Summer](Code/Tibet/Data/Tibet_TerraClimate_pr_Summer) - TerraClimate夏季降水数据(萨赫勒区域):[Code/Sahel/Data/Sahel_TerraClimate_pr_Summer](Code/Sahel/Data/Tibet_TerraClimate_pr_Summer) # 演示示例 cd Code/Sahel/EVI_Percolation bash run_all.sh cd Code/Tibet/EVI_Percolation_Shuffle bash run_all.sh cd Code/Tibet/EVI_Percolation_Snapshots bash run_all.sh cd Code/Tibet/EVI_Percolation_Protection bash run_all.sh cd ode/Tibet/EVI_Enhanced bash run_all.sh

提供机构:
Zenodo
创建时间:
2023-10-07
二维码
社区交流群
二维码
科研交流群
商业服务