makehypostalist.java
来自「一个用java写的地震分析软件(无源码)-used to write a sei」· Java 代码 · 共 28 行
JAVA
28 行
package org.trinet.jasi;
/** Make a Hypoinverse #2 format station list for the currently active channels
* in the default dbase. Only returns "HH_", "EH_", "HL_" channels. */
public class MakeHypoStaList {
public MakeHypoStaList() {
}
public static void main (String args[]) {
// System.out.println ("Making connection... ");
DataSource dbase = new DataSource();
// System.out.println (dbase.toString());
//ChannelList list = ChannelList.readCurrentList();
String compList[] = {"HH_", "EH_", "HL_"};
ChannelList list = ChannelList.getByComponent(compList);
Channel ch[] = list.getArray();
for (int i = 0; i< ch.length; i++ ) {
System.out.println (HypoFormat.toH2StationString(ch[i]));
}
} // end of Main
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?