我对从像素分辨率(例如:30米)到粗糙分辨率(927米)的栅格重采样的正确(或最佳做法)有些担心。 我的问题:
reproject()
来表示所需分辨率的投影就可以了吗?还是应该使用.reduceResolution()
而不是.reproject()
?
我build a simples code展示了两种方法均返回不同的结果:var treecover = gfc.select("treecover2000");
print(treecover);
var bioProj = bio.select('bio01').projection();
var treecoverNewProj = treecover.reproject(bioProj);
print(treecoverNewProj.projection().nominalScale());
var NewProjVal = treecoverNewProj.reduceRegion({
reducer: ee.Reducer.mean(),
geometry: geometry,
scale: treecoverNewProj.projection().nominalScale()});
print("with only reproject()", NewProjVal);
var treecoverRedRes = treecover.reduceResolution({
reducer: ee.Reducer.mean(),
maxPixels: 1112
}).reproject(bioProj);
var NewProjVal2 = treecoverRedRes.reduceRegion({
reducer: ee.Reducer.mean(),
geometry: geometry,
scale: treecoverRedRes.projection().nominalScale()});
print("w reduce resoluction", NewProjVal2);
reduceResolution()
,我应该使用哪种归约器?是否有最近邻减速器?预先感谢 费利佩