- 积分
- 18
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-6-14
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
183个站点数据 值大部分都是100多毫米 怎么生成的时候图上显示在1到10毫米之间?就这一个时间段有问题,下面是相应代码
StationData stationData = aDataInfo.GetStationData("Precipitation6h");
//Interpolate
GridDataSetting aGDP = new GridDataSetting();
aGDP.DataExtent = countyLayer.Extent;
aGDP.XNum = 183;
aGDP.YNum = 183;
InterpolationSetting gridInterp = new InterpolationSetting();
gridInterp.GridDataSet = aGDP;
gridInterp.InterpolationMethod = InterpolationMethods.IDW_Radius;
gridInterp.Radius =2;
gridInterp.MinPointNum = 0;
double[] X = new double[1];
double[] Y = new double[1];
ContourDraw.CreateGridXY(gridInterp.GridDataSet, ref X, ref Y);
double[,] S = stationData.Data;
S = ContourDraw.FilterDiscreteData_Radius(S, gridInterp.Radius,
gridInterp.GridDataSet.DataExtent, stationData.UNDEF);
GridData gridData = ContourDraw.InterpolateDiscreteData_Radius(S,
X, Y, gridInterp.MinPointNum, gridInterp.Radius, stationData.UNDEF);
|
|