1.站点文件

12010615.syn在D:\Program Files (x86)\MeteoInfo\Sample
SYNOP_Stations.csv在D:\Program Files (x86)\MeteoInfo\Station

2.同样修改:

breakList改为LegendBreaks
LegendStyleEnum改为LegendStyles

3.GetStationModelData()函数:

 //Get station model data
double[,] stationModelData = new double[, ];
Extent aExtent = new Extent();
stationModelData = aDataInfo.GetStationModelData(ref aExtent);
在新版中改为:
//Get station model data
StationModelData stationModelData = aDataInfo.GetStationModelData();

4.“.UNDEF”错误:

 aLayer = DrawMeteoData.CreateStationModelLayer(stationModelData, aDataInfo.UNDEF, aLS, "StationModel", true);

其中,aDataInfo.UNDEF参数改为aDataInfo.MissingValue

5.CreateSTVectorLayer错误:

把:

 VectorLayer aLayer = DrawMeteoData.CreateSTVectorLayer(wdData, wsData, wdData, aLS, false, "StationVector", false);

改为:

 VectorLayer aLayer = DrawMeteoData.CreateSTVectorLayer_old(wdData, wsData, wdData, aLS, false, "StationVector", false);

6.StationShaded程序错误:

StationShaded程序用的Demo中的程序,rain_2008072220.csv也从Demo的Sample中复制
Demo中的主程序在MeteoInfoDemo\Forms\frmMain.cs

7.天气现象符号显示乱码:

把MeteoInfo安装目录下的WeatherSymbol.ttf复制到C:\Windows\Fonts就好了。

05-02 21:02