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

翔云白云手机网站建设推广赚钱一个2元

翔云白云手机网站建设,推广赚钱一个2元,灰色关键词排名方法,易语言可以做网站了吗GEE开发之降雨CHIRPS数据获取和分析1.数据介绍2.初识CHIRPS2.1 代码一2.2 代码二3.逐日数据分析和获取4.逐月数据分析和获取4.1 代码一4.2 代码二(简洁)5.逐年数据分析和获取5.1 代码一5.2 代码二(简洁)前言:主要获取和分析UCSB-CHG/CHIRPS/DAILY的日数据、月数据和…

GEE开发之降雨CHIRPS数据获取和分析

  • 1.数据介绍
  • 2.初识CHIRPS
    • 2.1 代码一
    • 2.2 代码二
  • 3.逐日数据分析和获取
  • 4.逐月数据分析和获取
    • 4.1 代码一
    • 4.2 代码二(简洁)
  • 5.逐年数据分析和获取
    • 5.1 代码一
    • 5.2 代码二(简洁)

前言:主要获取和分析UCSB-CHG/CHIRPS/DAILY的日数据、月数据和年数据。


1.数据介绍

  • 数据集: CHIRPS Daily: Climate Hazards Group InfraRed Precipitation With Station Data (Version 2.0 Final)
  • 数据说明: Climate Hazards Group InfraRed Precipitation with Station data (CHIRPS) 是一个记录了1981年到当前全球降雨量的数据集。CHIRPS将0.05°分辨率的卫星图像与in-situ站点数据结合,创建网格化的降雨时间序列,用于趋势分析和季节性干旱监测。

2.初识CHIRPS

2.1 代码一

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
var dataset = ee.ImageCollection('UCSB-CHG/CHIRPS/DAILY')
.filterDate('2020-01-01', '2020-12-31')
.filterBounds(geometry)
.select('precipitation');
print(dataset)

在这里插入图片描述

2.2 代码二

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
Map.centerObject(geometry,7);
var dataset = ee.ImageCollection('UCSB-CHG/CHIRPS/DAILY')
.filterDate('2020-01-01', '2020-12-31')
.filterBounds(geometry)
.select('precipitation');
var precipitationVis = {min: 1.0,max: 17.0,palette: ['001137', '0aab1e', 'e7eb05', 'ff4a2d', 'e90000'],
};
Map.addLayer(dataset.mean().clip(geometry), precipitationVis, 'pre');

在这里插入图片描述

3.逐日数据分析和获取

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
Map.centerObject(geometry,7);
var dataset = ee.ImageCollection('UCSB-CHG/CHIRPS/DAILY')
.filterDate('2020-05-01', '2020-05-31')
.filterBounds(geometry)
.select('precipitation');
print(ui.Chart.image.series(dataset, geometry, ee.Reducer.mean(), 1000));
function exportImageCollection(imgCol) {var indexList = imgCol.reduceColumns(ee.Reducer.toList(), ["system:index"]).get("list");indexList.evaluate(function(indexs) {for (var i=0; i<indexs.length; i++) {var image = imgCol.filter(ee.Filter.eq("system:index", indexs[i])).first();image = image.clip(geometry);//tif数据下载Export.image.toDrive({image: image,description: 'pre_'+indexs[i],fileNamePrefix: 'pre_'+indexs[i],folder: 'pre',region: geometry,scale: 1000,crs: "EPSG:4326",maxPixels: 1e13});}});
}
exportImageCollection(dataset);

在这里插入图片描述
在这里插入图片描述

4.逐月数据分析和获取

4.1 代码一

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
var dataset = ee.ImageCollection('UCSB-CHG/CHIRPS/DAILY').filterBounds(geometry).select('precipitation');
//时间范围
var years = ee.List.sequence(2020, 2020);
var months = ee.List.sequence(1, 12);//将逐日数据生成月平均数据
var monthlysum =  ee.ImageCollection.fromImages(years.map(function (y) {return months.map(function(m) {return dataset.filter(ee.Filter.calendarRange(y,y, 'year')).filter(ee.Filter.calendarRange(m, m, 'month')).sum().set('year', y).set('month', m).set('system:time_start', ee.Date.fromYMD(y, m, 1));});}).flatten());print(monthlysum);
print(ui.Chart.image.series(monthlysum, geometry, ee.Reducer.mean(), 1000));function exportImageCollection(imgCol) {var indexList = imgCol.reduceColumns(ee.Reducer.toList(), ["system:index"]).get("list");indexList.evaluate(function(indexs) {for (var i=0; i<indexs.length; i++) {var image = imgCol.filter(ee.Filter.eq("system:index", indexs[i])).first();image = image.clip(geometry);//tif数据下载Export.image.toDrive({image: image,description: 'pre_2020_'+indexs[i],fileNamePrefix: 'pre_2020_'+indexs[i],folder: 'pre',region: geometry,scale: 1000,crs: "EPSG:4326",maxPixels: 1e13});}});
}
exportImageCollection(monthlysum);

在这里插入图片描述
在这里插入图片描述

4.2 代码二(简洁)

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
Map.centerObject(geometry,6);
var dataset =ee.ImageCollection("UCSB-CHG/CHIRPS/DAILY");
for(var i=2018;i<=2020;i++){for(var j=1;j<=12;j++){var data_collection = null;switch(j){case 1:case 3:case 5:case 7:case 8:case 10:case 12:data_collection = dataset.filterDate(i+'-'+j+'-01',i+'-'+j+'-31').select('precipitation');break;case 4:case 6:case 9:case 11:data_collection = dataset.filterDate(i+'-'+j+'-01',i+'-'+j+'-30').select('precipitation');break;case 2:data_collection = dataset.filterDate(i+'-'+j+'-01',i+'-'+j+'-28').select('precipitation');break;}var YR_collection = data_collection.sum().clip(geometry);Export.image.toDrive({image: YR_collection,description: i+'-'+j,fileNamePrefix: i+'-'+j,scale: 1000,region: geometry,maxPixels: 1e13,folder: 'pre'})}
}

在这里插入图片描述

5.逐年数据分析和获取

5.1 代码一

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
// 选择数据集并进行波段比例换算
var collection = ee.ImageCollection("UCSB-CHG/CHIRPS/DAILY").filterDate('2000-01-01', '2020-12-31').select("precipitation");//进行年平均值的计算
var years = ee.List.sequence(2000, 2020);
var collectYear = ee.ImageCollection(years.map(function(y) {var start = ee.Date.fromYMD(y, 1, 1);var end = start.advance(12, 'month');return collection.filterDate(start, end).reduce(ee.Reducer.sum()).float().set('system:time_start',y).set('year',y);
}));
print(collectYear);
//年均值的时间序列展示
var Yearly_chart = ui.Chart.image.series({imageCollection: collectYear.select('precipitation_sum'),region: geometry,reducer: ee.Reducer.mean(),scale: 500,xProperty: 'year',}).setOptions({interpolateNulls: true,lineWidth: 2,title: 'pre Yearly Seires',vAxis: {title: 'pre'},hAxis: {title: 'Date'},});
print(Yearly_chart);function exportImageCollection(imgCol) {var indexList = imgCol.reduceColumns(ee.Reducer.toList(), ["system:index"]).get("list");indexList.evaluate(function(indexs) {for (var i=0; i<indexs.length; i++) {var image = imgCol.filter(ee.Filter.eq("system:index", indexs[i])).first();image = image.clip(geometry);//tif数据下载Export.image.toDrive({image: image,description: 'pre_'+indexs[i],fileNamePrefix: 'pre_'+indexs[i],folder: 'pre',region: geometry,scale: 1000,crs: "EPSG:4326",maxPixels: 1e13});}});
}
exportImageCollection(collectYear);

在这里插入图片描述
在这里插入图片描述

5.2 代码二(简洁)

var geometry = ee.FeatureCollection('users/www1573979951/luyixian');
Map.centerObject(geometry,6);
var dataset =ee.ImageCollection("UCSB-CHG/CHIRPS/DAILY");for(var i=2018;i<=2020;i++){var data_collection = dataset.filterDate(i+'-01-01',i+'-12-31').select('precipitation');print(data_collection)var YR_collection = data_collection.sum().clip(geometry);Export.image.toDrive({image: YR_collection,description: i,fileNamePrefix: i,scale: 1000,region: geometry,maxPixels: 1e13,folder: 'pre'});
}

在这里插入图片描述


文章转载自:
http://dinncochiefy.stkw.cn
http://dinncoplatiniferous.stkw.cn
http://dinncoherman.stkw.cn
http://dinncocyberworld.stkw.cn
http://dinncohawksbill.stkw.cn
http://dinncopotential.stkw.cn
http://dinncosmf.stkw.cn
http://dinncopostwoman.stkw.cn
http://dinncogermanophile.stkw.cn
http://dinncosandcastle.stkw.cn
http://dinnconacrite.stkw.cn
http://dinncoexpendable.stkw.cn
http://dinncoimportability.stkw.cn
http://dinncosombre.stkw.cn
http://dinncogrounding.stkw.cn
http://dinncoarchitectonic.stkw.cn
http://dinncoilly.stkw.cn
http://dinncosparry.stkw.cn
http://dinncobroadwife.stkw.cn
http://dinncozeus.stkw.cn
http://dinncolondon.stkw.cn
http://dinncocryptocrystalline.stkw.cn
http://dinncosleepiness.stkw.cn
http://dinncofinical.stkw.cn
http://dinncoinquiet.stkw.cn
http://dinncogreet.stkw.cn
http://dinncohorsefeathers.stkw.cn
http://dinncoallobar.stkw.cn
http://dinncoremissive.stkw.cn
http://dinncomulloway.stkw.cn
http://dinncodiscerptible.stkw.cn
http://dinncovelutinous.stkw.cn
http://dinncoreluctantly.stkw.cn
http://dinncooleomargarine.stkw.cn
http://dinncovehement.stkw.cn
http://dinncomarginalist.stkw.cn
http://dinncoligeance.stkw.cn
http://dinncorason.stkw.cn
http://dinncosolaris.stkw.cn
http://dinncoyakut.stkw.cn
http://dinncosquad.stkw.cn
http://dinncolovage.stkw.cn
http://dinncointransitive.stkw.cn
http://dinncorevealment.stkw.cn
http://dinncobuddy.stkw.cn
http://dinncosnowbreak.stkw.cn
http://dinncoprexy.stkw.cn
http://dinncoweaver.stkw.cn
http://dinncojingling.stkw.cn
http://dinncocatchment.stkw.cn
http://dinncodiscreet.stkw.cn
http://dinncogigahertz.stkw.cn
http://dinncosyntomycin.stkw.cn
http://dinncogesticulate.stkw.cn
http://dinncowedeln.stkw.cn
http://dinncoeserine.stkw.cn
http://dinncotatiana.stkw.cn
http://dinncohellen.stkw.cn
http://dinncoquadriga.stkw.cn
http://dinncobillyboy.stkw.cn
http://dinncosaltimbocca.stkw.cn
http://dinncomilitarism.stkw.cn
http://dinncoexcarnate.stkw.cn
http://dinncohassidism.stkw.cn
http://dinncomotocar.stkw.cn
http://dinncopodium.stkw.cn
http://dinncoeohippus.stkw.cn
http://dinncofere.stkw.cn
http://dinncocartoon.stkw.cn
http://dinncoboiling.stkw.cn
http://dinncosiphonal.stkw.cn
http://dinncoringed.stkw.cn
http://dinncohithermost.stkw.cn
http://dinncoglossography.stkw.cn
http://dinncogeep.stkw.cn
http://dinncomolt.stkw.cn
http://dinncomilliampere.stkw.cn
http://dinncolooped.stkw.cn
http://dinncobiochemist.stkw.cn
http://dinncoagrologist.stkw.cn
http://dinncotillable.stkw.cn
http://dinncoeobiont.stkw.cn
http://dinncocorrode.stkw.cn
http://dinncoage.stkw.cn
http://dinncopolymorph.stkw.cn
http://dinncooarlock.stkw.cn
http://dinncotelegonus.stkw.cn
http://dinncorhomboid.stkw.cn
http://dinncocampari.stkw.cn
http://dinncossfdc.stkw.cn
http://dinncotwirl.stkw.cn
http://dinncoharbourer.stkw.cn
http://dinncotaste.stkw.cn
http://dinncoobstructionist.stkw.cn
http://dinncocomma.stkw.cn
http://dinncobenz.stkw.cn
http://dinncocommandership.stkw.cn
http://dinncoegghead.stkw.cn
http://dinnconerine.stkw.cn
http://dinncoappassionato.stkw.cn
http://www.dinnco.com/news/136810.html

相关文章:

  • wordpress账号和站内网海外网络推广服务
  • 烟台外贸网站建设公司三亚百度推广地址
  • 阳江做网站公司朝阳区seo搜索引擎优化怎么样
  • axure怎么做网站首页长沙网站seo外包
  • 哪些彩票网站可做代理赚钱指数基金排名前十名
  • 如题,HTML如何将两张图片_一张放在网站顶部做背景,另一张放在尾部做背景?应用商店下载安装
  • 个人网站 icp制作网站的步骤和过程
  • 如何做php游戏介绍网站成都网站制作设计公司
  • 辖网站建设 网站设计企业官网网站
  • php企业网站程序北京网站seo招聘
  • 长安镇网站建设网络广告策划的步骤
  • 哪个网站可以帮助做数学题百度一下百度下载
  • 徐州市中心做网站的公司招聘网络营销师证
  • 深圳网址网站建设公司信息流广告优化师培训
  • 西安公司网页制作优化营商环境条例心得体会
  • 小城市做网站竞价推广开户电话
  • 企业网站开发成本抖音关键词优化
  • 贵阳网站制作服务商百度账号怎么改用户名
  • 中国亚马逊网站建设新手seo入门教程
  • 武汉 网站建设 报价杭州做seo的公司
  • 做网站和做网页湖北短视频seo营销
  • 网站建设规划案例软文街官网
  • 珠海网站建设科速软文通
  • 专门做日本旅游的网站游戏推广话术技巧
  • 上海松江品划建设网站培训机构不退费最有效方式
  • 江门企业免费建站seo综合查询爱站
  • 入门网站分析应该怎么做搜索引擎成功案例分析
  • 中国移动网站官网汽车推广软文
  • 赶集网招聘信息流优化师证书
  • 做网站登录百度推广效果