数据介绍:
SoilGrids,是一个全球土壤属性地图,现在可以通过GEE下载。
SoilGrids是ISRIC–世界土壤信息的一个项目,旨在提供一个全球一致的、由数据驱动的系统,以预测土壤性质,并将其作为一项重要指标。该项目旨在提供一个全球一致的、由数据驱动的系统,使用全球协变量和全球拟合的模型预测土壤属性和类别,并采用数字土壤测绘方法。数据使用全球协变量和全球拟合的模型,通过基于量化随机森林的数字土壤地图方法来预测土壤属性和类别。
SoilGrids提供了六个不同深度的十种不同的土壤属性地图
分别是
sand_0-5cm
sand_5-15cm
sand_15-30cm
sand_30-60cm
sand_60-100cm
sand_100-200cm
今天以均值为例,下载全球土壤砂粒(Sand)含量数据
实现代码
var dataset = ee.Image("projects/soilgrids-isric/sand_mean"),//数据集
roi = ee.FeatureCollection("users/lilei655123/shanxi");
var Sand=dataset.clip(roi)
var visualization = {
bands: ['sand_0-5cm_mean'],
min: 2.0,
max: 1000.0,
palette: [
"FFFF00","F8F806","F1F10C","EBEB13","E4E419","DDDD20",
"D7D726","D0D02D","CACA33","C3C33A","BCBC41","B6B647",
"B0B04E","A9A954","A3A35A","9C9C61","959568","8F8F6E",
"898975","82827B","7B7B82","757589","6E6E8F","686895",
"61619C","5A5AA3","5454A9","4D4DB0","4747B6","4141BC",
"3A3AC3","3333CA","2D2DD0","2626D7","2020DD","1919E4",
"1212EB","0C0CF1","0606F8","0000FF",
]
};
Map.centerObject(roi,7)
var styling = {color:"red",fillColor:"00000000"};
Map.addLayer(roi.style(styling),{},"geometry")
Map.addLayer(Sand, visualization, "Sand content in % (g / kg)");
print(Sand)
var division_Sand = Sand.divide(10);
Map.addLayer(division_Sand, visualization, "Sand%");
Export.image.toDrive({
image: division_Sand,//
description: 'Sand',//
scale: 30,//
region:roi,//
maxPixels:1e13,
crs:'EPSG:4326',
folder:'Sand',
fileFormat: 'GeoTIFF',
});
结果以及下载遇到的问题:
问题:下载后的数据导出arcgis中没有坐标系
解决方案:在导出函数中添加坐标系 crs:‘EPSG:4326’,
结果显示:
完整代码请在公众号后台私信“1005下载全球Sand含量数据”
公众号名称与博客名称一致
感谢关注,欢迎转发!
声明:仅供学习使用!文章来源:https://www.toymoban.com/news/detail-479222.html
希望关注的朋友们转发,如果对你有帮助的话记得给小编点个赞或者在看!文章来源地址https://www.toymoban.com/news/detail-479222.html
到了这里,关于Google Earth Engine(GEE)下载全球土壤砂粒(Sand)含量数据的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!