摘要
在GPS数据解算和研究中,IGS服务数据的下载工作繁琐,尤其网络不正常时,下载更是费时费力。针对地震系统需要,作者研制了在UNIX环境下运行专用于下载IGS服务数据的软件。用户只需要提供台站名,起始、终止时间便可下载需要的文件,下载的同时能够实时显示网络运行情况及下载进度,并对网络故障做出处理。作者采用套接口API编写FTP客户端程序,采用GTK+多线程并发及互斥等方法使软件更为健壮。
It is inconvenient to download IGS service data for data processing of GPS. It is time-consuming when the network is abnormal. In this paper, we introduce a applied software running under the Unix environment with GUI for earthquake institution, which can download the IGS service data conveniently that you only need providing start, end time and GPS station names. It can show the state of network and the rate of the file you have downloaded, deal with the network hitch in the time of this software running. We develop FTP client by means of socket API, and make it robust by means of concurrence and mutual exclusion of multi-threading in GTK+.
出处
《地震地磁观测与研究》
2007年第3期104-109,共6页
Seismological and Geomagnetic Observation and Research
基金
北京市自然科学基金项目(8041001)
北京市"十五"重点攻关项目(H030630090190)资助