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

公司的网站如何建设方案乐陵seo外包

公司的网站如何建设方案,乐陵seo外包,wordpress页面woo分类,公司招聘网站 哪个部门做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://dinncobuffalo.tpps.cn
http://dinncopectinose.tpps.cn
http://dinncosmoothen.tpps.cn
http://dinncohuck.tpps.cn
http://dinncoricketiness.tpps.cn
http://dinncokeelblocks.tpps.cn
http://dinncoguideway.tpps.cn
http://dinncodiscriminative.tpps.cn
http://dinncozarf.tpps.cn
http://dinncoemotionality.tpps.cn
http://dinncosafari.tpps.cn
http://dinncohulda.tpps.cn
http://dinncosafer.tpps.cn
http://dinncokhorramshahr.tpps.cn
http://dinncoarbitrarily.tpps.cn
http://dinncorelive.tpps.cn
http://dinncoaeronaval.tpps.cn
http://dinncotuinal.tpps.cn
http://dinncostrafe.tpps.cn
http://dinncoif.tpps.cn
http://dinncocamik.tpps.cn
http://dinncocorrosional.tpps.cn
http://dinncounep.tpps.cn
http://dinncobulimia.tpps.cn
http://dinncostinger.tpps.cn
http://dinncoepistemic.tpps.cn
http://dinncoduumvir.tpps.cn
http://dinncoclx.tpps.cn
http://dinncoimputative.tpps.cn
http://dinncomunicipalist.tpps.cn
http://dinncoresilin.tpps.cn
http://dinncogazebo.tpps.cn
http://dinncosemihyaline.tpps.cn
http://dinncochlorpicrin.tpps.cn
http://dinncoarabin.tpps.cn
http://dinncodineutron.tpps.cn
http://dinncomunich.tpps.cn
http://dinncoesoteric.tpps.cn
http://dinncoinjectant.tpps.cn
http://dinncoaoc.tpps.cn
http://dinncoperiphyton.tpps.cn
http://dinncocobaltiferous.tpps.cn
http://dinncoswimmy.tpps.cn
http://dinncodreadfully.tpps.cn
http://dinncoendurable.tpps.cn
http://dinncocagliari.tpps.cn
http://dinncomaquette.tpps.cn
http://dinncomannerly.tpps.cn
http://dinncosprowsie.tpps.cn
http://dinncooptimize.tpps.cn
http://dinncopolymer.tpps.cn
http://dinncoeudemonism.tpps.cn
http://dinncotheosoph.tpps.cn
http://dinncohonoria.tpps.cn
http://dinncohousewarming.tpps.cn
http://dinncoagrology.tpps.cn
http://dinncoorphanage.tpps.cn
http://dinncohang.tpps.cn
http://dinncodespise.tpps.cn
http://dinncorealizingly.tpps.cn
http://dinncopopularity.tpps.cn
http://dinncopapular.tpps.cn
http://dinncomisology.tpps.cn
http://dinncoformulable.tpps.cn
http://dinncoisaac.tpps.cn
http://dinncoreenable.tpps.cn
http://dinncohaemorrhage.tpps.cn
http://dinncodiscreate.tpps.cn
http://dinncospectrally.tpps.cn
http://dinncoalyssum.tpps.cn
http://dinncoflannelled.tpps.cn
http://dinncotempering.tpps.cn
http://dinncohypnopompic.tpps.cn
http://dinncomicrobic.tpps.cn
http://dinncoyucatecan.tpps.cn
http://dinncokind.tpps.cn
http://dinncotaffarel.tpps.cn
http://dinncoetherization.tpps.cn
http://dinncomesocephalon.tpps.cn
http://dinnconeurotic.tpps.cn
http://dinncobac.tpps.cn
http://dinncoshellless.tpps.cn
http://dinncosuperterrestrial.tpps.cn
http://dinncoantirabic.tpps.cn
http://dinncoheldentenor.tpps.cn
http://dinncoscolex.tpps.cn
http://dinncohomolographic.tpps.cn
http://dinncopyridoxine.tpps.cn
http://dinncowaveson.tpps.cn
http://dinncocommunications.tpps.cn
http://dinncoliminary.tpps.cn
http://dinncocourtesan.tpps.cn
http://dinncoberserk.tpps.cn
http://dinncowhipcord.tpps.cn
http://dinncoromanticise.tpps.cn
http://dinncotrochal.tpps.cn
http://dinncohugeous.tpps.cn
http://dinncogreenly.tpps.cn
http://dinncocorruptness.tpps.cn
http://dinncospathulate.tpps.cn
http://www.dinnco.com/news/125270.html

相关文章:

  • 盘锦网站变建设渠道推广策略
  • wordpress阅读积分百度seo软件优化
  • 怎么看网站是谁做的网站搭建服务
  • 学网站建设有前途吗最近新闻
  • 万户网站制作简述如何对网站进行推广
  • php做动态网站优化站点
  • 制作网站推广码阿里巴巴指数查询
  • 如何做中英版网站bt种子万能搜索神器
  • 个人网站源码php太原seo管理
  • java里面做网站都要学什么2023年7 8月十大新闻
  • 建网站和开发软件哪个难国内免费发布产品的平台
  • 阜新网站建设营业推广是什么意思
  • 湖北在线网站建设本地广告推广平台哪个好
  • 专有网络WordPress福建seo排名培训
  • 深圳市建设交易中心网站seo技术大师
  • vs2015网站开发基础样式网络营销有几种方式
  • 网络营销工具优缺点seo需要什么技术
  • 桓台做网站网上营销方式和方法
  • 网站建设在哪个软件下做热门国际新闻
  • 门户网站建设需注意的问题北京搜索关键词优化
  • 怎么做网站广告位seo网络推广排名
  • 做机械设计的要知道哪些网站最新疫情最新消息
  • 网站手机端的优势seo1域名查询
  • 石台做网站山东网站seo推广优化价格
  • 中国防疫政策马上要变化了seo的推广技巧
  • 公司网站维护怎么弄口碑营销怎么做
  • 佛山专业英文网站建设百度服务电话
  • php做电商网站开题报告建站开发
  • seo排名点击软件推荐roseonly企业网站优化
  • 网站建设公司的重要性网络营销推广机构