資源簡介
可以用來提取IGS全球服務組織CODE中心電離層VTEC數據-IGS can be used to extract a global service organization CODE ionospheric VTEC data center

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.IO;
using?Mapack;
namespace?IonosphericVarAnalysis
{
????class?IVA
????{
????????//聲明全局變量
????????//int?Year;
????????double?LatitudeF;
????????double?LatitudeT;
????????double?LongitudeF;
????????double?LongitudeT;
????????int?SitLat;
????????int?SitLon;
????????int?SitLatitudeF;
????????int?SitLatitudeT;
????????int?SitLongitudeF;
????????int?SitLongitudeT;
????????int?timesection?=?0;
????????//聲明用來存儲:IONX各天的文件名的字符串數組---以及IONX文件的個數
????????int?NumberOfIONXFile;//文件個數
????????string[]?NameOfIONXFile;//文件的名稱
????????//開辟一個數組,來存儲每一天特定區域的“IONX”信息
????????double[]?IONXInfoOfSpecialAera;
????????string[]?IONXLATLON?=?new?string[1?73];
????????//存儲當前文件所在的:路徑
????????string?DirectoryofIONXFile;//存儲文件的路徑
????????string?NameandDirectoryofIONXFile;
????????//構造函數
????????public?IVA(double?latitudefromdouble?latitudetodouble?longitudefromdouble?longitudetostring?directoryoffilenameofdays)
????????{?
????????????SitLatitudeF=(int)latitudefrom;
????????????SitLatitudeT?=?(int)latitudeto;
????????????SitLongitudeF=(int?)longitudefrom;
????????????SitLongitudeT?=?(int)longitudeto;
????????????//經緯度格網---均要外推一格----以便保證研究的區域包含在之內
????????????//Year?=?year;
????????????double?laf;
????????????double?lat;
????????????double?lof;
????????????double?lot;
????????????SitLat?=?(int)latitudefrom;
????????????SitLon?=?(int)longitudefrom;
????????????//緯度:上下列值
????????????laf=latitudefrom?/?2.5-1;
????????????LatitudeF?=?Math.Floor(laf)?*?2.5;
????
????????????lat?=?latitudeto?/?2.5+1;
????????????LatitudeT?=?Math.Floor(lat)?*?2.5;
????????????lof?=?longitudefrom/?5.0-1;
????????????LongitudeF?=?Math.Floor(lof)*5.0;
????????????lot?=longitudeto?/?5.0+1;
????????????LongitudeT?=?Math.Floor(lot)?*?5.0;
????????????//開辟數組
????????????int?row?=(int?)?(Math.Floor(lat)?-?Math.Floor(laf)+1)?*?12;
????????????int?col?=?(int)(Math.Floor(lot)?-?Math.Floor(lof))?+?1;
????????????IONXInfoOfSpecialAera=new?double[row?col?];//因為每個文件里有12組數據,所以這里對行乘以12
????????????//Console.WriteLine(LatitudeF.ToString()?+?“%%“?+?LatitudeT.ToString()?+?“%%“?+?LongitudeF.ToString()?+?“%%“?+?LongitudeT.ToString());
????????????//Console.ReadLine();
????????????//獲得路徑
????????????char?[]mychar?={‘\\‘‘\\‘?};
????????????DirectoryofIONXFile?=?directoryoffilenameofdays.Remove(directoryoffilenameofdays.LastIndexOfAny(mychar)?+?1);
????????????char[]?notechar?={?‘.‘?};
????????????//string?a?=?directoryoffilenameofdays;
????????????NameandDirectoryofIONXFile?=?directoryoffilenameofdays.Remove(directoryoffilenameofdays.LastIndexOfAny(notechar));
????????????//Console.WriteLine(NameandDirectoryofIONXFile);
????????????//Console.ReadLine();
????????????//獲得個數及其名稱數組
????????????NumberOfIONXFile?=?ScanningToFile(directoryoffilenameofdays);
????????????NameOfIONXFile=new?string[NumberOfIONXFile];
????????????NameOfIONXFile?=?R
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2248??2008-07-21?13:53??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\IonosphericVarAnalysis.csproj
?????文件????????216??2008-09-06?16:56??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\obj\IonosphericVarAnalysis.csproj.FileList.txt
?????文件??????29384??2008-09-06?16:57??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\Program.cs
?????文件???????1203??2008-06-05?01:58??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\Properties\AssemblyInfo.cs
?????文件????????955??2008-06-05?01:58??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis.sln
????..A..H.?????15872??2008-09-06?17:00??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis.suo
?????目錄??????????0??2008-07-23?16:42??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\bin\Debug
?????目錄??????????0??2008-08-07?13:18??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\obj\Debug
?????目錄??????????0??2008-07-23?16:42??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\bin
?????目錄??????????0??2008-07-23?16:42??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\obj
?????目錄??????????0??2008-07-23?16:42??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis\Properties
?????目錄??????????0??2008-09-06?16:57??從CODE中心提取特定區域VTEC軟件080713\IonosphericVarAnalysis
?????目錄??????????0??2008-07-23?16:42??從CODE中心提取特定區域VTEC軟件080713
-----------?---------??----------?-----??----
????????????????50096????????????????????14
- 上一篇:8位流水燈的VHDL程序.
- 下一篇:42U機柜CAD圖紙
評論
共有 條評論