Merge branch 'master_13.5.2' (13.5.2-2) into omaha_14.1.1
Conflicts: edexOsgi/com.raytheon.uf.edex.distribution/src/com/raytheon/uf/edex/distribution/DistributionSrv.java nativeLib/edexBridge/.cproject nativeLib/edexBridge/edexBridge.cpp rpms/awips2.core/Installer.ldm/component.spec rpms/awips2.core/Installer.ldm/patch/ld.so.conf.d/awips2-ldm-i386.conf rpms/awips2.qpid/0.18/SOURCES/awips.patch rpms/awips2.qpid/0.18/SPECS/qpid-lib.spec rpms/awips2.qpid/0.18/deploy.builder/build.sh rpms/build/common/rpms.sh Former-commit-id:fec8541795
[formerly433cc78081
] [formerly18ee1d0092
] [formerlyfec8541795
[formerly433cc78081
] [formerly18ee1d0092
] [formerly7fe19d898c
[formerly18ee1d0092
[formerly b2674e0f626c643f0f81f865ea56351af2531c6a]]]] Former-commit-id:7fe19d898c
Former-commit-id:0f6f34ec8c
[formerly55bbf0f747
] [formerly 5a94406e31101181f9717f529104887e73712284 [formerly0514103d87
]] Former-commit-id: 0a46a83928b6e3462cb1aa939abe80a85f2d9a5b [formerly482b9d838d
] Former-commit-id:5bb983c645
This commit is contained in:
commit
ff9e712630
1722 changed files with 42600 additions and 27529 deletions
2
MHSEmulator/.gitignore
vendored
Normal file
2
MHSEmulator/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
out/
|
||||
*.jar
|
Binary file not shown.
Binary file not shown.
|
@ -5,10 +5,30 @@ import java.io.BufferedWriter;
|
|||
import java.io.File;
|
||||
import java.io.FileReader;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.text.DecimalFormat;
|
||||
import java.text.NumberFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Library module for MHS emulator.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ??? ?? ???? bphillip Initial creation
|
||||
* Jul 15, 2013 #2099 dgilling Use safer exception handling for file I/O.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bphillip
|
||||
* @version 1.0
|
||||
*/
|
||||
public class MhsUtil {
|
||||
|
||||
public static final SimpleDateFormat logDateFormat = new SimpleDateFormat(
|
||||
|
@ -19,32 +39,51 @@ public class MhsUtil {
|
|||
|
||||
public static final String END_TOKEN = "------!!!!END!!!!------";
|
||||
|
||||
public static final File MY_MHS_FILE = new File(
|
||||
"/awips2/.myMHS");
|
||||
public static final File MY_MHS_FILE = new File("/awips2/.myMHS");
|
||||
|
||||
public static final File MSG_ID_FILE = new File(
|
||||
"/awips2/.msgCount");
|
||||
public static final File MSG_ID_FILE = new File("/awips2/.msgCount");
|
||||
|
||||
public static String getMsgId() throws Exception {
|
||||
if (!MSG_ID_FILE.exists()) {
|
||||
MSG_ID_FILE.createNewFile();
|
||||
BufferedWriter out = new BufferedWriter(new FileWriter(MSG_ID_FILE));
|
||||
out.write("0");
|
||||
out.close();
|
||||
private MhsUtil() {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
public static String getMsgId() throws IOException {
|
||||
if (MSG_ID_FILE.createNewFile()) {
|
||||
BufferedWriter out = null;
|
||||
try {
|
||||
out = new BufferedWriter(new FileWriter(MSG_ID_FILE));
|
||||
out.write("0");
|
||||
} finally {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BufferedReader in = null;
|
||||
in = new BufferedReader(new FileReader(MSG_ID_FILE));
|
||||
String msgId = in.readLine().trim();
|
||||
int newMsgNumber = Integer.parseInt(msgId) + 1;
|
||||
in.close();
|
||||
BufferedWriter out = new BufferedWriter(new FileWriter(MSG_ID_FILE));
|
||||
out.write(String.valueOf(newMsgNumber));
|
||||
out.close();
|
||||
for (int i = msgId.length(); i < 6; i++) {
|
||||
msgId = "0" + msgId;
|
||||
int newMsgNumber;
|
||||
try {
|
||||
in = new BufferedReader(new FileReader(MSG_ID_FILE));
|
||||
String msgId = in.readLine().trim();
|
||||
newMsgNumber = Integer.parseInt(msgId) + 1;
|
||||
} finally {
|
||||
if (in != null) {
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
|
||||
return msgId;
|
||||
BufferedWriter out = null;
|
||||
try {
|
||||
out = new BufferedWriter(new FileWriter(MSG_ID_FILE));
|
||||
out.write(String.valueOf(newMsgNumber));
|
||||
} finally {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
|
||||
NumberFormat formatter = new DecimalFormat("000000");
|
||||
return formatter.format(newMsgNumber);
|
||||
}
|
||||
|
||||
public static int byteArrayToInt(byte[] b, int offset) {
|
||||
|
@ -73,26 +112,26 @@ public class MhsUtil {
|
|||
logFile = new File(logDir
|
||||
+ InetAddress.getLocalHost().getCanonicalHostName() + "-"
|
||||
+ mode + "-" + MhsUtil.logDateFormat.format(new Date()));
|
||||
logFile.createNewFile();
|
||||
|
||||
if (logFile != null) {
|
||||
if (!logFile.exists()) {
|
||||
logFile.createNewFile();
|
||||
}
|
||||
}
|
||||
message += MhsUtil.logMsgFormat.format(new Date());
|
||||
for (Object obj : msg) {
|
||||
message += obj.toString() + " ";
|
||||
}
|
||||
message += "\n";
|
||||
|
||||
BufferedWriter out = new BufferedWriter(new FileWriter(logFile,
|
||||
true));
|
||||
out.write(message.trim());
|
||||
out.write("\n");
|
||||
out.close();
|
||||
|
||||
BufferedWriter out = null;
|
||||
try {
|
||||
out = new BufferedWriter(new FileWriter(logFile, true));
|
||||
out.write(message.trim());
|
||||
out.write("\n");
|
||||
} finally {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// ignore
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,59 +1,68 @@
|
|||
package mhs.core;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
public class RsyncThread extends Thread {
|
||||
/**
|
||||
* TODO Add Description
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ??? ?? ???? bphillip Initial creation
|
||||
* Jul 15, 2013 #2099 dgilling Modify to support recursive file listing
|
||||
* since export grids dir structure uses
|
||||
* multiple folders.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bphillip
|
||||
* @version 1.0
|
||||
*/
|
||||
public class RsyncThread implements Runnable {
|
||||
|
||||
private static final Map<String, Long> fileVersion = new HashMap<String, Long>();
|
||||
|
||||
private Properties props;
|
||||
|
||||
private Map<String, Long> fileVersion;
|
||||
|
||||
public RsyncThread(Properties props) {
|
||||
this.props = props;
|
||||
fileVersion = new HashMap<String, Long>();
|
||||
this.setDaemon(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
while (true) {
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
String exportGridsDir = props.getProperty("EXPORT_GRIDS");
|
||||
String centralServerDir = props.getProperty("CENTRAL_SERVER");
|
||||
String packScriptDir = props.getProperty("UTIL_DIR");
|
||||
|
||||
String exportGridsDir = (String) props.getProperty("EXPORT_GRIDS");
|
||||
String centralServerDir = (String) props
|
||||
.getProperty("CENTRAL_SERVER");
|
||||
File[] fileList = new File(exportGridsDir).listFiles();
|
||||
Collection<File> fileList = listCdfFiles(new File(exportGridsDir));
|
||||
for (File file : fileList) {
|
||||
if (file.isFile()) {
|
||||
String currentFilePath = file.getPath();
|
||||
|
||||
String currentFilePath = null;
|
||||
for (File file : fileList) {
|
||||
if (file.isDirectory()) {
|
||||
continue;
|
||||
boolean copy = true;
|
||||
if ((fileVersion.containsKey(currentFilePath))
|
||||
&& (fileVersion.get(currentFilePath) >= file
|
||||
.lastModified())) {
|
||||
copy = false;
|
||||
}
|
||||
currentFilePath = file.getPath();
|
||||
|
||||
boolean copy = false;
|
||||
if (fileVersion.containsKey(currentFilePath)) {
|
||||
if (fileVersion.get(currentFilePath).longValue() != file
|
||||
.lastModified()) {
|
||||
copy = true;
|
||||
}
|
||||
} else {
|
||||
copy = true;
|
||||
}
|
||||
if (copy) {
|
||||
String[] copyCmd = new String[] {
|
||||
centralServerDir + "/../util/packageFile",file.getPath(),
|
||||
centralServerDir + "/../util/",
|
||||
file.getName().substring(0, 3), centralServerDir };
|
||||
packScriptDir + "/packageFile", currentFilePath,
|
||||
packScriptDir, file.getName().substring(0, 3),
|
||||
centralServerDir };
|
||||
try {
|
||||
Runtime.getRuntime().exec(copyCmd);
|
||||
fileVersion.put(file.getPath(), file.lastModified());
|
||||
fileVersion.put(currentFilePath, file.lastModified());
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -61,4 +70,34 @@ public class RsyncThread extends Thread {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Collection<File> listCdfFiles(File path) {
|
||||
Collection<File> fileList = new LinkedList<File>();
|
||||
FileFilter cdfFilter = new FileFilter() {
|
||||
|
||||
@Override
|
||||
public boolean accept(File pathname) {
|
||||
return (pathname.isDirectory() || pathname.getName().endsWith(
|
||||
".netcdf"));
|
||||
}
|
||||
};
|
||||
innerListFiles(path, fileList, cdfFilter);
|
||||
return fileList;
|
||||
}
|
||||
|
||||
private void innerListFiles(File path, Collection<File> fileList,
|
||||
FileFilter filter) {
|
||||
try {
|
||||
File[] matchingFiles = path.listFiles(filter);
|
||||
for (File file : matchingFiles) {
|
||||
if (file.isDirectory()) {
|
||||
innerListFiles(file, fileList, filter);
|
||||
} else if (file.isFile()) {
|
||||
fileList.add(file);
|
||||
}
|
||||
}
|
||||
} catch (SecurityException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package mhs.core;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.File;
|
||||
|
@ -7,27 +8,64 @@ import java.io.FileInputStream;
|
|||
import java.io.FileOutputStream;
|
||||
import java.io.FileReader;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.ServerSocket;
|
||||
import java.net.Socket;
|
||||
import java.net.UnknownHostException;
|
||||
import java.text.DecimalFormat;
|
||||
import java.text.NumberFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.RejectedExecutionException;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ??? ?? ???? bphillip Initial creation
|
||||
* Jul 15, 2013 #2009 dgilling Code cleanup.
|
||||
* Jul 23, 2013 #2009 dgilling Fix NullPointerException on start up.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bphillip
|
||||
* @version 1.0
|
||||
*/
|
||||
public class SocketSrv {
|
||||
|
||||
private File propertiesFile;
|
||||
|
||||
private boolean runRsync;
|
||||
|
||||
private String myMHS;
|
||||
|
||||
private Properties serverProps;
|
||||
|
||||
private ExecutorService mhsRequestHandler;
|
||||
|
||||
private ScheduledExecutorService rsyncThread;
|
||||
|
||||
private int fileIndex = 0;
|
||||
|
||||
private String fileBase;
|
||||
|
||||
private Properties serverProps;
|
||||
|
||||
private String configDir;
|
||||
|
||||
private String centralServerDir;
|
||||
|
@ -38,131 +76,191 @@ public class SocketSrv {
|
|||
|
||||
private Map<Integer, String> commandMap;
|
||||
|
||||
private RsyncThread rsync;
|
||||
|
||||
private String propertiesFile;
|
||||
|
||||
private String myMHS;
|
||||
private int serverPort;
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
if (!System.getProperty("user.name").equals("root")) {
|
||||
System.out
|
||||
.println("Socket Server must be run as root user! Current user: "
|
||||
+ System.getProperty("user.name"));
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
File propertiesFile = new File(args[0]);
|
||||
String mhsId = args[1];
|
||||
boolean startRsync = Boolean.parseBoolean(args[2]);
|
||||
|
||||
if (!propertiesFile.isFile()) {
|
||||
System.out.println("Specified properties file ["
|
||||
+ propertiesFile.toString() + "] does not exist. Exiting.");
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
try {
|
||||
SocketSrv srv = null;
|
||||
srv = new SocketSrv(args[0], args[1], args[2]);
|
||||
srv.run();
|
||||
final SocketSrv server = new SocketSrv(propertiesFile, mhsId,
|
||||
startRsync);
|
||||
Runtime.getRuntime().addShutdownHook(new Thread() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
server.shutdown();
|
||||
}
|
||||
});
|
||||
server.run();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
private SocketSrv(String propertiesFile, String myMHS, String startRsync)
|
||||
throws Exception {
|
||||
this.propertiesFile = propertiesFile;
|
||||
this.myMHS = myMHS;
|
||||
|
||||
writeMyMHS(myMHS);
|
||||
private SocketSrv(File propertiesFile, String mhsId, boolean startRsync)
|
||||
throws UnknownHostException, IOException {
|
||||
System.out.println("Setting up server ("
|
||||
+ InetAddress.getLocalHost().getCanonicalHostName() + ")");
|
||||
commandMap = new HashMap<Integer, String>();
|
||||
configDir = propertiesFile.substring(0,
|
||||
propertiesFile.lastIndexOf(File.separator) + 1);
|
||||
loadProperties(true);
|
||||
if (startRsync.equals("true")) {
|
||||
System.out.println("Starting Rsync Thread...");
|
||||
rsync = new RsyncThread(serverProps);
|
||||
rsync.start();
|
||||
System.out.println("Rsync Thread started!");
|
||||
}
|
||||
|
||||
}
|
||||
this.propertiesFile = propertiesFile;
|
||||
this.myMHS = mhsId;
|
||||
this.runRsync = startRsync;
|
||||
|
||||
private void writeMyMHS(String myMHS) throws Exception {
|
||||
BufferedWriter out = new BufferedWriter(new FileWriter(
|
||||
MhsUtil.MY_MHS_FILE));
|
||||
out.write(myMHS + "\n");
|
||||
out.write(this.propertiesFile);
|
||||
out.close();
|
||||
}
|
||||
writeMyMHS(myMHS);
|
||||
|
||||
private void loadProperties(boolean print) throws Exception {
|
||||
serverProps = new Properties();
|
||||
FileInputStream fis = new FileInputStream(propertiesFile);
|
||||
serverProps.load(fis);
|
||||
fis.close();
|
||||
fileBase = serverProps.getProperty("DATA_FOLDER");
|
||||
centralServerDir = serverProps.getProperty("CENTRAL_SERVER");
|
||||
binDir = serverProps.getProperty("UTIL_DIR");
|
||||
this.commandMap = new HashMap<Integer, String>();
|
||||
this.configDir = this.propertiesFile.getParent();
|
||||
loadProperties();
|
||||
loadRcvHandlerTable();
|
||||
if (print) {
|
||||
System.out.println(" Received Data directory: " + fileBase);
|
||||
System.out.println("Central Server Data Directory: "
|
||||
+ centralServerDir);
|
||||
System.out.println(" Config directory: " + configDir);
|
||||
|
||||
this.fileBase = serverProps.getProperty("DATA_FOLDER");
|
||||
this.centralServerDir = serverProps.getProperty("CENTRAL_SERVER");
|
||||
this.binDir = serverProps.getProperty("UTIL_DIR");
|
||||
this.serverPort = Integer.parseInt(serverProps
|
||||
.getProperty("SERVER_PORT"));
|
||||
|
||||
System.out.println("\tReceived Data directory: " + fileBase);
|
||||
System.out.println("\tCentral Server Data Directory: "
|
||||
+ centralServerDir);
|
||||
System.out.println("\tConfig directory: " + configDir);
|
||||
|
||||
this.mhsRequestHandler = Executors.newSingleThreadExecutor();
|
||||
if (this.runRsync) {
|
||||
System.out.println("Starting Rsync Thread...");
|
||||
this.rsyncThread = Executors.newSingleThreadScheduledExecutor();
|
||||
}
|
||||
}
|
||||
|
||||
public void run() throws Exception {
|
||||
public void run() throws IOException {
|
||||
if (rsyncThread != null) {
|
||||
Runnable rsyncJob = new RsyncThread(serverProps);
|
||||
rsyncThread
|
||||
.scheduleWithFixedDelay(rsyncJob, 1, 1, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
int port = Integer.parseInt((String) serverProps.get("SERVER_PORT"));
|
||||
ServerSocket srv = new ServerSocket(port);
|
||||
ServerSocket socket = new ServerSocket(serverPort);
|
||||
while (!mhsRequestHandler.isShutdown()) {
|
||||
try {
|
||||
log("Waiting for connections...");
|
||||
final Socket conn = socket.accept();
|
||||
Runnable processTask = new Runnable() {
|
||||
|
||||
while (true) {
|
||||
log("Waiting for connections...");
|
||||
Socket socket = srv.accept();
|
||||
InetSocketAddress client = (InetSocketAddress) socket
|
||||
.getRemoteSocketAddress();
|
||||
log("Connected to client: " + client.getHostName() + " at "
|
||||
+ client);
|
||||
loadProperties(false);
|
||||
String sender = getMhsOfSender(client);
|
||||
log("Message is from: " + sender);
|
||||
|
||||
InputStream in = socket.getInputStream();
|
||||
byte[] message = null;
|
||||
Map<String, String> params = new HashMap<String, String>();
|
||||
String flag = "";
|
||||
while (true) {
|
||||
if (in.available() == 0) {
|
||||
Thread.sleep(100);
|
||||
continue;
|
||||
}
|
||||
|
||||
message = getMessage(in);
|
||||
|
||||
if (message.length < 50) {
|
||||
String strMessage = new String(message);
|
||||
if (strMessage.equals(MhsUtil.END_TOKEN)) {
|
||||
log("Disconnected from client: " + client);
|
||||
if (params.containsKey("-c")) {
|
||||
executeAction(sender, params);
|
||||
files.clear();
|
||||
params.clear();
|
||||
flag = "";
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
handleRequest(conn);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (strMessage.startsWith("-")) {
|
||||
flag = strMessage;
|
||||
} else {
|
||||
params.put(flag, strMessage);
|
||||
}
|
||||
} else {
|
||||
log("File Received of size: " + message.length);
|
||||
files.add(writeToFile(myMHS + "-" + params.get("-MSGID"),
|
||||
message));
|
||||
};
|
||||
mhsRequestHandler.execute(processTask);
|
||||
} catch (RejectedExecutionException e) {
|
||||
if (!mhsRequestHandler.isShutdown()) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void shutdown() {
|
||||
mhsRequestHandler.shutdown();
|
||||
if (rsyncThread != null) {
|
||||
rsyncThread.shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
private void handleRequest(Socket connection) throws IOException,
|
||||
InterruptedException {
|
||||
InetSocketAddress client = (InetSocketAddress) connection
|
||||
.getRemoteSocketAddress();
|
||||
log("Connected to client: " + client.getHostName() + " at " + client);
|
||||
|
||||
loadProperties();
|
||||
String sender = getMhsOfSender(client);
|
||||
log("Message is from: " + sender);
|
||||
|
||||
InputStream in = connection.getInputStream();
|
||||
byte[] message = null;
|
||||
Map<String, String> params = new HashMap<String, String>();
|
||||
String flag = "";
|
||||
while (true) {
|
||||
if (in.available() == 0) {
|
||||
Thread.sleep(100);
|
||||
continue;
|
||||
}
|
||||
|
||||
message = getMessage(in);
|
||||
|
||||
if (message.length < 50) {
|
||||
String strMessage = new String(message);
|
||||
if (strMessage.equals(MhsUtil.END_TOKEN)) {
|
||||
log("Disconnected from client: " + client);
|
||||
if (params.containsKey("-c")) {
|
||||
executeAction(sender, params);
|
||||
files.clear();
|
||||
params.clear();
|
||||
flag = "";
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (strMessage.startsWith("-")) {
|
||||
flag = strMessage;
|
||||
} else {
|
||||
params.put(flag, strMessage);
|
||||
}
|
||||
} else {
|
||||
log("File Received of size: " + message.length);
|
||||
files.add(writeToFile(myMHS + "-" + params.get("-MSGID"),
|
||||
message));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void writeMyMHS(String myMHS) throws IOException {
|
||||
BufferedWriter out = null;
|
||||
try {
|
||||
out = new BufferedWriter(new FileWriter(MhsUtil.MY_MHS_FILE));
|
||||
out.write(myMHS + "\n");
|
||||
out.write(propertiesFile.getPath());
|
||||
} finally {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void loadProperties() throws IOException {
|
||||
FileInputStream fis = null;
|
||||
try {
|
||||
fis = new FileInputStream(propertiesFile);
|
||||
Properties newProps = new Properties();
|
||||
newProps.load(fis);
|
||||
serverProps = newProps;
|
||||
} finally {
|
||||
if (fis != null) {
|
||||
fis.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void executeAction(String sender, Map<String, String> params)
|
||||
throws Exception {
|
||||
throws IOException, InterruptedException {
|
||||
int action = Integer.parseInt(params.get("-c"));
|
||||
|
||||
if (!commandMap.containsKey(action)) {
|
||||
|
@ -200,31 +298,19 @@ public class SocketSrv {
|
|||
command = command.replace("%SENDER", sender.toLowerCase());
|
||||
String[] cmdArray = command.split(" ");
|
||||
log("Executing: " + command);
|
||||
//
|
||||
// Map<String, String> sysEnv = System.getenv();
|
||||
// Map<String, String> newEnv = new HashMap<String, String>();
|
||||
// for (String key : sysEnv.keySet()) {
|
||||
// newEnv.put(key, sysEnv.get(key));
|
||||
// }
|
||||
// newEnv.put("PATH", "/awips2/python/bin/:"+sysEnv.get("PATH"));
|
||||
// newEnv.put("LD_PRELOAD", "/awips2/python/lib/libpython2.7.so");
|
||||
// newEnv.put("LD_LIBRARY_PATH", "/awips2/python/lib");
|
||||
// String[] envp = new String[newEnv.keySet().size()];
|
||||
// int i = 0;
|
||||
// for (String key : newEnv.keySet()) {
|
||||
// envp[i] = key.trim() + "=" + newEnv.get(key).trim();
|
||||
// i++;
|
||||
// }
|
||||
|
||||
Process p = null;
|
||||
try {
|
||||
p = Runtime.getRuntime().exec(cmdArray);
|
||||
p.waitFor();
|
||||
} finally {
|
||||
p.destroy();
|
||||
if (p != null) {
|
||||
p.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private byte[] getMessage(InputStream in) throws Exception {
|
||||
private byte[] getMessage(InputStream in) throws IOException {
|
||||
byte[] sizeBytes = new byte[4];
|
||||
readBytes(in, sizeBytes);
|
||||
int expectedSize = MhsUtil.byteArrayToInt(sizeBytes, 0);
|
||||
|
@ -233,7 +319,7 @@ public class SocketSrv {
|
|||
return message;
|
||||
}
|
||||
|
||||
private void readBytes(InputStream in, byte[] bytes) throws Exception {
|
||||
private void readBytes(InputStream in, byte[] bytes) throws IOException {
|
||||
int expectedSize = bytes.length;
|
||||
int bytesRead = 0;
|
||||
int totalBytesRead = 0;
|
||||
|
@ -245,13 +331,20 @@ public class SocketSrv {
|
|||
}
|
||||
|
||||
private String writeToFile(String fileName, byte[] contents)
|
||||
throws Exception {
|
||||
throws IOException, InterruptedException {
|
||||
String fileFQN = fileBase + fileName + "." + getFileIndex();
|
||||
log("Writing file: " + fileFQN);
|
||||
FileOutputStream fos = new FileOutputStream(new File(fileFQN));
|
||||
fos.write(contents);
|
||||
fos.flush();
|
||||
fos.close();
|
||||
|
||||
BufferedOutputStream out = null;
|
||||
try {
|
||||
out = new BufferedOutputStream(new FileOutputStream(new File(
|
||||
fileFQN)));
|
||||
out.write(contents);
|
||||
} finally {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
|
||||
Process p = null;
|
||||
try {
|
||||
|
@ -259,7 +352,9 @@ public class SocketSrv {
|
|||
new String[] { "/bin/chmod", "777", fileFQN });
|
||||
p.waitFor();
|
||||
} finally {
|
||||
p.destroy();
|
||||
if (p != null) {
|
||||
p.destroy();
|
||||
}
|
||||
}
|
||||
return fileFQN;
|
||||
}
|
||||
|
@ -269,40 +364,34 @@ public class SocketSrv {
|
|||
if (fileIndex == 1000) {
|
||||
fileIndex = 0;
|
||||
}
|
||||
String fileNumber = String.valueOf(fileIndex);
|
||||
if (fileNumber.length() == 1) {
|
||||
fileNumber = "00" + fileNumber;
|
||||
} else if (fileNumber.length() == 2) {
|
||||
fileNumber = "0" + fileNumber;
|
||||
}
|
||||
return fileNumber;
|
||||
|
||||
NumberFormat formatter = new DecimalFormat("000");
|
||||
return formatter.format(fileIndex);
|
||||
}
|
||||
|
||||
private void loadRcvHandlerTable() throws Exception {
|
||||
private void loadRcvHandlerTable() throws IOException {
|
||||
BufferedReader in = null;
|
||||
try {
|
||||
in = new BufferedReader(new FileReader(configDir
|
||||
in = new BufferedReader(new FileReader(configDir + File.separator
|
||||
+ "rcv_handler.tbl"));
|
||||
String str = null;
|
||||
String[] tokens = null;
|
||||
|
||||
String str = null;
|
||||
while ((str = in.readLine()) != null) {
|
||||
String command = "";
|
||||
tokens = str.split(" ");
|
||||
StringBuilder commandBuilder = new StringBuilder();
|
||||
String[] tokens = str.split(" ");
|
||||
for (int i = 1; i < tokens.length; i++) {
|
||||
String cmd = tokens[i].trim();
|
||||
if (!cmd.isEmpty()) {
|
||||
if (i != 1) {
|
||||
command += " ";
|
||||
commandBuilder.append(' ');
|
||||
}
|
||||
command += cmd;
|
||||
commandBuilder.append(cmd);
|
||||
}
|
||||
}
|
||||
command = command.trim();
|
||||
|
||||
commandMap.put(Integer.parseInt(tokens[0]), command);
|
||||
String commandString = commandBuilder.toString().trim();
|
||||
commandMap.put(Integer.parseInt(tokens[0]), commandString);
|
||||
}
|
||||
in.close();
|
||||
} finally {
|
||||
if (in != null) {
|
||||
in.close();
|
||||
|
@ -311,20 +400,19 @@ public class SocketSrv {
|
|||
}
|
||||
|
||||
private String getMhsOfSender(InetSocketAddress address) {
|
||||
|
||||
String hostAddress = address.getAddress().getHostAddress();
|
||||
for (Object key : serverProps.keySet()) {
|
||||
String value = serverProps.getProperty((String) key);
|
||||
for (String mhsId : serverProps.stringPropertyNames()) {
|
||||
String value = serverProps.getProperty(mhsId);
|
||||
if (value.contains(",")) {
|
||||
String[] addrs = value.split(",");
|
||||
for (String addr : addrs) {
|
||||
if (addr.contains(hostAddress)) {
|
||||
return (String) key;
|
||||
return mhsId;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (value.contains(hostAddress)) {
|
||||
return (String) key;
|
||||
return mhsId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
118
cave/build/static/common/cave/etc/ncep/Bundles/GeoMagPlot.xml
Normal file
118
cave/build/static/common/cave/etc/ncep/Bundles/GeoMagPlot.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<bundle editor="com.raytheon.uf.viz.xy.timeseries.TimeSeriesEditor">
|
||||
<displayList>
|
||||
<displays xsi:type="timeSeriesRenderableDisplay" density="1.0" magnification="1.0" tabTitle="GeoMag Plot" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<descriptor xsi:type="geoMagDescriptor">
|
||||
<resource>
|
||||
<loadProperties loadWithoutData="false">
|
||||
<resourceType>PLAN_VIEW</resourceType>
|
||||
<capabilities>
|
||||
<capability xsi:type="colorableCapability" colorAsString="#9b9b9b"/>
|
||||
</capabilities>
|
||||
</loadProperties>
|
||||
<properties renderingOrderId="MAP_OUTLINE" isSystemResource="false" isBlinking="false" isMapLayer="true" isHoverOn="false" isVisible="true">
|
||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0"/>
|
||||
</properties>
|
||||
<resourceData xsi:type="graphResourceData" name="Time series background" overlayMode="VERTICAL"/>
|
||||
</resource>
|
||||
<resource>
|
||||
<loadProperties loadWithoutData="false">
|
||||
<resourceType>PLAN_VIEW</resourceType>
|
||||
<perspectiveProperty xsi:type="d2dLoadProperties" timeMatchBasis="true" loadMode="VALID_TIME_SEQ"/>
|
||||
<capabilities>
|
||||
<capability xsi:type="colorableCapability" colorAsString="dodger blue"/>
|
||||
<capability xsi:type="magnificationCapability" magnification="1.0"/>
|
||||
<capability xsi:type="displayTypeCapability" displayType="CONTOUR"/>
|
||||
<capability xsi:type="outlineCapability" lineStyle="DEFAULT" outlineOn="true" outlineWidth="1"/>
|
||||
</capabilities>
|
||||
</loadProperties>
|
||||
<properties renderingOrderId="UNKNOWN" isSystemResource="false" isBlinking="false" isMapLayer="false" isHoverOn="false" isVisible="true">
|
||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0"/>
|
||||
</properties>
|
||||
<resourceData xsi:type="geoMagResourceData" levelKey="" source="D_Component" retrieveData="true" isUpdatingOnMetadataOnly="false" isRequeryNecessaryOnTimeMatch="true" plotLengthInHours="12">
|
||||
<metadataMap>
|
||||
<mapping key="pluginName">
|
||||
<constraint constraintValue="geomag" constraintType="EQUALS"/>
|
||||
</mapping>
|
||||
<mapping key="stationCode">
|
||||
<constraint constraintValue="${stationCode}" constraintType="EQUALS" />
|
||||
</mapping>
|
||||
<mapping key="sourceId">
|
||||
<constraint constraintValue="${sourceId}" constraintType="EQUALS" />
|
||||
</mapping>
|
||||
</metadataMap>
|
||||
<yParameter>
|
||||
<code>nT</code>
|
||||
<name>Magnetic Flux Density</name>
|
||||
</yParameter>
|
||||
<xParameter>
|
||||
<code>time</code>
|
||||
<name>Universal Time</name>
|
||||
</xParameter>
|
||||
<coordinate>
|
||||
<x>-105.24</x>
|
||||
<y>40.03</y>
|
||||
<z>NaN</z>
|
||||
</coordinate>
|
||||
</resourceData>
|
||||
</resource>
|
||||
<resource>
|
||||
<loadProperties loadWithoutData="false">
|
||||
<resourceType>PLAN_VIEW</resourceType>
|
||||
<capabilities>
|
||||
<capability xsi:type="colorableCapability" colorAsString="#9b0000"/>
|
||||
</capabilities>
|
||||
</loadProperties>
|
||||
<properties renderingOrderId="MAP_OUTLINE" isSystemResource="false" isBlinking="false" isMapLayer="true" isHoverOn="false" isVisible="true">
|
||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0"/>
|
||||
</properties>
|
||||
<resourceData xsi:type="graphResourceData" name="Time series background2" overlayMode="VERTICAL"/>
|
||||
</resource>
|
||||
<resource>
|
||||
<loadProperties loadWithoutData="false">
|
||||
<resourceType>PLAN_VIEW</resourceType>
|
||||
<perspectiveProperty xsi:type="d2dLoadProperties" timeMatchBasis="true" loadMode="VALID_TIME_SEQ"/>
|
||||
<capabilities>
|
||||
<capability xsi:type="colorableCapability" colorAsString="red"/>
|
||||
<capability xsi:type="magnificationCapability" magnification="1.0"/>
|
||||
<capability xsi:type="displayTypeCapability" displayType="CONTOUR"/>
|
||||
<capability xsi:type="outlineCapability" lineStyle="DEFAULT" outlineOn="true" outlineWidth="1"/>
|
||||
</capabilities>
|
||||
</loadProperties>
|
||||
<properties renderingOrderId="UNKNOWN" isSystemResource="false" isBlinking="false" isMapLayer="false" isHoverOn="false" isVisible="true">
|
||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0"/>
|
||||
</properties>
|
||||
<resourceData xsi:type="geoMagResourceData" levelKey="" source="H_Component" retrieveData="true" isUpdatingOnMetadataOnly="false" isRequeryNecessaryOnTimeMatch="true" plotLengthInHours="12">
|
||||
<metadataMap>
|
||||
<mapping key="pluginName">
|
||||
<constraint constraintValue="geomag" constraintType="EQUALS"/>
|
||||
</mapping>
|
||||
<mapping key="stationCode">
|
||||
<constraint constraintValue="${stationCode}" constraintType="EQUALS" />
|
||||
</mapping>
|
||||
<mapping key="sourceId">
|
||||
<constraint constraintValue="${sourceId}" constraintType="EQUALS" />
|
||||
</mapping>
|
||||
</metadataMap>
|
||||
<yParameter>
|
||||
<code>nT</code>
|
||||
<name>Magnetic Flux Density</name>
|
||||
</yParameter>
|
||||
<xParameter>
|
||||
<code>time</code>
|
||||
<name>Universal Time</name>
|
||||
</xParameter>
|
||||
<coordinate>
|
||||
<x>-105.24</x>
|
||||
<y>40.03</y>
|
||||
<z>NaN</z>
|
||||
</coordinate>
|
||||
</resourceData>
|
||||
</resource>
|
||||
<limitedNumberOfFrames>2147483647</limitedNumberOfFrames>
|
||||
<numberOfFrames>4320</numberOfFrames>
|
||||
<timeMatcher xsi:type="d2DTimeMatcher" loadMode="VALID_TIME_SEQ" deltaFilter="0" forecastFilter="0"/>
|
||||
</descriptor>
|
||||
</displays>
|
||||
</displayList>
|
||||
</bundle>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<predefinedArea mapCenter="-35.35773354290406 22.306003473020752 0.0" areaName="ICAO-B" xmlns:ns2="com.raytheon.uf.common.datadelivery.registry" xmlns:ns3="http://www.example.org/productType">
|
||||
<ncDisplayType>NMAP_DISPLAY</ncDisplayType>
|
||||
<areaSource>PREDEFINED_AREA</areaSource>
|
||||
<zoomLevel>0.4779336750507355</zoomLevel>
|
||||
<description>N/A</description>
|
||||
<gridGeometry envelopeMaxY="1.3E7" envelopeMinY="-1.3E7" envelopeMaxX="2.0E7" envelopeMinX="-2.0E7" rangeY="0 9999" rangeX="0 15384">
|
||||
<CRS>FITTED_CS["rotated",
|
||||
PARAM_MT["Affine",
|
||||
PARAMETER["num_row", 3],
|
||||
PARAMETER["num_col", 3],
|
||||
PARAMETER["elt_0_0", -0.7071067811865476],
|
||||
PARAMETER["elt_0_1", 0.7071067811865475],
|
||||
PARAMETER["elt_1_0", -0.7071067811865475],
|
||||
PARAMETER["elt_1_1", -0.7071067811865476]],
|
||||
PROJCS["Mercator_1SP",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Mercator_1SP"],
|
||||
PARAMETER["semi_major", 6371200.0],
|
||||
PARAMETER["semi_minor", 6371200.0],
|
||||
PARAMETER["latitude_of_origin", 0.0],
|
||||
PARAMETER["central_meridian", 0.0],
|
||||
PARAMETER["scale_factor", 1.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]]</CRS>
|
||||
</gridGeometry>
|
||||
</predefinedArea>
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Created from GAREA=30.00;88.00;30.00;-92.00 PROJ=STR/-90;-142 -->
|
||||
<predefinedArea mapCenter="7.2276504904738 -86.86579105257536 0.0" areaName="S_Hemisphere" xmlns:ns2="http://www.example.org/productType" xmlns:ns3="com.raytheon.uf.common.datadelivery.registry">
|
||||
<ncDisplayType>NMAP_DISPLAY</ncDisplayType>
|
||||
<areaSource>PREDEFINED_AREA</areaSource>
|
||||
<zoomLevel>1.0</zoomLevel>
|
||||
<description>N/A</description>
|
||||
<gridGeometry envelopeMaxY="1.4186698363971762E7" envelopeMinY="-1.4186698363971766E7" envelopeMaxX="1.690704874231375E7" envelopeMinX="-1.690704874231375E7" rangeY="0 9999" rangeX="0 11917">
|
||||
<CRS>PROJCS["Polar_Stereographic",
|
||||
GEOGCS["WGS84(DD)",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Polar_Stereographic"],
|
||||
PARAMETER["semi_major", 6371229.0],
|
||||
PARAMETER["semi_minor", 6371229.0],
|
||||
PARAMETER["central_meridian", -142.0],
|
||||
PARAMETER["latitude_of_origin", -90.0],
|
||||
PARAMETER["scale_factor", 1.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</CRS>
|
||||
</gridGeometry>
|
||||
</predefinedArea>
|
|
@ -9,7 +9,17 @@
|
|||
In the Eclipse IDE, after removing the '&' character, right-click and select Validate
|
||||
to get rid of any error messages attributed to the '&' character. -->
|
||||
|
||||
|
||||
<geographical_data>
|
||||
<geog_code>SHM</geog_code>
|
||||
<geog_area_name>SOUTHERN_HEMISPHERE</geog_area_name>
|
||||
<center_lat>-89.50</center_lat>
|
||||
<center_lon>-142</center_lon>
|
||||
<lower_left_lat>30.00</lower_left_lat>
|
||||
<lower_left_lon>88.00</lower_left_lon>
|
||||
<upper_right_lat>30.00</upper_right_lat>
|
||||
<upper_right_lon>-92.00</upper_right_lon>
|
||||
<map_projection_string> STR/-90;-142</map_projection_string>
|
||||
</geographical_data>
|
||||
|
||||
<geographical_data>
|
||||
<geog_code>105</geog_code>
|
||||
|
|
|
@ -46,6 +46,10 @@
|
|||
<areaName>Caribbean</areaName>
|
||||
</AreaMenuItem>
|
||||
|
||||
<AreaMenuItem subMenuName="Atlantic" menuName="ICAO-B">
|
||||
<source>PREDEFINED_AREA</source>
|
||||
<areaName>ICAO-B</areaName>
|
||||
</AreaMenuItem>
|
||||
<AreaMenuItem subMenuName="Atlantic" menuName="Western">
|
||||
<source>PREDEFINED_AREA</source>
|
||||
<areaName>Atlantic-Western</areaName>
|
||||
|
@ -92,10 +96,15 @@
|
|||
<source>PREDEFINED_AREA</source>
|
||||
<areaName>Africa</areaName>
|
||||
</AreaMenuItem>
|
||||
<AreaMenuItem subMenuName="Other" menuName="">
|
||||
<AreaMenuItem subMenuName="DownUnder" menuName="">
|
||||
<source>PREDEFINED_AREA</source>
|
||||
<areaName>South_America</areaName>
|
||||
</AreaMenuItem>
|
||||
<!-- created from geog.xml SOUTHERN_HEMISPHERE -->
|
||||
<AreaMenuItem subMenuName="DownUnder" menuName="S_Hemisphere">
|
||||
<source>PREDEFINED_AREA</source>
|
||||
<areaName>S_Hemisphere</areaName>
|
||||
</AreaMenuItem>
|
||||
<AreaMenuItem subMenuName="World" menuName="">
|
||||
<source>PREDEFINED_AREA</source>
|
||||
<areaName>World</areaName>
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
<resourceDefnName>88Ds</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=88D.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=88D.lpi
|
||||
sourceParams=not_used
|
||||
mapName=WSR-88D Station Locs
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=ASTERISK
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=3000
|
|
@ -1,21 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>GINI_GMS</resourceDefnName>
|
||||
<resourceCategory>SATELLITE</resourceCategory>
|
||||
<resourceDefnName>Airports</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
! This must match the "creatingEntity" in the
|
||||
! satellite DB table valid values are
|
||||
pluginName=satellite
|
||||
satelliteName=GMS
|
||||
legendColor=RGB {200, 200, 200}
|
||||
sourceType=SPI_FILE
|
||||
sourceName=airports.spi
|
||||
sourceParams=not_used
|
||||
mapName=Airports
|
||||
</resourceParameters>
|
||||
<rscImplementation>GiniSatellite</rscImplementation>
|
||||
<subTypeGenerator>sectorID</subTypeGenerator>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>48</dfltTimeRange>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {255,255,255}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=3000
|
|
@ -1,21 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>GINI_JERS</resourceDefnName>
|
||||
<resourceCategory>SATELLITE</resourceCategory>
|
||||
<resourceDefnName>Buoys</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
! This must match the "creatingEntity" in the
|
||||
! satellite DB table valid values are
|
||||
pluginName=satellite
|
||||
satelliteName=JERS
|
||||
legendColor=RGB {200, 200, 200}
|
||||
sourceType=SPI_FILE
|
||||
sourceName=BUOY.spi
|
||||
sourceParams=not_used
|
||||
mapName=Fixed Buoys
|
||||
</resourceParameters>
|
||||
<rscImplementation>GiniSatellite</rscImplementation>
|
||||
<subTypeGenerator>sectorID</subTypeGenerator>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>48</dfltTimeRange>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=40100
|
||||
maxLabelDisplayWidth=40100
|
|
@ -1,21 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>GINI_NOAA16</resourceDefnName>
|
||||
<resourceCategory>SATELLITE</resourceCategory>
|
||||
<resourceDefnName>BuoysFixed</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
! This must match the "creatingEntity" in the
|
||||
! satellite DB table valid values are
|
||||
pluginName=satellite
|
||||
satelliteName=NOAA16
|
||||
legendColor=RGB {200, 200, 200}
|
||||
sourceType=STATIONS_DB_TABLE
|
||||
! catalogType=32 in common_obs_spatial db
|
||||
sourceName=BUOY_FXD
|
||||
sourceParams=stationid
|
||||
mapName=Fixed Buoys ids
|
||||
</resourceParameters>
|
||||
<rscImplementation>GiniSatellite</rscImplementation>
|
||||
<subTypeGenerator>sectorID</subTypeGenerator>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>48</dfltTimeRange>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {255,255,255}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=0.7
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>CMAN</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=STATIONS_DB_TABLE
|
||||
! catalogType=33 in common_obs_spatial db
|
||||
sourceName=CMAN
|
||||
! sourceParams=name
|
||||
sourceParams=stationid
|
||||
mapName=Coastal Marine Locations
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {255,255,255}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=0.7
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -6,6 +6,8 @@
|
|||
dbName=maps
|
||||
tableName=mapdata.cwa
|
||||
labelField=wfo
|
||||
! set this to true to display the wfo names
|
||||
displayLabelField=false
|
||||
mapName=County Warning Areas
|
||||
</resourceParameters>
|
||||
<rscImplementation>DbOverlay</rscImplementation>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>Cities</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=NCEP_DB_TABLE
|
||||
! the name of the ncep stns table
|
||||
sourceName=stns.cities
|
||||
! the name of the db field to use
|
||||
sourceParams=name
|
||||
mapName=Cities
|
||||
! This would read the lpi file instead
|
||||
!sourceType=LPI_FILE
|
||||
!sourceName=cities.lpi
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -4,4 +4,5 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
maxSymbolDisplayWidth=500
|
||||
maxLabelDisplayWidth=250
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>DwmStns</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=dlwx.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=dlwx.lpi
|
||||
mapName=DWM Stations
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=DOT
|
|||
markerSize=2
|
||||
markerWidth=1
|
||||
markerTextSize=SMALL
|
||||
markerTextAppearanceZoomLevel=3
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=4000
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>FfgZones</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=NCEP_STATIONS_TBL_FILES
|
||||
sourceName=ffgZones.xml
|
||||
! the name of the xml element in the xml file
|
||||
sourceParams=stid
|
||||
mapName=FFG Zones
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {0,255,0}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=8000
|
||||
maxLabelDisplayWidth=300
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>IcaoStations</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=STATIONS_DB_TABLE
|
||||
! catalogType=1 in common_obs_spatial db
|
||||
sourceName=ICAO
|
||||
sourceParams=icao
|
||||
mapName=ICAO Stations
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {255,255,255}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=0.7
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -3,7 +3,7 @@
|
|||
<resourceDefnName>Locator</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
# default fontSize, fontName and color which may be overridden in an attrSet.
|
||||
! default fontSize, fontName and color which may be overridden in an attrSet.
|
||||
fontSize=14
|
||||
fontName=Monospace
|
||||
color=RGB {255, 255, 255}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
! Position 1
|
||||
pos1LocatorSource=SNAP_POINTS
|
||||
pos1RoundToNearest=1
|
||||
pos1DisplayUnit=omit
|
||||
pos1DirectionUnit=omit
|
||||
! Position 2
|
||||
pos2LocatorSource=None
|
||||
pos2RoundToNearest=omit
|
||||
pos2DisplayUnit=omit
|
||||
pos2DirectionUnit=omit
|
||||
! Position 3
|
||||
pos3LocatorSource=None
|
||||
pos3RoundToNearest=omit
|
||||
pos3DisplayUnit=omit
|
||||
pos3DirectionUnit=omit
|
||||
! Position 4
|
||||
pos4LocatorSource=None
|
||||
pos4RoundToNearest=omit
|
||||
pos4DisplayUnit=omit
|
||||
pos4DirectionUnit=omit
|
||||
! Position 5
|
||||
pos5LocatorSource=None
|
||||
pos5RoundToNearest=omit
|
||||
pos5DisplayUnit=omit
|
||||
pos5DirectionUnit=omit
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>MetarStations</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=SPI_FILE
|
||||
sourceName=MTR.spi
|
||||
mapName=Metar Stations
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=40000
|
||||
maxLabelDisplayWidth=3000
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>Nexrad</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=NCEP_DB_TABLE
|
||||
! the name of the ncep stns table
|
||||
sourceName=stns.nexrad
|
||||
! the name of the db field to use
|
||||
sourceParams=name
|
||||
mapName=Nexrad
|
||||
! This would read the lpi file instead
|
||||
!sourceType=LPI_FILE
|
||||
!sourceName=nexrad.lpi
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -4,4 +4,6 @@ markerType=ASTERISK
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=5000
|
||||
maxLabelDisplayWidth=1200
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>RAOBs</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=STATIONS_DB_TABLE
|
||||
! catalogType=22 in common_obs_spatial db
|
||||
! could use UAIR also
|
||||
sourceName=RAOB
|
||||
sourceParams=icao
|
||||
mapName=RAOB Icao Ids
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>Railroads</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
dbName=maps
|
||||
tableName=mapdata.railroad
|
||||
labelField=name
|
||||
mapName=Railroads
|
||||
</resourceParameters>
|
||||
<rscImplementation>DbOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>RaobNames</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=STATIONS_DB_TABLE
|
||||
! catalogType=22 in common_obs_spatial db
|
||||
! could use UAIR or "22" also
|
||||
sourceName=RAOB
|
||||
sourceParams=name
|
||||
mapName=RAOBs by Name
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {255,255,255}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>SfcStns</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=sfstns.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=sfstns.lpi
|
||||
mapName=Surface Stations
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=0.7
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>SpcWatchName</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=NCEP_STATIONS_TBL_FILES
|
||||
sourceName=spcwatch.xml
|
||||
! the name of the xml element in the xml file
|
||||
sourceParams=stnname
|
||||
mapName=SPC Watch Anchor Points Names
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {0,255,0}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=BOX_WITH_DIAGONALS
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=700
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>SynopStationIds</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=STATIONS_DB_TABLE
|
||||
sourceName=Synop
|
||||
sourceParams=stationid
|
||||
mapName=Synoptic Stations
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {255,0,0}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=0.7
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=20100
|
||||
maxLabelDisplayWidth=1500
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>VORs</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=vors.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=vors.lpi
|
||||
mapName=VORs
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
color= RGB {0,0,255}
|
||||
markerState=MARKER_ONLY
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=TRIANGLE
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=3
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=300
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>VolcanoNames</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=volcano_names.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=volcano_names.lpi
|
||||
mapName=Volcano Names
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=TRIANGLE
|
|||
markerSize=1.0
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=8
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=40100
|
||||
maxLabelDisplayWidth=5000
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>Volcanos</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=volcano.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=volcano.lpi
|
||||
mapName=Volcanos
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=FILLED_TRIANGLE
|
|||
markerSize=1.2
|
||||
markerWidth=1
|
||||
markerTextSize=SMALL
|
||||
markerTextAppearanceZoomLevel=5
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=40100
|
||||
maxLabelDisplayWidth=500
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>VolcanosAll</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=LPI_FILE
|
||||
sourceName=volcanoes.lpi
|
||||
mapName=All Volcanos
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {0,255,0}
|
||||
markerState=MARKER_ONLY
|
||||
markerType=FILLED_TRIANGLE
|
||||
markerSize=1.2
|
||||
markerWidth=1
|
||||
markerTextSize=SMALL
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=40100
|
||||
maxLabelDisplayWidth=500
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>VorNames</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
sourceType=NCEP_STATIONS_TBL_FILES
|
||||
sourceName=vors.xml
|
||||
! the name of the xml element in the xml file
|
||||
sourceParams=stnname
|
||||
mapName=VOR Names
|
||||
</resourceParameters>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>0</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,9 @@
|
|||
color= RGB {0,0,255}
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=TRIANGLE
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=4000
|
||||
maxLabelDisplayWidth=600
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>WFOs</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=wfo.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=wfo.lpi
|
||||
mapName=WFO
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=STAR
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=4
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=4000
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>countyCluster</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=cnty_clst.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=cnty_clst.lpi
|
||||
mapName=County Clusters
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
color= RGB {255,255,0}
|
||||
markerState=MARKER_ONLY
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=OCTAGON
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=300
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>countyNames</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=us_county.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=us_county.lpi
|
||||
mapName=County Names
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=3
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=2000
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>cpcStations</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=cpcstns.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=cpcstns.lpi
|
||||
mapName=CPC Stations
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=4000
|
||||
|
|
|
@ -4,4 +4,6 @@ markerType=PLUS_SIGN
|
|||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=1200
|
||||
maxLabelDisplayWidth=600
|
||||
|
|
|
@ -3,10 +3,17 @@
|
|||
<resourceDefnName>snapPoints</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=snap.lpi
|
||||
sourceType=NCEP_DB_TABLE
|
||||
! the name of the ncep stns table
|
||||
sourceName=stns.snap
|
||||
! the name of the db field to use
|
||||
sourceParams=station_name
|
||||
! This would read the lpi file instead
|
||||
!sourceType=LPI_FILE
|
||||
!sourceName=snap.lpi
|
||||
mapName=Snap Points
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
color= RGB {0,255,0}
|
||||
markerState=MARKER_ONLY
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=BOX_WITH_DIAGONALS
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=1
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth=10000
|
||||
maxLabelDisplayWidth=300
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>spcwatch</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=spcwatch.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=spcwatch.lpi
|
||||
mapName=SPC Watch Anchor Points
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
color= RGB {205,0,0}
|
||||
markerState=TEXT_ONLY
|
||||
markerState=MARKER_PLUS_TEXT
|
||||
markerType=PLUS_SIGN
|
||||
markerSize=1
|
||||
markerWidth=1
|
||||
markerTextSize=MEDIUM
|
||||
markerTextAppearanceZoomLevel=3
|
||||
! the distance in km of the screen width when the symbols/labels will be displayed.
|
||||
maxSymbolDisplayWidth= 300
|
||||
maxLabelDisplayWidth=2000
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
<resourceDefnName>wrqpf</resourceDefnName>
|
||||
<resourceCategory>OVERLAY</resourceCategory>
|
||||
<resourceParameters>
|
||||
LpiFilename=wrqpf.lpi
|
||||
sourceType=LPI_FILE
|
||||
sourceName=wrqpf.lpi
|
||||
mapName=WR_QPF
|
||||
</resourceParameters>
|
||||
<rscImplementation>LpiOverlay</rscImplementation>
|
||||
<rscImplementation>PointOverlay</rscImplementation>
|
||||
<subTypeGenerator></subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
|
|
|
@ -1,21 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>GINI_GOES7</resourceDefnName>
|
||||
<resourceCategory>SATELLITE</resourceCategory>
|
||||
<resourceDefnName>Atlantic_500mb</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! This must match the "creatingEntity" in the
|
||||
! satellite DB table valid values are
|
||||
pluginName=satellite
|
||||
satelliteName=GOES-7(H)
|
||||
legendColor=RGB {200, 200, 200}
|
||||
pluginName=pgen
|
||||
activityLabel=Atlantic_500mb
|
||||
activityName=Atlantic_500mb
|
||||
activityType=Atlantic_500mb
|
||||
!activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%1
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>GiniSatellite</rscImplementation>
|
||||
<subTypeGenerator>sectorID</subTypeGenerator>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<dfltTimeRange>48</dfltTimeRange>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>Atlantic_Surface</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
pluginName=pgen
|
||||
activityLabel=Atlantic_Surface
|
||||
activityName=Atlantic_Surface
|
||||
activityType=Atlantic_Surface
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>Atlantic_Wind_Wave</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/Atlantic_Wind_Wave/xml
|
||||
pluginName=pgen
|
||||
activityLabel=Atlantic_Wind_Wave
|
||||
activityName=Atlantic Wind Wave
|
||||
activityType=Atlantic Wind Wave
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>CCFP-ByZ</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
pluginName=pgen
|
||||
activityLabel=%
|
||||
activityName=CCFP
|
||||
activityType=CCFP
|
||||
!activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>activitySubtype</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>CCFP</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/CCFP/xml
|
||||
pluginName=pgen
|
||||
activityLabel=CCFP
|
||||
activityName=CCFP
|
||||
activityType=CCFP
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>CONV_SIGMET</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/CONV_SIGMET/xml
|
||||
pluginName=pgen
|
||||
activityLabel=CONV_SIGMET
|
||||
activityName=CONV SIGMET
|
||||
activityType=CONV SIGMET
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>Convective_Outlook</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/Convective_Outlook/xml
|
||||
pluginName=pgen
|
||||
activityLabel=Convective_Outlook
|
||||
activityName=Convective Outlook
|
||||
activityType=Convective Outlook
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>Extended_Range</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/Extended_Range/xml
|
||||
pluginName=pgen
|
||||
activityLabel=Extended_Range
|
||||
activityName=Extended Range
|
||||
activityType=Extended Range
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>G_AIRMET-ByLabel</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
pluginName=pgen
|
||||
!activityLabel=%
|
||||
activityName=G_AIRMET
|
||||
activityType=G_AIRMET
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>activityLabel</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>G_AIRMET-BySubType</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
pluginName=pgen
|
||||
activityLabel=%
|
||||
activityName=G_AIRMET
|
||||
activityType=G_AIRMET
|
||||
!activitySubtype=None
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>activitySubtype</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>G_AIRMET-East</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
pluginName=pgen
|
||||
activityLabel=%
|
||||
activityName=G_AIRMET
|
||||
activityType=G_AIRMET
|
||||
activitySubtype=East
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
|
||||
<resourceDefnName>G_AIRMET-West</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
pluginName=pgen
|
||||
activityLabel=%
|
||||
activityName=G_AIRMET
|
||||
activityType=G_AIRMET
|
||||
activitySubtype=West
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>G_AIRMET</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/G_AIRMET/xml
|
||||
pluginName=pgen
|
||||
activityLabel=Enter name of product here
|
||||
activityName=G_AIRMET
|
||||
activityType=G_AIRMET
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>HPC_Basic_WX</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/HPC_Basic_WX/xml
|
||||
pluginName=pgen
|
||||
activityLabel=HPC_Basic_WX
|
||||
activityName=HPC Basic WX
|
||||
activityType=HPC Basic WX
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
|
@ -0,0 +1,6 @@
|
|||
! Attributes for PGEN XML
|
||||
!
|
||||
color=RGB {155, 155, 155}
|
||||
monoColorEnable=false
|
||||
monoColor=RGB {0, 255, 0}
|
||||
fillModeEnable=true
|
|
@ -3,17 +3,23 @@
|
|||
<resourceDefnName>HPC_QPF</resourceDefnName>
|
||||
<resourceCategory>PGEN</resourceCategory>
|
||||
<resourceParameters>
|
||||
! the sub-directory under the current PGEN working directory
|
||||
! TODO : may want to change pgenDirectory to productType/activity and get the directory of the productType
|
||||
pgenDirectory=/home/awp2pgen/activities/HPC_QPF/xml
|
||||
pluginName=pgen
|
||||
activityLabel=HPC_QPF
|
||||
activityName=HPC QPF
|
||||
activityType=HPC QPF
|
||||
activitySubtype=%
|
||||
operatingMode=OPERATIONAL
|
||||
site=%
|
||||
desk=%
|
||||
forecaster=%
|
||||
</resourceParameters>
|
||||
<rscImplementation>PGEN</rscImplementation>
|
||||
<subTypeGenerator>productName</subTypeGenerator>
|
||||
<subTypeGenerator>dataTime</subTypeGenerator>
|
||||
<rscTypeGenerator></rscTypeGenerator>
|
||||
<timeMatchMethod>CLOSEST_BEFORE_OR_AFTER</timeMatchMethod>
|
||||
<frameSpan>60</frameSpan>
|
||||
<timelineGenMethod>USE_FRAME_INTERVAL</timelineGenMethod>
|
||||
<dfltFrameCount>10</dfltFrameCount>
|
||||
<timeMatchMethod>MATCH_ALL_DATA</timeMatchMethod>
|
||||
<frameSpan>2147483647</frameSpan>
|
||||
<timelineGenMethod>USE_DATA_TIMES</timelineGenMethod>
|
||||
<dfltFrameCount>1</dfltFrameCount>
|
||||
<dfltTimeRange>24</dfltTimeRange>
|
||||
<dfltGeogArea>BasicWX_US</dfltGeogArea>
|
||||
</ResourceDefinition>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue