Retrieving Data from Data Centers(从数据中心检索数据) PS:此部分提供了使用obspy下载数据的推荐方式,但是由于数据中心和web服务在不断更新变化,所有有些建议可能变无效. Note:最常见的应用为下载波形和整个或部分事件元信息.多数情况下你都可以用到obspy.clients.fdsn模块.它支持最大数量的数据集并使用最新的数据格式.虽然可以选择不同的模块,但是请确保你至少有一个可用模块. FDSN网络服务 基础FDSN网络服务 Table 可用数据类型:
FTPS,亦或是FTPES, 是FTP协议的一种扩展,用于对TLS和SSL协议的支持. 本文讲述了如何从一个基于FTPS的Server中下载数据的实例. 任何地方,如有纰漏,欢迎诸位道友指教. 话不多,上码. using System; using System.Net; using System.IO; using System.Net.Security; using System.Security.Cryptography.X509Certificates; namespace
1.打开VS选择控制台项目新建一个解决方案Server,然后添加两个类库Contract和Service. 2.在Contract中添加一个接口IFileDownload using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace Contract { [ServiceContract] public inter