土壤水分资料自动下载及查看软件的研发
2018-03-10朱俊翰
朱俊翰
【摘 要】土壤水分资料是气象部门农气工作必需的资料,精确下载土壤水分资料对农气工作至关重要。目前所使用的土壤水分下载器存在许多的问题,如资料遗漏、无查看功能、过度依靠手动操作等,研发新的土壤水分自动下载和查看软件可以解决上述问题。本文详述了该土壤水分自动下载及查看软件的研发过程,展示了软件功能,并分享C#编写技巧。运行测试结果表明该软件对农气观测业务工作效率的提升有很大的帮助,值得推广。
【关键词】土壤水分;自动下载;农气;C#
[Abstract] Soil moisture content is the necessary information for the meteorological department, and it is very important to accurately download the soil moisture data to the agricultural gas work. Currently used by the soil moisture downloader has many problems, such as data missing, without excessive view function, rely on manual operation, etc., research and development of new soil moisture automatically download and view software can solve the above problems. This paper describes the process of automatic downloading and viewing software of this soil, showing the software functions and sharing C# writing skills. The result of running test shows that the software is helpful to the improvement of the working efficiency of agricultural gas observation.
[Key words] Soil moisture; Automatic download; Farmers gas; C #
土壤水分是土壤的重要物理参数,是气候、植被、地形及土壤因素的综合反映,对于降雨产流、蒸散等过程具有重要影响,因此是气象测报和农气观测中不可或缺的部分,对描述天气变化、指导农业生产有着重要的作用。
目前山东省各区县局气象站的土壤水分观测资料均采用Z-FTP土壤水分资料下载器处理。在设定好用户名、密码、服务器地址的情况下,Z-FTP能够手动批量下载土壤水分观测资料,免去了每次下载时都要人工圈选和输入密码的重复操作,简化了工作流程[1]。但是也存在着一些问题。因此本研究从分析Z-FTP软件的问题入手,有针对性地研发土壤水分观测资料的自动下载及查看软件,进一步提高数据获取的效率和准确度。
1 研发新软件的必要性
Z-FTP土壤水分资料下载器的使用为一线工作人员提供了便利,但是也存在一些问题:
土壤水分资料在省局信息中心只保存3天,由于Z-FTP软件没有自动下載功能,所以如果连续3天或更长时间未进行资料下载,就会导致这期间的土壤水分资料永久缺失;……
