当前位置: 首页 > news >正文

GEE图表:以全球生物多样性的数据集进行直方图表的构建

目录

简介

函数

ui.Chart.feature.histogram(features, property, maxBuckets, minBucketWidth, maxRaw)

Arguments:

Returns: ui.Chart

代码

结果


简介

ECOREGIONS/2017是一个关于全球生物多样性的数据集,由世界自然基金会(World Wildlife Fund)和美国环境保护署(U.S. Environmental Protection Agency)联合发布。该数据集将全球陆地划分为867个生态区域,以反映不同地理和环境条件下的生物多样性。

每个生态区域都具有独特的生物组成和生态系统特征,这些特征反映了该地区的气候、土壤、植被等因素对生物多样性的影响。ECOREGIONS/2017数据集使用了广泛的地理和生态数据源,包括陆地和水域的信息,以进行生态区划。

该数据集提供了各个生态区域的边界、名称以及详细的描述,包括主要的植被类型、动物群落、物种多样性等信息。此外,还提供了各个生态区域的面积、保护状况和关键的环境压力等指标。

ECOREGIONS/2017数据集的目的是帮助研究人员、保护管理者和决策者更好地了解全球生物多样性的分布和保护需求,以制定更有效的保护策略。该数据集可以用于生物多样性保护规划、环境管理、生态系统服务评估等方面的研究和决策支持。

函数

ui.Chart.feature.histogram(features, property, maxBucketsminBucketWidthmaxRaw)

Generates a Chart from a set of features. Computes and plots a histogram of the given property.

  • X-axis = Histogram buckets (of property value).

  • Y-axis = Frequency (i.e. the number of features whose value of property lands within the x-axis bucket bounds).

Returns a chart.

Arguments:

features (Feature|FeatureCollection|List<Feature>):

The features to include in the chart.

property (String):

The name of the property to generate the histogram for.

maxBuckets (Number, optional):

The maximum number of buckets to use when building a histogram; will be rounded up to a power of 2. Not used when the value of property is non-numeric.

minBucketWidth (Number, optional):

The minimum histogram bucket width, or null to allow any power of 2. Not used when property is non-numeric.

maxRaw (Number, optional):

The number of values to accumulate before building the initial histogram. Not used when property is non-numeric.

Returns: ui.Chart

代码

// 绘制世界生态区生物群落名称柱状图。var ecoregions = ee.FeatureCollection('RESOLVE/ECOREGIONS/2017');// 准备图表。 指定 minBucketWidth 可以获得较好的水桶尺寸。
var histogram =ui.Chart.feature.histogram({features: ecoregions, property: 'BIOME_NAME', minBucketWidth: 300}).setOptions({title: 'Histogram of Ecoregion Biomes'});print(histogram);Map.addLayer(ecoregions);
Map.setCenter(0, 0, 2);

结果


http://www.mrgr.cn/news/56283.html

相关文章:

  • 深入理解Spring框架几个重要扩展接口
  • 算法Day-7
  • Docker配置网站环境
  • ros2 action server示例、拓展、练习
  • Go 语言中格式化动词
  • vue中如何检测数组变化(vue基础,面试,源码级讲解)
  • 【算法刷题指南】双指针
  • YOLOv8-seg训练自己的分割数据集
  • Django项目实战-图书管理系统之项目搭建
  • OBOO鸥柏:引领液晶拼接大屏kvm集中控制系统的技术革新
  • 持续优化之路:Envoia许可证管理的轻松进阶
  • URL、URN和URI的区别
  • GJB438C-2021《软件需求规格说明》的一处修订
  • APIJSON 为零代码提供了新的思路
  • Python 应用可观测重磅上线:解决 LLM 应用落地的“最后一公里”问题
  • LeetCode 1750.删除字符串两端相同字符后的最短长度
  • 3.1.1ReactOS系统中搜索给定长度的空间地址区间函数的实现
  • 深度学习:Yolo系列 V1和V2的对比
  • Point2CAD: Reverse Engineering CAD Models from 3D Point Clouds 论文阅读
  • 【C++】用哈希桶模拟实现unordered_set和unordered_map
  • 【大模型】一个简单程序看透 RAG 的核心原理,理解优化 RAG 的关键要点
  • Redission分布式锁详解
  • YOLO目标检测理论详解,YOLOv1理论知识讲解,超w字精读(学习YOLO框架必备),全网最详细教程
  • 嵌入式 MCU 编程提速秘籍 —— 让你的程序飞起来!
  • 书生实战营第四期-第一关Linux+InternStudio
  • 肉桂酰辅酶A还原酶Cinnamoyl-CoA Reductases(CCR)表征及晶体-文献精读70