create single profile.d file for Installer.version and remove from every other program

This commit is contained in:
mjames-upc 2016-01-08 02:35:51 -07:00
parent ff2e1e269f
commit d02666441e
72 changed files with 156 additions and 3630 deletions

View file

@ -11,7 +11,7 @@ then
fi
export PATH=$PATH:$GFESUITE_HOME/bin:$GFESUITE_HOME/ServiceBackup/scripts:/awips2/fxa/bin/
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
# Make the directories
[ ! -d ${SVCBU_HOME} ] && (umask 000;mkdir -p ${SVCBU_HOME})

View file

@ -72,10 +72,6 @@ mkdir -p ${RPM_BUILD_ROOT}/etc/xdg/autostart
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
CAVE_DIST_DIR="%{_baseline_workspace}/rpms/awips2.cave/setup/dist"
@ -86,13 +82,6 @@ cd ${RPM_BUILD_ROOT}/awips2
unzip %{_component_zip_file_name}
rm -f %{_component_zip_file_name}
# Our profile.d scripts
PROFILE_D_DIR="%{_baseline_workspace}/rpms/common/environment/awips2-cave/profile.d"
cp ${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
# The AWIPS II version script.
VERSIONS_SCRIPT="rpms/utility/scripts/versions.sh"
cp %{_baseline_workspace}/${VERSIONS_SCRIPT} ${RPM_BUILD_ROOT}/awips2/cave
@ -319,10 +308,6 @@ fi
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(644,root,root,-)
/etc/profile.d/awips2Cave.csh
/etc/profile.d/awips2Cave.sh
%defattr(644,awips,fxalpha,755)
%dir /awips2
%dir /awips2/cave

View file

@ -60,7 +60,6 @@ function copyLegal()
}
mkdir -p ${RPM_BUILD_ROOT}/awips2/ant
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
_core_rpms="%{_baseline_workspace}/rpms/awips2.core"
_installer_ant="${_core_rpms}/Installer.ant"
@ -74,9 +73,6 @@ cp -r %{_build_root}/awips2/apache-ant-1.7.1/* \
%{_build_root}/awips2/ant
rm -rf %{_build_root}/awips2/apache-ant-1.7.1
PROFILE_D_DIR="rpms/awips2.core/Installer.ant/scripts/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* %{_build_root}/etc/profile.d
copyLegal "awips2/ant"
%pre
@ -99,8 +95,6 @@ rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,awips,fxalpha,-)
%attr(755,root,root) /etc/profile.d/awips2Ant.csh
%attr(755,root,root) /etc/profile.d/awips2Ant.sh
%dir /awips2/ant
%dir /awips2/ant/bin
%attr(755,awips,fxalpha) /awips2/ant/bin/ant

View file

@ -1,10 +0,0 @@
#!/bin/csh
# Determine where ant has been installed.
setenv ANT_INSTALL "/awips2/ant"
if $?PATH then
setenv PATH ${ANT_INSTALL}/bin:$PATH
else
setenv PATH ${ANT_INSTALL}
endif

View file

@ -1,16 +0,0 @@
#!/bin/bash
if [ -d /awips2/ant ]; then
# Determine Where Ant Has Been Installed.
ANT_INSTALL=/awips2/ant
# Update The Environment.
export ANT_HOME="${ANT_INSTALL}"
# Determine If Ant Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${ANT_INSTALL}`
if [ ! "${CHECK_PATH}" = "" ]; then
return
fi
# Ant Is Not In The Path; Add It To The Path.
export PATH="${ANT_INSTALL}/bin:${PATH}"
fi

View file

@ -73,17 +73,9 @@ cp -r %{_baseline_workspace}/${CLI_PROJECT_DIR}/impl/* ${RPM_BUILD_ROOT}/awips2/
copyLegal "awips2/fxa"
# Copy our profile.d scripts.
CLI_DIRECTORY="rpms/awips2.core/Installer.cli"
PROFILE_D_DIRECTORY="${CLI_DIRECTORY}/scripts/profile.d"
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
cp %{_baseline_workspace}/${PROFILE_D_DIRECTORY}/* \
${RPM_BUILD_ROOT}/etc/profile.d
# Copy fxa data files
cp -r %{_baseline_workspace}/${CLI_DIRECTORY}/fxa/* ${RPM_BUILD_ROOT}/awips2/fxa/
%pre
if [ "${1}" = "2" ]; then
exit 0
@ -131,8 +123,6 @@ rm -rf ${RPM_BUILD_ROOT}
%docdir /awips2/fxa/licenses
%dir /awips2/fxa/licenses
/awips2/fxa/licenses/*
/etc/profile.d/awips2CLI.csh
/etc/profile.d/awips2CLI.sh
%defattr(755,awips,fxalpha,755)
%dir /awips2/fxa/bin
%dir /awips2/fxa/data

View file

@ -1,8 +0,0 @@
#!/bin/bash
# Determine where awips2-cli has been installed.
if [ -d /awips2/fxa ]; then
CLI_INSTALL=/awips2/fxa
export PATH=${CLI_INSTALL}/bin:${PATH}
fi

View file

@ -46,10 +46,6 @@ mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
GFESUITE_PROJECT="com.raytheon.uf.tools.gfesuite"
GFESUITE_DEPLOY_SCRIPT="%{_baseline_workspace}/${GFESUITE_PROJECT}/deploy.xml"
@ -80,16 +76,11 @@ if [ $? -ne 0 ]; then
exit 1
fi
# Copy the profile.d scripts.
PROFILE_D_DIR="rpms/common/environment/awips2-gfesuite/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(644,root,root,-)
/etc/profile.d/*
%defattr(644,awips,fxalpha,755)
%dir /awips2
%dir /awips2/GFESuite

View file

@ -46,10 +46,6 @@ mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
GFESUITE_PROJECT="com.raytheon.uf.tools.gfesuite"
GFESUITE_DEPLOY_SCRIPT="%{_baseline_workspace}/${GFESUITE_PROJECT}/deploy.xml"
@ -81,17 +77,11 @@ if [ $? -ne 0 ]; then
exit 1
fi
# Copy the profile.d scripts.
PROFILE_D_DIR="rpms/common/environment/awips2-gfesuite/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(644,root,root,-)
/etc/profile.d/*
%defattr(644,awips,fxalpha,755)
%dir /awips2
%dir /awips2/GFESuite

View file

@ -44,15 +44,10 @@ mkdir -p %{_build_root}/awips2
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
RPMS_DIRECTORY="%{_baseline_workspace}/rpms"
INSTALLER_GROOVY="${RPMS_DIRECTORY}/awips2.core/Installer.groovy"
_profile_scripts="${INSTALLER_GROOVY}/scripts/profile.d"
_groovy_dist="${INSTALLER_GROOVY}/src/groovy-binary-%{_groovy_version}.zip"
unzip ${_groovy_dist} -d %{_build_root}/awips2
@ -65,18 +60,11 @@ if [ $? -ne 0 ]; then
exit 1
fi
cp ${_profile_scripts}/* %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(644,awips,fxalpha,755)
%attr(755,root,root) /etc/profile.d/awips2Groovy.csh
%attr(755,root,root) /etc/profile.d/awips2Groovy.sh
%dir /awips2/groovy
%dir /awips2/groovy/conf

View file

@ -1,4 +0,0 @@
#!/bin/bash
export GROOVY_HOME=/awips2/groovy
export PATH=${GROOVY_HOME}/bin:${PATH}

View file

@ -7,7 +7,7 @@
Summary: Pypies Apache HTTP Server
Name: awips2-httpd-pypies
Version: 2.2.15
Release: 15.10
Release: 15.11
URL: http://httpd.apache.org/
Source0: http://archive.apache.org/dist/httpd/httpd-%{version}.tar.gz
Source1: index.html

View file

@ -75,7 +75,7 @@ check13 () {
# when not running is also a failure. So we just do it the way init scripts
# are expected to behave here.
start() {
source /etc/profile.d/awips2HDF5Tools.sh
source /etc/profile.d/awips2.sh
echo -n $"Starting logging service:"
nohup su awips -c "$loggingCmd > /tmp/pypiesLoggingService.log 2>&1" > /dev/null &
RC=$?

View file

@ -206,8 +206,6 @@ rm -rf %{_java_build_loc}
%files
%defattr(644,awips,fxalpha,755)
%attr(755,root,root) /etc/profile.d/awips2Java.csh
%attr(755,root,root) /etc/profile.d/awips2Java.sh
%dir /awips2/java
%dir /awips2/java/bin

View file

@ -1,14 +0,0 @@
#!/bin/bash
if [ -d /awips2/java ]; then
JAVA_INSTALL="/awips2/java"
# Update The Environment
export JAVA_HOME=${JAVA_INSTALL}
# Determine If Java Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${JAVA_INSTALL}`
if [ ! "${CHECK_PATH}" = "" ]; then
return
fi
# Java Is Not In The Path; Add It To The Path.
export PATH=${JAVA_INSTALL}/bin:${PATH}
fi

View file

@ -1,436 +0,0 @@
%define _ldm_version 6.12.9
%define _ldm_src_tar ldm-%{_ldm_version}.tar.gz
# ldm-%{_ldm_version}.tar.gz is tarred up ldm-%{_ldm_version}/src dir after
# ISG makes retrans changes
#
# AWIPS II LDM Spec File
#
%define __prelink_undo_cmd %{nil}
Name: awips2-ldm
Summary: AWIPS II LDM Distribution
Version: %{_ldm_version}
Release: %{_component_version}.%{_component_release}
Group: AWIPSII
BuildRoot: /tmp
BuildArch: noarch
URL: N/A
License: N/A
Distribution: N/A
Vendor: Raytheon
Packager: Bryan Kowal
AutoReq: no
Requires: awips2-qpid-lib
requires: awips2-python
requires: awips2-python
provides: awips2-ldm
provides: awips2-base-component
%description
AWIPS II LDM Distribution - Contains AWIPS II LDM.
%prep
# Ensure that a "buildroot" has been specified.
if [ "%{_build_root}" = "" ]; then
echo "ERROR: A BuildRoot has not been specified."
echo "FATAL: Unable to Continue ... Terminating."
exit 1
fi
if [ -d %{_build_root} ]; then
rm -rf %{_build_root}
fi
%build
%install
# create the ldm directory
/bin/mkdir -p %{_build_root}/usr/local/ldm/SOURCES
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mkdir -p %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mkdir -p %{_build_root}/etc/ld.so.conf.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mkdir -p %{_build_root}/etc/logrotate.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mkdir -p %{_build_root}/etc/init.d
if [ $? -ne 0 ]; then
exit 1
fi
_ldm_destination=%{_build_root}/usr/local/ldm
_ldm_destination_source=${_ldm_destination}/SOURCES
_NATIVELIB_PROJECTS=( 'edexBridge' 'decrypt_file' )
_RPM_directory=%{_baseline_workspace}/rpms
_Installer_ldm=${_RPM_directory}/awips2.core/Installer.ldm
# copy the ldm source to the ldm destination directory.
/bin/cp ${_Installer_ldm}/src/%{_ldm_src_tar} ${_ldm_destination_source}
if [ $? -ne 0 ]; then
exit 1
fi
# package nativelib projects
pushd . > /dev/null 2>&1
cd %{_baseline_workspace}
if [ $? -ne 0 ]; then
exit 1
fi
for nativeProject in ${_NATIVELIB_PROJECTS[*]};
do
/bin/tar -cf ${nativeProject}.tar ${nativeProject}
if [ $? -ne 0 ]; then
exit 1
fi
# move nativeLib to LDM SOURCES for post-installation
# build.
/bin/mv ${nativeProject}.tar \
${_ldm_destination_source}/${nativeProject}.tar
if [ $? -ne 0 ]; then
exit 1
fi
done
popd > /dev/null 2>&1
# copy ldm "patches" to SOURCES for post-installation
# unpacking.
cd ${_Installer_ldm}/patch
if [ $? -ne 0 ]; then
exit 1
fi
_PATCH_DIRS=( 'bin' 'decoders' 'etc' )
for patchDir in ${_PATCH_DIRS[*]};
do
/bin/tar -cf ${patchDir}.tar ${patchDir}
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mv ${patchDir}.tar \
${_ldm_destination_source}/${patchDir}.tar
if [ $? -ne 0 ]; then
exit 1
fi
done
# copy environment scripts to their destination
/bin/cp profile.d/* %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/cp ld.so.conf.d/* %{_build_root}/etc/ld.so.conf.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/cp logrotate.d/* %{_build_root}/etc/logrotate.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/cp init.d/* %{_build_root}/etc/init.d
if [ $? -ne 0 ]; then
exit 1
fi
%pre
if [ -d /tmp/ldm ]; then
rm -rf /tmp/ldm
fi
mkdir -p /tmp/ldm
for dir in etc .ssh;
do
if [ -d /usr/local/ldm/${dir} ]; then
scp -qrp /usr/local/ldm/${dir} /tmp/ldm
fi
done
%post
_ldm_dir=/usr/local/ldm
_ldm_root_dir=${_ldm_dir}/ldm-%{_ldm_version}
_myHost=`hostname`
_myHost=`echo ${_myHost} | cut -f1 -d'-'`
# Remove old ldm dir
rm -rf ${_ldm_root_dir}
pushd . > /dev/null 2>&1
cp ${_ldm_dir}/SOURCES/%{_ldm_src_tar} ${_ldm_dir}
# unpack the ldm source
#/bin/tar -xf %{_ldm_src_tar} \
# -C ${_ldm_dir}
cd ${_ldm_dir}
gunzip -c %{_ldm_src_tar} | pax -r '-s:/:/src/:'
if [ $? -ne 0 ]; then
exit 1
fi
rm -f %{_ldm_src_tar}
if [ $? -ne 0 ]; then
exit 1
fi
chown -R ldm:fxalpha ${_ldm_dir}
# create .bash_profile
if [ ! -f /usr/local/ldm/.bash_profile ]; then
echo 'umask 002' > \
/usr/local/ldm/.bash_profile
echo 'export PATH=$HOME/decoders:$HOME/util:$HOME/bin:$PATH' >> \
/usr/local/ldm/.bash_profile
echo 'export MANPATH=$HOME/share/man:/usr/share/man' >> \
/usr/local/ldm/.bash_profile
/bin/chown ldm:fxalpha /usr/local/ldm/.bash_profile
fi
pushd . > /dev/null 2>&1
# build ldm
rm -f ~ldm/runtime
cd ${_ldm_root_dir}/src
if [ $? -ne 0 ]; then
exit 1
fi
export _current_dir=`pwd`
su ldm -lc "cd ${_current_dir}; ./configure --disable-max-size --with-noaaport --with-retrans --disable-root-actions --prefix=${_ldm_root_dir} CFLAGS='-g -O0'" \
> configure.log 2>&1
if [ $? -ne 0 ]; then
echo "FATAL: ldm configure has failed!"
exit 1
fi
# Fix libtool incompatibility in source tar ball
su ldm -lc "cd ${_current_dir}; rm -f libtool; ln -s /usr/bin/libtool libtool"
export _current_dir=`pwd`
su ldm -lc "cd ${_current_dir}; make install" > install.log 2>&1
if [ $? -ne 0 ]; then
echo "FATAL: make install has failed!"
exit 1
fi
popd > /dev/null 2>&1
pushd . > /dev/null 2>&1
cd ${_ldm_root_dir}/src
make root-actions > root-actions.log 2>&1
if [ $? -ne 0 ]; then
echo "FATAL: root-actions has failed!"
exit 1
fi
popd > /dev/null 2>&1
# unpack bin, decoders, and etc.
pushd . > /dev/null 2>&1
cd ${_ldm_dir}/SOURCES
_PATCH_DIRS=( 'bin' 'decoders' 'etc' )
for patchDir in ${_PATCH_DIRS[*]};
do
/bin/tar -xf ${patchDir}.tar -C ${_ldm_dir}
if [ $? -ne 0 ]; then
exit 1
fi
/bin/rm -f ${patchDir}.tar
if [ $? -ne 0 ]; then
exit 1
fi
done
/bin/chmod a+x ${_ldm_dir}/bin/*
/bin/chown ldm:fxalpha ${_ldm_root_dir}/bin
/bin/chown -R ldm:fxalpha ${_ldm_dir}/etc ${_ldm_dir}/decoders
popd > /dev/null 2>&1
# construct pqact
pushd . > /dev/null 2>&1
cd ${_ldm_dir}/etc
if [ $? -ne 0 ]; then
exit 1
fi
if [ ! -f pqact.conf.template ]; then
echo "ERROR: pqact.conf.template does not exist."
exit 1
fi
if [ ! -f pqact.conf.dev ]; then
echo "ERROR: pqact.conf.dev does not exist."
exit 1
fi
cp pqact.conf.template pqact.conf
if [ $? -ne 0 ]; then
exit 1
fi
if [ ${_myHost} != "cpsbn1" -a ${_myHost} != "cpsbn2" -a ${_myHost} != "dx1" -a ${_myHost} != "dx2" ] ; then
cat pqact.conf.dev >> pqact.conf
if [ $? -ne 0 ]; then
echo "ERROR: Unable to merge pqact.conf.dev and pqact.conf."
exit 1
fi
fi
popd > /dev/null 2>&1
# build decrypt_file & edexBridge
pushd . > /dev/null 2>&1
cd ${_ldm_dir}/SOURCES
/bin/tar -xf decrypt_file.tar
if [ $? -ne 0 ]; then
echo "FATAL: failed to untar decrypt_file.tar!"
exit 1
fi
/bin/tar -xf edexBridge.tar
if [ $? -ne 0 ]; then
echo "FATAL: failed to untar edexBridge.tar!"
exit 1
fi
/bin/rm -f *.tar
if [ $? -ne 0 ]; then
echo "FATAL: failed to remove edexBridge.tar and decrypt_file.tar!"
exit 1
fi
/bin/chown -R ldm:fxalpha ${_ldm_dir}/SOURCES
if [ $? -ne 0 ]; then
echo "FATAL: failed to change owner of ldm SOURCES directory."
exit 1
fi
cd decrypt_file
if [ $? -ne 0 ]; then
exit 1
fi
export _current_dir=`pwd`
su ldm -lc "cd ${_current_dir}; gcc -D_GNU_SOURCE -o decrypt_file decrypt_file.c" > \
decrypt_file.log 2>&1
if [ $? -ne 0 ]; then
echo "FATAL: failed to build decrypt_file!"
exit 1
fi
/bin/mv decrypt_file ${_ldm_dir}/decoders/decrypt_file
if [ $? -ne 0 ]; then
echo "FATAL: failed to move built decrypt_file to ldm decoders directory!"
exit 1
fi
cd ../edexBridge
if [ $? -ne 0 ]; then
exit 1
fi
export _current_dir=`pwd`
su ldm -lc "cd ${_current_dir}; g++ edexBridge.cpp -I${_ldm_root_dir}/src/pqact \
-I${_ldm_root_dir}/include \
-I${_ldm_root_dir}/src \
-I/awips2/qpid/include \
-L${_ldm_root_dir}/lib \
-L/awips2/qpid/lib \
-l ldm -l xml2 -l qpidclient -l qpidmessaging -l qpidcommon -l qpidtypes -o edexBridge" > \
edexBridge.log 2>&1
if [ $? -ne 0 ]; then
echo "FATAL: failed to build edexBridge!"
exit 1
fi
/bin/mv edexBridge ${_ldm_dir}/bin/edexBridge
if [ $? -ne 0 ]; then
echo "FATAL: failed to move edexBridge to ldm bin directory!"
exit 1
fi
cd ..
popd > /dev/null 2>&1
if [ ! -d .ssh ] &&
[ -d /tmp/ldm/.ssh ]; then
scp -qrp /tmp/ldm/.ssh /usr/local/ldm
fi
for _file in $( ls /tmp/ldm/etc/pqact.conf.* | grep -wE "pqact.conf.[a-z]{3,4}" | grep -v pqact.conf.dev | xargs ) ;
do
if [[ ! -f /usr/local/ldm/etc/${_file} ]]; then
scp -qp ${_file} /usr/local/ldm/etc/
fi
done
#if a remote CP site, copy over the filtered data configuration
#if [ ${_myHost} == "dx1" -o ${_myHost} == "dx2" ] ; then
# case $SITE_IDENTIFIER in gum|hfo|pbp|vrh)
# echo -e "\nInstalling ldmd.conf for $SITE_IDENTIFIER."
# if ! scp /usr/local/ldm-%{_ldm_version}/etc/ldmd.conf.$SITE_IDENTIFIER cpsbn1:/usr/local/ldm/etc/ldmd.conf
# then
# echo "ERROR: Failed copy of ldmd.conf to cpsbn1"
# fi
#
# if ! scp /usr/local/ldm-%{_ldm_version}/etc/ldmd.conf.$SITE_IDENTIFIER cpsbn2:/usr/local/ldm/etc/ldmd.conf
# then
# echo "ERROR: Failed copy of ldmd.conf to cpsbn2"
# fi
# ;;
# esac
#fi
# remove the extra configuration files
rm -f /usr/local/ldm/etc/ldmd.conf.*
/sbin/ldconfig
# create route-eth1, if it does not already exist.
if [ ${_myHost} == "cpsbn1" -o ${_myHost} == "cpsbn2" ] ; then
if [ ! -f /etc/sysconfig/network-scripts/route-eth1 ]; then
_route_eth1=/etc/sysconfig/network-scripts/route-eth1
touch ${_route_eth1}
echo "ADDRESS0=224.0.1.1" > ${_route_eth1}
echo "NETMASK0=255.255.255.255" >> ${_route_eth1}
echo "ADDRESS1=224.0.1.2" >> ${_route_eth1}
echo "NETMASK1=255.255.255.255" >> ${_route_eth1}
echo "ADDRESS2=224.0.1.3" >> ${_route_eth1}
echo "NETMASK2=255.255.255.255" >> ${_route_eth1}
echo "ADDRESS3=224.0.1.4" >> ${_route_eth1}
echo "NETMASK3=255.255.255.255" >> ${_route_eth1}
echo "ADDRESS4=224.0.1.5" >> ${_route_eth1}
echo "NETMASK4=255.255.255.255" >> ${_route_eth1}
echo "ADDRESS5=224.0.1.6" >> ${_route_eth1}
echo "NETMASK5=255.255.255.255" >> ${_route_eth1}
# restart networking
/sbin/service network restart
fi
# check for some AWIPS specific links for the CP devices
for _dirs in data logs ; do
if [[ -h /usr/local/ldm/${_dirs} && $(readlink /usr/local/ldm/${_dirs}) != "/data/ldm/${_dirs}" ]] ; then
if ! rm -f /usr/local/ldm/${_dirs} ; then
echo "ERROR: Failed to remove /usr/local/ldm/${_dirs}"
else
if ! ln -s /data/ldm/${_dirs} /usr/local/ldm/${_dirs} ; then
echo "ERROR: Failed to create link from /usr/local/ldm/${_dirs} --> /data/ldm/${_dirs}"
fi
fi
fi
done
fi
rm -rf /tmp/ldm
# remove the ldm SOURCES directory
/bin/rm -rf ${_ldm_dir}/SOURCES
if [ $? -ne 0 ]; then
exit 1
fi
%preun
%postun
/sbin/ldconfig
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,ldm,fxalpha,-)
%dir /usr/local/ldm
%dir /usr/local/ldm/SOURCES
/usr/local/ldm/SOURCES/*
%attr(755,root,root) /etc/profile.d/awipsLDM.csh
%attr(755,root,root) /etc/ld.so.conf.d/awips2-ldm.conf
%attr(755,root,root) /etc/logrotate.d/ldm.log
%attr(755,root,root) /etc/init.d/ldmcp

View file

@ -1,4 +0,0 @@
export LDMHOME=$HOME
export PATH=$HOME/decoders:$HOME/util:$HOME/bin:$PATH
export MANPATH=$HOME/main:/usr/share/man
umask 003

View file

@ -1 +0,0 @@
umask 003

View file

@ -1,6 +0,0 @@
umask 002
setenv LDMHOME $HOME
set path=($HOME/decoders $HOME/util $HOME/bin $path)
setenv MANPATH $HOME/man
setenv VDIR ldm-6.7.0
limit coredumpsize unlimited

View file

@ -1,17 +0,0 @@
#!/bin/bash
myPID=$$
echo -e "`date +%Y%m%d`\t`date +%H:%M:%S`\tStarting Script (pid = $myPID, parent = $PPID)" >> ~/logs/`basename $0 .sh`
if ps -wef|grep `basename $0` | grep -v grep | grep -v $myPID | grep -v $PPID
then
exit 0
fi
cd /data_store
while true
do
for _dir in `ls`
do
echo -e "`date +%Y%m%d`\t`date +%H:%M:%S`\t\tfind ${_dir} -mtime +0 -type f -exec rm -f {} \;" >> ~/logs/`basename $0 .sh`
find ${_dir} -mtime +0 -type f -exec rm -f {} \;
done
done

View file

@ -1,59 +0,0 @@
#!/bin/bash
# Check for necessary named pipes (FIFOs)
myhost=`hostname | awk -F'-' '{ print substr($1,1,length($1)-1)}'`
# Check for the host type nad perform operations accordingly
if [ "$myhost" = "cpsbn" ]; then
echo "Checking for availability of named pipes"
if [ -p /dev/p_LOG ];then
echo "Pipe /dev/p_LOG exists"
else
mknod /dev/p_LOG p
fi
chmod 664 /dev/p_LOG && chgrp fxalpha /dev/p_LOG
if [ -p /dev/p_LOST ];then
echo "Pipe /dev/p_LOST exists"
else
mknod /dev/p_LOST p
fi
chmod 664 /dev/p_LOST && chgrp fxalpha /dev/p_LOST
if [ -f /etc/rc.config.d/AWIPS ];then
. /etc/rc.config.d/AWIPS
else
echo "AWIPS file not found.Install AWIPS and proceed."
echo "Exiting."
exit $?
fi
# Start AWIPS-I retransmission process
# Move to a2cp1apps to prevent duplicate retransmission request from both CPs
# $PROJECT/bin/start_sbn_retransmit
# Setup shared memory for LDM to store retransmission params
su - ldm -c "acq_ldm_getshm -m0"
else
echo "It seems like host(`hostname`) is NOT a downlink CP."
echo "Do you still want to start LDM (y/n) [default=n]?"
read ch
if [ $ch != 'y' -o $ch != 'Y' ];then
echo "Exiting."
exit 1
fi
fi
# Start LDM
su - ldm -c "ldmadmin start"
echo "Done."

View file

@ -1,21 +0,0 @@
#!/bin/bash
if [ -f /etc/rc.config.d/AWIPS ];then
. /etc/rc.config.d/AWIPS
fi
#echo "Halting retransmission process"
#pid=`ps -ef |grep start_sbn_retransmit|grep -v grep | awk '{print $2}'`
#kill -s SIGKILL $pid
echo "Stopping ldm service"
su - ldm -c "ldmadmin stop"
echo "Releasing shared memory resources"
su - ldm -c "acq_ldm_freeshm -m0"
echo "Done."

View file

@ -1,93 +0,0 @@
#!/usr/bin/perl
#
# metarWriter
#
# Program to split metar type bulletins into individual reports, then write
# them to a directory structure ~/data/metar/yyyymmdd/stn using the station
# name as the file name. The additional reports for the hour are appended to
# file.
#
use Time::Local;
use File::Path;
#no encoding;
# process command line switches
while ($_ = $ARGV[0], /^-/) {
shift;
last if /^--$/;
/^(-v)/ && $verbose++;
}
# process input parameters
if( $#ARGV == 1 ) {
$datadir = $ARGV[ 0 ] ;
$dateTime = $ARGV[ 1 ];
} else {
die "usage: metarWriter datatdir yyyymm < rawMetars $!\n" ;
}
# set interrupt handler
$SIG{ 'INT' } = 'atexit' ;
$SIG{ 'KILL' } = 'atexit' ;
$SIG{ 'TERM' } = 'atexit' ;
$SIG{ 'QUIT' } = 'atexit' ;
chdir( "$datadir" ) ;
$debug = 0;
open( LOG, ">/usr/local/ldm/output.log" ) if($debug);
# Now begin parsing file and decoding observations breaking on cntrl C
$/ = "\067\067\067\067\015\015\012\003";
#$/ = 0x37 . 0x37 . 0x37 . 0x37 . 0x0D . 0x0D . 0x0A . 0x03;
$increment = 0;
print LOG "Set line break\n" if($debug);
# set select processing here from STDIN
START:
while( 1 ) {
print LOG "Starting work...\n" if($debug);
open( STDIN, '-' ) ;
binmode STDIN;
vec($rin,fileno(STDIN),1) = 1;
$timeout = 1200 ; # 20 minutes
$nfound = select( $rout = $rin, undef, undef, $timeout );
print LOG "Opened standard in\n" if($debug);
# timed out
if( ! $nfound ) {
print "Shut down, time out 20 minutes\n" ;
atexit() ;
}
atexit( "eof" ) if( eof( STDIN ) ) ;
# Process each line of metar bulletins, header first
$_ = <STDIN> ;
$_ =~ /(\w\w\w\w\d\d) (\w\w\w\w) (\d\d)(\d\d)(\d\d)/;
$wmoHeader = "$1_$2_$3$4$5";
$filename = "$wmoHeader\_$increment.bin";
print LOG "$filename\n" if($debug);
open( STN, ">$filename" ) ;
binmode STN;
print STN "$_" ;
close STN ;
$increment++;
$increment = 0 if($increment == 1000000000);
} # end while( 1 )
atexit( "eof" );
exit( 0 ) ; #should never get here
# execute at exit
sub atexit
{
local( $sig ) = @_ ;
if( $sig eq "eof" ) {
print "eof on STDIN --shutting down\n" ;
} elsif( defined( $sig )) {
print "Caught SIG$sig --shutting down\n" ;
}
exit( 0 ) ;
} #end atexit

View file

@ -1,82 +0,0 @@
#!/usr/bin/perl
#
# metarWriter
#
# Program to split metar type bulletins into individual reports, then write
# them to a directory structure ~/data/metar/yyyymmdd/stn using the station
# name as the file name. The additional reports for the hour are appended to
# file.
#
use Time::Local;
#no encoding;
# process command line switches
while ($_ = $ARGV[0], /^-/) {
shift;
last if /^--$/;
/^(-v)/ && $verbose++;
}
# process input parameters
if( $#ARGV == 1 ) {
$datadir = $ARGV[ 0 ] ;
$dateTime = $ARGV[ 1 ];
} else {
die "usage: metarWriter datatdir yyyymm < rawMetars $!\n" ;
}
# set interrupt handler
$SIG{ 'INT' } = 'atexit' ;
$SIG{ 'KILL' } = 'atexit' ;
$SIG{ 'TERM' } = 'atexit' ;
$SIG{ 'QUIT' } = 'atexit' ;
chdir( "$datadir" ) ;
# Now begin parsing file and decoding observations breaking on cntrl C
$/ = "\cC" ;
$increment = 0;
# set select processing here from STDIN
START:
while( 1 ) {
open( STDIN, '-' ) ;
vec($rin,fileno(STDIN),1) = 1;
$timeout = 1200 ; # 20 minutes
$nfound = select( $rout = $rin, undef, undef, $timeout );
# timed out
if( ! $nfound ) {
print "Shut down, time out 20 minutes\n" ;
atexit() ;
}
atexit( "eof" ) if( eof( STDIN ) ) ;
# Process each line of metar bulletins, header first
$_ = <STDIN> ;
$_ =~ /(\w\w\w\w\d\d) (\w\w\w\w) (\d\d\d\d\d\d)/;
$wmoHeader = "$1_$2_$3";
$filename = "$wmoHeader\_$increment.txt";
open( STN, ">$filename" ) ;
binmode(STN);
print STN "$_\n" ;
close STN ;
$increment++;
$increment = 0 if($increment == 1000000000);
} # end while( 1 )
atexit( "eof" );
exit( 0 ) ; #should never get here
# execute at exit
sub atexit
{
local( $sig ) = @_ ;
if( $sig eq "eof" ) {
print "eof on STDIN --shutting down\n" ;
} elsif( defined( $sig )) {
print "Caught SIG$sig --shutting down\n" ;
}
exit( 0 ) ;
} #end atexit

View file

@ -1,78 +0,0 @@
#!/usr/bin/perl
#
# metarWriter
#
# Program to split metar type bulletins into individual reports, then write
# them to a directory structure ~/data/metar/yyyymmdd/stn using the station
# name as the file name. The additional reports for the hour are appended to
# file.
#
use Time::Local;
use Time::HiRes qw(gettimeofday);
#no encoding;
# process command line switches
while ($_ = $ARGV[0], /^-/) {
shift;
last if /^--$/;
/^(-v)/ && $verbose++;
}
# process input parameters
if( $#ARGV == 1 ) {
$datadir = $ARGV[ 0 ] ;
$dateTime = $ARGV[ 1 ];
} else {
die "usage: metarWriter datatdir yyyymm < rawMetars $!\n" ;
}
# set interrupt handler
$SIG{ 'INT' } = 'atexit' ;
$SIG{ 'KILL' } = 'atexit' ;
$SIG{ 'TERM' } = 'atexit' ;
$SIG{ 'QUIT' } = 'atexit' ;
chdir( "$datadir" ) ;
# Now begin parsing file and decoding observations breaking on cntrl C
$/ = "\cC" ;
# set select processing here from STDIN
START:
while( 1 ) {
open( STDIN, '-' ) ;
($s, $usec) = gettimeofday();
vec($rin,fileno(STDIN),1) = 1;
$timeout = 1200 ; # 20 minutes
$nfound = select( $rout = $rin, undef, undef, $timeout );
# timed out
if( ! $nfound ) {
print "Shut down, time out 20 minutes\n" ;
atexit() ;
}
atexit( "eof" ) if( eof( STDIN ) ) ;
# Process each line of metar bulletins, header first
$_ = <STDIN> ;
$_ =~ /(S[AP]\w\w\d\d) (\w\w\w\w) (\d\d\d\d\d\d)/;
$wmoHeader = "$1_$2_$3";
$filename = "$wmoHeader\_$s\_$usec.txt";
open( STN, ">$filename" ) ;
print STN "$_\n" ;
close STN ;
} # end while( 1 )
atexit( "eof" );
exit( 0 ) ; #should never get here
# execute at exit
sub atexit
{
local( $sig ) = @_ ;
if( $sig eq "eof" ) {
print "eof on STDIN --shutting down\n" ;
} elsif( defined( $sig )) {
print "Caught SIG$sig --shutting down\n" ;
}
exit( 0 ) ;
} #end atexit

View file

@ -1,15 +0,0 @@
#!/bin/sh
TRUE=1
while [ $TRUE -eq 1 ]
do
COUNT=`find /tmp/sbn -mmin +10 |wc -l`
if [ $COUNT -gt 0 ]
then
find /tmp/sbn -mmin +10 | xargs rm -rf
echo "Deleted $COUNT files from /tmp/sbn."
fi
sleep 5
done

View file

@ -1,85 +0,0 @@
#!/usr/bin/perl
#
# metarWriter
#
# Program to split metar type bulletins into individual reports, then write
# them to a directory structure ~/data/metar/yyyymmdd/stn using the station
# name as the file name. The additional reports for the hour are appended to
# file.
#
use Time::Local;
#no encoding;
# process command line switches
while ($_ = $ARGV[0], /^-/) {
shift;
last if /^--$/;
/^(-v)/ && $verbose++;
}
# process input parameters
if( $#ARGV == 1 ) {
$datadir = $ARGV[ 0 ] ;
$dateTime = $ARGV[ 1 ];
} else {
die "usage: metarWriter datatdir yyyymm < rawMetars $!\n" ;
}
# set interrupt handler
$SIG{ 'INT' } = 'atexit' ;
$SIG{ 'KILL' } = 'atexit' ;
$SIG{ 'TERM' } = 'atexit' ;
$SIG{ 'QUIT' } = 'atexit' ;
chdir( "$datadir" ) ;
# Now begin parsing file and decoding observations breaking on cntrl C
$/ = "\cC" ;
$increment = 0;
# set select processing here from STDIN
START:
while( 1 ) {
open( STDIN, '-' ) ;
vec($rin,fileno(STDIN),1) = 1;
$timeout = 1200 ; # 20 minutes
$nfound = select( $rout = $rin, undef, undef, $timeout );
# timed out
if( ! $nfound ) {
print "Shut down, time out 20 minutes\n" ;
atexit() ;
}
atexit( "eof" ) if( eof( STDIN ) ) ;
# Process each line of metar bulletins, header first
$_ = <STDIN> ;
# NOTE: added 6/27/08 to prevent invalid file names - mwf
if ($_ =~ /(\w\w\w\w\d\d) (\w\w\w\w) (\d\d\d\d\d\d)/) {
$wmoHeader = "$1_$2_$3";
} else {
$wmoHeader = "UNK_UNK_UNK";
}
$filename = "$wmoHeader\_$increment.txt";
open( STN, ">$filename" ) ;
print STN "$_\n" ;
close STN ;
$increment++;
$increment = 0 if($increment == 1000000000);
} # end while( 1 )
atexit( "eof" );
exit( 0 ) ; #should never get here
# execute at exit
sub atexit
{
local( $sig ) = @_ ;
if( $sig eq "eof" ) {
print "eof on STDIN --shutting down\n" ;
} elsif( defined( $sig )) {
print "Caught SIG$sig --shutting down\n" ;
}
exit( 0 ) ;
} #end atexit

View file

@ -1,144 +0,0 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
EXEC "pqact -e"
EXEC "edexBridge -vxl /usr/local/ldm/logs/edexBridge.log -s cpsbn1-oma.oma.us.ray.com"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
#EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
REQUEST ANY ".*" awips-ldm
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
#
# Give permission to the Unidata Program Center
#ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -1,155 +0,0 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
#EXEC "pqact"
EXEC "noaaportIngester -b 10000 -m 224.0.1.1 -n -u 3 -t mhs -r 1 -s NMC"
EXEC "noaaportIngester -b 10000 -m 224.0.1.2 -n -u 4 -t mhs -r 1 -s GOES"
EXEC "noaaportIngester -b 10000 -m 224.0.1.3 -n -u 5 -t mhs -r 1 -s NMC2"
EXEC "noaaportIngester -b 10000 -m 224.0.1.4 -n -u 6 -t mhs -r 1 -s NOAAPORT_OPT"
EXEC "noaaportIngester -b 10000 -m 224.0.1.5 -n -u 7 -t mhs -r 1 -s NMC3"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
#EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
#REQUEST WMO ".*" initial-primary-host.some.domain:388
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
ALLOW NEXRAD3 ^.* SDUS...PGUM|SDUS...PHFO|NXUS6..PGUM|NXUS6..PHFO|SDUS4..KWBC
ALLOW NGRID ^.* .* [LMYZ].[GHIJQRT]....KWBC|[LMYZ].[IJL]....KWBH|[LMYZ].[ABCJKMNRQSUVYZ]....KWBE|[LM].[VR]....KWBL|[LM].D....KWBG|E.[BEFHI]....KWBJ|O.[MN]....KWBJ|[LM].[ABCE]....KWBS|Y.W....KWBG|[LM].[ABCDIJKMNP]....KWBR|O.N....KWBM|[LM].[EF]....KWBD|L......KWBQ|L.U....KMDL|[YZ]......KKCI|[LM].U....KWNO
ALLOW NIMAGE ^.* .* TIT[EQ].*|TIG[ABENPQ].*|TIC[EQ].*
ALLOW HDS ^.* .* [IJ]UTX0[0-689].*|JUSX4[0-689].*|[YZ]......K(WBD|WNO|WBG|KCI|ALR|FWR|KRF|MSR|ORN|PTR|RHA|RSA|STR|TAR|TIR|TUA|WNH)|[LMYZ].[ABCJKMNRQSUVYZ]....KWBE|[YZ].[HIJQ]....KWBC|[YZ].[IJL]....KWBH|O.[MN]....KWBJ
ALLOW EXP ^.* .*
ALLOW IDS|DDPLUS ^.* .* SXUS2[03-9].KWOH|SXUS[3-9].KWOH|SXUS8[0-3].KWOH|SRUS[2-8].KWOH
ALLOW NOTHER ^.* .* TIPB.*
#
# Give permission to the Unidata Program Center
ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -1,155 +0,0 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
#EXEC "pqact"
EXEC "noaaportIngester -b 10000 -m 224.0.1.1 -n -u 3 -t mhs -r 1 -s NMC"
EXEC "noaaportIngester -b 10000 -m 224.0.1.2 -n -u 4 -t mhs -r 1 -s GOES"
EXEC "noaaportIngester -b 10000 -m 224.0.1.3 -n -u 5 -t mhs -r 1 -s NMC2"
EXEC "noaaportIngester -b 10000 -m 224.0.1.4 -n -u 6 -t mhs -r 1 -s NOAAPORT_OPT"
EXEC "noaaportIngester -b 10000 -m 224.0.1.5 -n -u 7 -t mhs -r 1 -s NMC3"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
#EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
#REQUEST WMO ".*" initial-primary-host.some.domain:388
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
ALLOW NEXRAD3 ^.* SDUS...PGUM|SDUS...PHFO|NXUS6..PGUM|NXUS6..PHFO|SDUS4..KWBC
ALLOW NGRID ^.* .* [LMYZ].[GHIJQRT]....KWBC|[LMYZ].[IJL]....KWBH|[LMYZ].[ABCJKMNRQSUVYZ]....KWBE|[LM].[VR]....KWBL|[LM].D....KWBG|E.[BEFHI]....KWBJ|O.[MN]....KWBJ|[LM].[ABCE]....KWBS|Y.W....KWBG|[LM].[ABCDIJKMNP]....KWBR|O.N....KWBM|[LM].[EF]....KWBD|L......KWBQ|L.U....KMDL|[YZ]......KKCI|[LM].U....KWNO
ALLOW NIMAGE ^.* .* TIT[EQ].*|TIG[ABENPQ].*|TIC[EQ].*
ALLOW HDS ^.* .* [IJ]UTX0[0-689].*|JUSX4[0-689].*|[YZ]......K(WBD|WNO|WBG|KCI|ALR|FWR|KRF|MSR|ORN|PTR|RHA|RSA|STR|TAR|TIR|TUA|WNH)|[LMYZ].[ABCJKMNRQSUVYZ]....KWBE|[YZ].[HIJQ]....KWBC|[YZ].[IJL]....KWBH|O.[MN]....KWBJ
ALLOW EXP ^.* .*
ALLOW IDS|DDPLUS ^.* .* SXUS2[03-9].KWOH|SXUS[3-9].KWOH|SXUS8[0-3].KWOH|SRUS[2-8].KWOH
ALLOW NOTHER ^.* .* TIPB.*
#
# Give permission to the Unidata Program Center
ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -1,155 +0,0 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
#EXEC "pqact"
EXEC "noaaportIngester -b 10000 -m 224.0.1.1 -n -u 3 -t mhs -r 1 -s NMC"
EXEC "noaaportIngester -b 10000 -m 224.0.1.2 -n -u 4 -t mhs -r 1 -s GOES"
EXEC "noaaportIngester -b 10000 -m 224.0.1.3 -n -u 5 -t mhs -r 1 -s NMC2"
EXEC "noaaportIngester -b 10000 -m 224.0.1.4 -n -u 6 -t mhs -r 1 -s NOAAPORT_OPT"
EXEC "noaaportIngester -b 10000 -m 224.0.1.5 -n -u 7 -t mhs -r 1 -s NMC3"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
#EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
#REQUEST WMO ".*" initial-primary-host.some.domain:388
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
ALLOW NEXRAD3 ^.* SDUS...PGUM|SDUS...PHFO|NXUS6..PGUM|NXUS6..PHFO|SDUS4..KWBC
ALLOW NGRID ^.* .* [LMYZ].[GHIJQRT]....KWBC|[LMYZ].[IJL]....KWBH|[LMYZ].[ABCJKMNRQSUVYZ]....KWBE|[LM].[VR]....KWBL|[LM].D....KWBG|E.[BEFHI]....KWBJ|O.[MN]....KWBJ|[LM].[ABCE]....KWBS|Y.W....KWBG|[LM].[ABCDIJKMNP]....KWBR|O.N....KWBM|[LM].[EF]....KWBD|L......KWBQ|L.U....KMDL|[YZ]......KKCI|[LM].U....KWNO
ALLOW NIMAGE ^.* .* TIT[EQ].*|TIG[ABENPQ].*|TIC[EQ].*
ALLOW HDS ^.* .* [IJ]UTX0[0-689].*|JUSX4[0-689].*|[YZ]......K(WBD|WNO|WBG|KCI|ALR|FWR|KRF|MSR|ORN|PTR|RHA|RSA|STR|TAR|TIR|TUA|WNH)|[LMYZ].[ABCJKMNRQSUVYZ]....KWBE|[YZ].[HIJQ]....KWBC|[YZ].[IJL]....KWBH|O.[MN]....KWBJ
ALLOW EXP ^.* .*
ALLOW IDS|DDPLUS ^.* .* SXUS2[03-9].KWOH|SXUS[3-9].KWOH|SXUS8[0-3].KWOH|SRUS[2-8].KWOH
ALLOW NOTHER ^.* .* TIPB.*
#
# Give permission to the Unidata Program Center
ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -1,163 +0,0 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
#EXEC "pqact"
EXEC "noaaportIngester -b 10000 -m 224.0.1.1 -n -u 3 -t mhs -r 1 -s NMC"
EXEC "noaaportIngester -b 10000 -m 224.0.1.2 -n -u 4 -t mhs -r 1 -s GOES"
EXEC "noaaportIngester -b 10000 -m 224.0.1.3 -n -u 5 -t mhs -r 1 -s NMC2"
EXEC "noaaportIngester -b 10000 -m 224.0.1.4 -n -u 6 -t mhs -r 1 -s NOAAPORT_OPT"
EXEC "noaaportIngester -b 10000 -m 224.0.1.5 -n -u 7 -t mhs -r 1 -s NMC3"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
#EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
#REQUEST WMO ".*" initial-primary-host.some.domain:388
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
ALLOW NEXRAD3 ^.* SDUS...PACR|SDUS...PAFG|SDUS...PAJK|SDUS...PAFC|NXUS6..PACR|NXUS6..PAFG|NXUS6..PAJK|NXUS6..PAFC|SDUS4..KWBC
ALLOW NGRID ^.* .* [LM].[BCDEHIMPQRTU]....KWB[CDEGHJL]|[LM].[ASTU]....KWB[NOQ]|[LM].[CGHIJM]....KWB[RT]|[LM].[ABDEF]....KWBS|E.[BGHI]....KWBJ
ALLOW NIMAGE ^.* .* TI.[EHIPQW]
ALLOW HDS ^.* .* [IJ]UTX0[0-6].*|JUSX4[0-68].*|[YZ].[HIJKLQRUWZ]....KWB[CDEGH]|[YZ].[QRUZ]....KWB[DE]|O.[BDMPRU]....KWBJ|Y......KWNH|ZETA...K...|Y......KKCI
ALLOW EXP ^.* .*
ALLOW IDS|DDPLUS ^.* .* SXUS2[03-9].KWOH|SXUS[3-9].KWOH|SXUS8[0-3].KWOH|SRUS[2-8].KWOH
ALLOW NOTHER ^.* .*
#
# Give permission to the Unidata Program Center
ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -1,642 +0,0 @@
#Text DB IDS|DDPLUS ^(S[AP]....) (....) (......)
# FILE -overwrite -close -edex /awips/edex/data/sbn/text/\1_\2_\3_(seq).txt
#IDS|DDPLUS ^(S[AP]....) (....) (..)(....)
# PIPE /usr/local/ldm/decoders/textWriter /awips/edex/data/sbn/text (\3:mm)(\3:yyyy)
################
# Valley NEXRAD Configuration
################
NNEXRAD ^(SDUS[234578].) KABR (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KABR_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KCYS (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KCYS_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KDMX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KDMX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KGLD (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KGLD_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KGID (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KGID_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KEAX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KEAX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KARX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KARX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KMPX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KMPX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KLBF (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KLBF_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KDVN (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KDVN_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KUNR (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KUNR_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KFSD (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KFSD_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KTOP (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KTOP_\2\3\4_(seq).rad.%Y%m%d%H
#NNEXRAD ^(SDUS[234578].) KOAX (......) /p(...)(...)
# FILE -overwrite -close -edex /awips2/data_store/radar/\4/\3/\1_\4_\3_\2_(seq).rad
NNEXRAD ^(SDUS[234578].) PHFO (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_PHFO_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) PGUM (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_PGUM_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KBTV (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KBTV_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KBOX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KBOX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KFWD (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KFWD_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KTWC (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KTWC_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KAKQ (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KAKQ_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KRNK (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KRNK_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KLWX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KLWX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KABQ (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KABQ_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KPHI (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KPHI_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KALY (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KALY_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KEPZ (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KEPZ_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KMAF (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KMAF_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KOKX (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KOKX_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KPBZ (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KPBZ_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KSTO (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KSTO_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KREV (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KREV_\2\3\4_(seq).rad.%Y%m%d%H
NNEXRAD ^(SDUS[234578].) KLKN (..)(..)(..) /p(...)(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KLKN_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KABR (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KABR_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KDMX (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1__KDMX_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KGLD (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KGLD_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KGID (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KGID_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KEAX (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KEAX_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KLBF (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KLBF_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KFSD (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KFSD_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KTOP (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/1_KTOP_\2\3\4_(seq).rad.%Y%m%d%H
ANY ^(SDUS8.) KOAX (..)(..)(..) /pDPA(...)
FILE -overwrite -close -edex /awips2/data_store/radar/(\2:yyyy)(\2:mm)\2/\3/\1_KOAX_2\3\4_(seq).rad.%Y%m%d%H
################
# End Of Valley NEXRAD Configuration
################
################
# Valley Grid Configuration
################
# in base
#HRS ^([YZ].)([ABD-IMQRU-Z])(...) (KWB.) (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\8/\4/\2/\6/\1\2\3_\4_\5\6\7_(seq).grb
# base does not include T, that a mistake on our end?
#HRS ^(YE[IT].[89]8) KWNH (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWNH/\3/\1_KWNH_\2\3\4_(seq).grb
# in base
#HRS ^(ZEX.98) KWNH (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWNH/\3/\1_KWNH_\2\3\4_(seq).grb
# in base
#HRS ^(H.[A-H]...) ECMF (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/ECMF/\3/\1_ECMF_\2\3\4_(seq).grb
# in base
#HRS ^(H.[I-L]...) EGRR (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/EGRR/\3/\1_EGRR_\2\3\4_(seq).grb
# in base
#HRS ^(H.)([I-L])(...) KWBK (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\7/KWBK/\2/\5/\1\2\3_KWBK_\4\5\6_(seq).grb
# in base
#HRS ^(H.X...) KNWC (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KNWC/\3/\1_KNWC_\2\3\4_(seq).grb
#HRS ^(O.)([JMNQ])(...) KWBJ (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\7/KWBJ/\2/\5/\1\2\3_KWBJ_\4\5\6_(seq).grb
#HRS ^(O.N...) KWBM (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWBM/N/\3/\1_KWBM_\2\3\4_(seq).grb
#HRS ^(O.L...) KWBI (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWBI/L/\3/\1_KWBI_\2\3\4_(seq).grb
#HRS ^OEBA88 KNWC (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\4/KNWC/\2/OEBA88_KNWC_\1\2\3_(seq).grb
#HRS ^([YZ][UV]M.98) KNHC (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KNHC/\3/\1_KNHC_\2\3\4_(seq).grb
#HRS ^(H[ET]QV[01][0-9]) KWNC (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWNC/\3/\1_KWNC_\2\3\4_(seq).grb
#GRID ^([LM].)([ABDHMRSTU])(...) (KWB.) (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\8/\4/\2/\6/\1\2\3_\4_\5\6\7_(seq).grb
#GRID ^([LM].M.98) KWNH (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWNH/\3/\1_KWNH_\2\3\4_(seq).grb
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWBD/E/\3/\1_KWBD_\2\3\4_(seq).grb
#GRID ^(L.U...) KWBN (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWBN/U/\3/\1_KWBN_\2\3\4_(seq).grb
#GRID ^(L[AB]U[ABC]..) KWNO (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWNO/\3/\1_KWNO_\2\3\4_(seq).grb
#GRID ^(L[UV]I...) KWBJ (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWBJ/I/\3/\1_KWBJ_\2\3\4_(seq).grb
# not in base
GRID ^(LDW[A-U]98) KNHC (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\1_KNHC_\2\3\4_(seq).\5.%Y%m%d%H
#GRID ^([LM]DG...) KNHC (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KNHC/\3/\1_KNHC_\2\3\4_(seq).grb
#GRID ^(LJ[NP][NT]98) KWNM (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\5/KWNM/\3/\1_KWNM_\2\3\4_(seq).grb
#GRID ^LJPZ98 KNHC (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\4/KNHC/\2/LJPZ98_KNHC_\1\2\3_(seq).grb
#GRID ^ETWA88 KWBI (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\4/KWBI/W/\2/ETWA88_KWBI_\1\2\3_(seq).grb
#GRID ^LAMA98 KNES (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\4/KNES/\2/LAMA98_KNES_\1\2\3_(seq).grb
# partial in base
#GRID ^(E[A-CJ-RWY])([BCDEFGH])([A-Z]88) KWBJ (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\7/KWBJ/\2/\5/\1\2\3_KWBJ_\4\5\6_(seq).grb
GRID ^(E[A-CJ-RWY])([DEF])([A-Z]88) KWBJ (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\7/(\4:yyyy)(\4:mm)\4/\5/\1\2\3_KWBJ_\4\5\6_(seq).\7.%Y%m%d%H
HRS ^(YA)([WX])(A..) (KKCI) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
#HRS ^(YA)(W)([BCDGJM]..) (KKCI) (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\8/\4/\2/\6/\1\2\3_\4_\5\6\7_(seq).grb
#HRS ^(Y[IJL])(X)(A..) (KKCI) (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\8/\4/\2/\6/\1\2\3_\4_\5\6\7_(seq).grb
#HRS ^(YV)(W)([ABCDGJM]..) (KKCI) (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\8/\4/\2/\6/\1\2\3_\4_\5\6\7_(seq).grb
HRS ^(ZV)(W)([ADGJM]..) (KKCI) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
################
# End Of Valley Grid Configuration
################
# OPCWave models
# already in base
#ANY ^LJ(N)T98 (KWBC) (..)(..)(..)$
# FILE -overwrite -close -edex /awips2/data_store/grib/grib2/\2/\1/\4/LJNT98_\2_\3\4\5_(seq).grb
#ANY ^LJ(P)N98 (KWBC) (..)(..)(..)$
# FILE -overwrite -close -edex /awips2/data_store/grib/grib2/\2/\1/\4/LJPN98_\2_\3\4\5_(seq).grb
#ANY ^LJ(P)Z98 (KNHC) (..)(..)(..)$
# FILE -overwrite -close -edex /awips2/data_store/grib/grib2/\2/\1/\4/LJPZ98_\2_\3\4\5_(seq).grb
# AKWAVE models
#GRID ^(O[A-CJ-KM-NPY])N([ACEGI-Z]88) KWBJ (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\6/KWBJ/N/\4/\1N\2_KWBJ_\3\4\5_(seq).grb
# AK-GriddedMOS
# original pattern overlapped with base
#GRID ^(L[A-JR-SU-Y])R([B-J][0-2][0-35-68-9]) KWBQ (..)(..)(..).*!(grib|grib2)
# FILE -overwrite -close -edex /awips2/data_store/grib/\6/KWBQ/R/\4/\1R\2_KWBQ_\3\4\5_(seq).grb
GRID ^(L[CEFGIJV-Y])R([B-J][0-2][0-35-68-9]) KWBQ (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\6/(\4:yyyy)(\4:mm)\4/\5/\1R\2_KWBQ_\3\4\5_(seq).\6.%Y%m%d%H
# PR-RTMA
ANY ^(L[HNPRTUV])(C)(A98) (KWBR) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
# PR-NamDNG5
ANY ^([LM][ADEHKRSTUV])(C)([A-TZ][089][068]) (KWBE) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
# PR-GFS
ANY ^([LM][ABCEFGHMO-Y])(O)([A-Z][0-9][0-9]) (KWBC) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
#PR-SREF (SREF243)
ANY ^([LM][DEHMNPQRTUVW])(X)([A-TZ][235789][05689]) (KWBL) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
# NAM95 Grib Data
HRS ^([YZ][CE-HO-RT-Z])(N)([A-JM][0-9][0-9]) (KWBE) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
# NamDNG5 Grib Data no captured in above pattern
HRS ^([LM][EKV])(M)([A-TZ][089][068]) (KWBE) (..)(..)(..).*!(grib|grib2)
FILE -overwrite -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
#NGRID ^([LMYZ][TRUVXEGHVZ][BQRU]...) (KWBE)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#HRS ^([LMYZ][TRUVXEGHVZ][BQRU]...) (KWBE)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(......) (KWBX)
# FILE -overwrite -close -edex /usr/local/ldm/ecmwf/\1_\2.grd
#ANY ^...... KWBX ..(..)..
# PIPE -close /usr/local/ldm/decoders/decrypt_file
# /awips2/data_store/grib/grib2/ecmwf/\1/ecmwf
#NIMAGE TIG([EW])(0[0-5]) .... (..)(..)(..)
# FILE -overwrite -close -edex /windata/sbn/sat/GOES-\1_\2_\3\4\5.sat
#NIMAGE ^satz/ch[0-9]/(.*)/(.*)/([12][0-9][0-9][0-9][01][0-9][0-3][0-9]) ([0-2][0-9])([0-5][0-9])/(.*)/(.*km)/ (TI.)(.)(..) .... (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sat/\6/\1/\2/\7/\8\9_\(10)_\(11)\(12)\(13)_(seq).sat
#NGRID ^([LM].M.98) (KWNH)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^([LM].E...) (KWBD)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(L.U...) (KWBN)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(L[AB]U[ABC]..) (KWNO)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(L[UV]I...) (KWBJ)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^([LM]DG...) (KNHC)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(LJ[NP][NT]98) (KWNM)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(LJPZ98) (KNHC)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(ETWA88) (KWBI)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(LAMA98) (KNES)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
#NGRID ^(L.Z...) (KWBX)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
# *WARNING* The following regex turns on all GRIB2 data from the NOAAPort. Only use if you know you want everything
#
#NGRID ^(......) (KWB.)
# FILE -overwrite -close -edex /awips/edex/data/sbn/grib/\1_\2.grd
# Keep only the most recent SIGMET. IDS|DDPLUS ^WS
# FILE -overwrite -close -edex data/ldm/WWA/lastSIGMET
#
# Bin all the (Non-GRIB) WMO format data, using elements from the identifier as path components. The minutes portion of the timestamp, and the retransmit code is
# ignored. The day of the month portion of the timestamp is not used as a path component, so it would be a good idea to run 'scour' on a less than 24 hour basis.
# This action uses a lot of disk space.
#
# "ASUS42 KRDU 012259" gets filed as data/US/KRDU/22/AS42.wmo
#
#WMO ^([^H][A-Z])([A-Z][A-Z])([0-9][0-9]) (....) ([0-3][0-9])([0-2][0-9])
# FILE data/\2/\4/\6/\1\3.wmo
#
#HDS ^SFUS41 KWBC (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/binlightning/\2/SFUS41_KWBC_\1\2\3_(seq).nldn
#HDS ^SFPA41 KWBC (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/binlightning/\2/SFPA41_KWBC_\1\2\3_(seq).nldn
# stored by text pattern
# TO 9 SHEF Data;
#IDS|DDPLUS ^(SRU[EMSW][1-9].) (KOMA|KOAX|KLSE|KARX|KDSM|KDMX|KDVN|KMLI|KEAX|KMCI|KFSD|KGRI|KGID|KLBF|KSTL|KLSX|KMSP|KMPX|KTOP|KWBC|KZMP|KPQR) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#river forecast SHEF data
#ANY ^(FGUS[57].) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^SRUS44 KWBC (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\2/SRUS44_KWBC_\1\2\3_(seq).txt
# stored by text pattern
# TO 9 warnings; SVR, TOR, SVS, FFW
#IDS|DDPLUS ^(W[OUFWG]US..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/warning/\4/\1_\2_\3\4\5_(seq).wrn
# stored by text pattern
#IDS|DDPLUS ^(W[UFWG]US..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(F[TC][UX][SX]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/taf/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#Text DB IDS|DDPLUS ^(F[TC][UX][SX]..) (....) (......)
# FILE -overwrite -close -edex /awips/edex/data/sbn/taf/\1_\2_\3_(seq).taf
# stored by text pattern
#IDS|DDPLUS ^(SMUS..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SMCN..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SMMX..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SMV[DCE]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SIV[DCE]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SNV[DCE]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SSV[DX]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(SXUS2[0123]) (KWNB) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
# stored by text pattern
#IDS|DDPLUS ^(VHVD..) (KWNB) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/sfcobs/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(IUST[4-7][123468]) KWBC (..)(..)(..).*
# FILE -overwrite -close -edex
# /awips2/data_store/bufrua/\3/\1_KWBC_\2\3\4_(seq).bin
#ANY ^(IUSZ[4-9][123468]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/bufrua/\4/\1_\2_\3\4\5_(seq).bufr
#ANY ^(IUSY4[123468]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/bufrua/\4/\1_\2_\3\4\5_(seq).bufr
#ANY ^(JU[BCFJMNOTVW]E(00|9[679])) KKCI (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/bufrsigwx/\4/\1_KKCI_\3\4\5_(seq).bufr
# has some overlap with baseline aircraft, use A1 fields
#ANY ^UA(US|PA)(..) KWBC (..)(..)(..).*
# FILE -overwrite -close -edex
# /awips2/data_store/airep/\4/UA\1\2_KWBC_\3\4\5_(seq).bin
# this pattern also contains airep..., use A1 fields
#ANY ^(U.....) KWBC (..)(..)(..).*
# FILE -overwrite -close -edex
# /awips2/data_store/pirep/\3/\1_KWBC_\2\3\4_(seq).bin
#ANY ^(IUPT0[1-4]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/profiler/\4/\1_\2_\3\4\5_(seq).bufr
#ANY ^IUPT40 (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/profiler/\3/IUPT40_\1_\2\3\4_(seq).bufr
#ANY ^IUAK01 (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/profiler/\3/IUAK01_\1_\2\3\4_(seq).bufr
#ANY ^IUPT40 KBOU (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/profiler/\2/IUPT40_KBOU_\1\2\3_(seq).bufr
# contained in text
#ANY ^(FAUS2[789]) KKCI (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/ccfp/\3/\1_KKCI_\2\3\4_(seq).txt
# contained in text
#ANY ^(FA[AU][KS]2.) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/cwa/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(JUS[ABX]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/mdlsndg/\4/\1_\2_\3\4\5_(seq).bufr
#ANY ^(JUTX0[1-9]) KNES (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/goessndg/\3/\1_KNES_\2\3\4_(seq).bufr
#ANY ^(IUTX0[1-9]) KNES (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/poessndg/\3/\1_KNES_\2\3\4_(seq).bufr
#ANY ^(JSM[TLF]..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/bufrmos/\4/\1_\2_\3\4\5_(seq).bufr
#ANY ^([PQ].....) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/redbook/\4/\1_\2_\3\4\5_(seq).rb
#IDS|DDPLUS ^(FXUS..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt
#IDS|DDPLUS ^(FOUS..) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt
#IDS|DDPLUS ^(AS....) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt
#IDS|DDPLUS ^(FPUS..) (....) (..)(..)(..).*
# FILE -overwrite -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^([AF][BS]....) (KOMA|KOAX|KLSE|KARX|KDSM|KDMX|KDVN|KMLI|KEAX|KMCI|KFSD|KGRI|KGID|KLBF|KSTL|KLSX|KMSP|KMPX|KTOP|KZMP|KPQR) (..)(..)(..).*
# FILE -overwrite -close -edex /awips2/data_store/shef/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^SXUS44 KWOH (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\2/SXUS44_KWOH_\1\2\3_(seq).txt
#ANY ^SXUS50 KWOH (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\2/SXUS50_KWOH_\1\2\3_(seq).txt
#ANY ^SXUS49 KWOH (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\2/SXUS49_KWOH_\1\2\3_(seq).txt
#ANY ^SXUS40 KWOH (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\2/SXUS40_KWOH_\1\2\3_(seq).txt
#ANY ^SXUS38 KWOH (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/shef/\2/SXUS38_KWOH_\1\2\3_(seq).txt
# Needed In Omaha for Acars since its decrypted as master ldm
#ANY ^(IUA[^X]0[12]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/acars/\4/\1_\2_\3\4\5_(seq).bufr
#ANY ^IUAX02 KARP ..(..)..
# PIPE -close /usr/local/ldm/decoders/decrypt_file
# /awips2/data_store/acars/decrypted/\1/acars
ANY ^(ISXA..) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrssmi/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
ANY ^JSXX((0[1-9])|(10)) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrascat/(\5:yyyy)(\5:mm)\5/\6/JSXX\1_\4_\5\6\7_(seq).bufr.%Y%m%d%H
ANY ^JSYY(0[1-9]) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrascat/(\3:yyyy)(\3:mm)\3/\4/JSYY\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
ANY ^ISXX(..) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrquikscat/(\3:yyyy)(\3:mm)\3/\4/ISXX\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
#ANY ^ZETA98 (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/grib/precip_estimate/\2/ZETA98_\1_\2\3\4_(seq).grb
#ANY ^ZEGA98 KNES (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/grib/precip_estimate/\2/ZEGA98_KNES_\1\2\3_(seq).grb
#ANY ^ZEGZ98 (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/grib/ffg/ZEGZ98_\1_\2\3\4_(seq).grd
#ANY ^JSAT98 KKCI (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/bufrncwf/\2/JSAT98_KKCI_\1\2\3_(seq).bufr
ANY ^(J[ACEGHJKMNPQR]CX[1-9]1) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrhdw/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
ANY ^(JUTX[2-4]1) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrmthdw/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
ANY ^(JUTX53) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/bufrmthdw/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
#GPSSRC xmrg(..........)z.gz$
# FILE -overwrite -close -edex /awips2/data_store/q2/xmrg\1z.gz
#NEXRAD2 ^L2-([^/]*)/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-9][0-9])
# FILE -overwrite -close /awips2/data_store/koax/raw/nexradII/KOAX/\3.raw
#ANY ^ZDIA98 KKCI (......)
# FILE -overwrite -close -edex /awips2/data_store/experimental/grib/NCWF/ZDIA98_KKCI_\1.grb
#ANY (WSUS3[123]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/convsigmet/\4/\1_\2_\3\4\5_(seq).txt
#ANY (W[CSV]US0[1-6]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/nonconvsigmet/\4/\1_\2_\3\4\5_(seq).txt
#ANY (WAUS4[1-6]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/airmet/\4/\1_\2_\3\4\5_(seq).txt
#ANY (W[CSV]PA((0[1-9])|(1[1-3]))) PHFO (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/intlsigmet/\6/\1_PHFO_\5\6\7_(seq).txt
#ANY (W[CSV]NT((0[1-9])|(1[1-3]))) KKCI (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/intlsigmet/\6/\1_KKCI_\5\6\7_(seq).txt
#ANY (WAAK4[789]) PAWU (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/intlsigmet/\3/\1_PAWU_\2\3\4_(seq).txt
#ANY (W[CSV]PN0[1-6]) KKCI (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/intlsigmet/\3/\1_KKCI_\2\3\4_(seq).txt
#ANY ^(NWUS5.) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/lsr/\4/\1_\2_\3\4\5.txt
#ANY ^NWUS20 (....) (..)(..)(..)
# FILE -overwrite -close /awips2/data_store/svrwx/\3/NWUS20_\1_\2\3\4.txt
#ANY ^UR(PN|NT)(..) KNHC (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/recco/\4/UR\1\2_KHNC_\3\4\5_(seq).txt
#ANY ^(FVAK2[0-4]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/vaa/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(FVXX2[0-7]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/vaa/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^WHXX0[14] (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/tcg/\3/WHXX01_\1_\2\3\4_(seq).txt
#ANY ^(WTNT[25][0-9]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/tcs/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(WTPZ[25][0-9]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/tcs/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(WTPA[25][0-9]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/tcs/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(WTPN3[0-9]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/tcs/\4/\1_\2_\3\4\5_(seq).txt
#EXP (ecmwf_decrypted.*)
# FILE -overwrite -close -edex /awips2/data_store/grib/grib2/ecmwf/\1
#EXP (acars_decrypted.*)
# FILE -overwrite -close -edex /awips2/data_store/acars/decrypted/\1
# added for a missing national product
#ANY ^(ACUS..) (....) (..)(..)(..)
# FILE -overwrite -log -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt.%Y%m%d
#ANY ^(FE[APU][KNS][23][0-9]) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/text/\4/\1_\2_\3\4\5_(seq).txt
#ANY ^(CDUS4.) (....) (..)(..)(..)
# FILE -overwrite -close -edex /awips2/data_store/text/climate/\4/\1_\2_\3\4\5_(seq).txt

View file

@ -1,828 +0,0 @@
# /-\-/-\-/-\-/-\- acq_patterns.template /-\-/-\-/-\-/-\-
# This file is a template for creating a pqact.conf file for organizing distributed data obtained
# using the ldm administration.
#
# All data is placed in the recommended subdirectories of /awips2/data_store based on patterns for the data
#-product identifier.. For example satellite data is placed in /awips2/data_store/sat/ and grib2 data is
# placed in /awips2/data_store/grib2/.
#
# The data file is then placed in subdirectories based on the identifier's day and hour values.
# All identifiers have a 6 digit string indicating day, hour and minute for the data. For example an
# identifier for grib2 arriving on December 18, 2012 with a time string 180006 has a day of 18 an hour
# of 00 and minute of 06. Ldm can determine the year and month based on when it receives the identifier.
# Using this information the grib2 file will be placed in a subdirectory based on year, month and day
# and this directory would contain directories for the hour. For the above example the file would be
# placed in:
#
# /awips2/data_store/grib2/20121218/00/filename
#
# The filename will have an extension based on 4 digit year, 2 digit month, 2 digit day and 2 digit hour
# of the time received. This may be different form the time in the identifier. For example a grib2
# file name may look like the following:
#
# LJPZ98_KNHC_180002_9748544.grib2.2012121800
#
#####
# History log
#
# Date Ticket# Engineer Description
# ------------ ---------- ----------- --------------------------
# 20120905 1090 jkorman Corrected several patterns as well as
# combining similar patterns.
#20121009 1252 jkorman Corrections and additions from Dale Morris.
#20121211 1411 rferrel More corrections and additions from Dale Morris.
#20130326 1828 rferrel Fix patterns for intlsigmets and text pattern not placing files in proper directory.
#20130530 2054 rferrel Minor fix to two grib patterns.
#20130624 1966 rferrel The acars pattern changed to place files in the proper subdirectories.
# Name changes to reflect plugin names for modelsounding, goessounding, poessounding.
#20140424 3068 dgilling Add pattern for MetOp-B ASCAT T winds.
#20140612 3230 rferrel Add pattern for URMA.
#20150121 4014 dgilling Add pattern for ETSS.
#20150202 4066 rferrel Add pattern form Earth Networks Total Lightning: SFPA42
#20150507 4434 skorolev Add pattern for GFS20
#***************************************************************
# AWIPS 1 PATTERN GRAPHIC ^[PQ].* /redbook/Raw
# PGNA00 KWNS 010001 !redbook 1_1/NMCGPHMCD/MCDSUM/PXSF001CN/20110201 0001
ANY ^([PQ][A-Z0-9]{3,5}) (....) (..)(..)(..) !redbook [^/]*/([^/]*)/([^/]*)/([^/]*)/([0-9]{8})
FILE -overwrite -log -close -edex /awips2/data_store/redbook/(\3:yyyy)(\3:mm)\3/\4/\8/\4\5Z_\8_\7_\6-\1_\2_(seq).rb.%Y%m%d%H
# satellites
# AWIPS 1 PATTERN IMAGE ^T.* /sat/SBN/Raw
# satz/ch2/GOES-11/WV/20110201 1830/NHEM-COMP/24km/ TIGF05 KNES 011830
NIMAGE ^(sat[^/]*)/ch[0-9]/([^/]*)/([^/]*)/([^ ]*) ([^/]*)/([^/]*)/([^/]*)/ (T[^ ]*) ([^ ]*) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/sat/(\(10):yyyy)(\(10):mm)\(10)/\(11)/\2/\(11)\(12)Z_\3_\7_\6-\8_\9_(seq).satz.%Y%m%d%H
# New NPP/VIIRS data
NOTHER ^(TIP...) (KNES) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/sat/(\3:yyyy)(\3:mm)\3/\(4)/VIIRS/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS 1 PATTERN GRID ^YEI.[89]8.*KWNH /img/SBN/Raw
# YEIN98 KWNH 011800 /mRFC_QPF !grib/ncep/RFC_QPF/#218/201102011800/F018/APCP/sfc/
#!MAINT! This line is a subset duplicate of line 68 - However cannot find any data matching this pattern.
HDS ^(YEI.[89]8) KWNH (..)(..)(..)[^!]*!(grib|grib2)/ncep/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWNH_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS 1 GRID ^ZETA98.*K[NW][EN][ES] /img/SBN/Raw
# ZETA98 KNES 011516 /mNWS_190 !grib/nws/NWS_190/#255/201102011400/F001/APCP/sfc/
# ZETA98 KWNE 311200 /mRFC_QPE !grib/ncep/RFC_QPE/#240/201101311200/F006/APCP/sfc/
HDS ^(ZETA98) (K[NW][EN][ES]) (..)(..)(..)([^!]*)!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/([^/]*)/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\7/(\3:yyyy)(\3:mm)\3/\4/\8/GRID\9/\(11)Z_\(12)_\(13)-\1_\2_\3\4\5_(seq).\7.%Y%m%d%H
# AWIPS 1 GRID ^ZEGA98.*KNES /img/SBN/Raw
#
ANY ^(ZEGA98) (KNES) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/misc/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS 1: GRID ^ZEGZ98.*K.* /img/SBN/Raw
# ZEGZ98 KORN 011927 /mNWS_151 !grib/nws/NWS_151/#255/201102011800/F024/CNWAT/sfc/
# ZEGZ98 KEY 1HR=HPBL, 3HR=5WAVH, 6HR=CNWAT
HDS ^(ZEGZ98) (K.{3}) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS 1: GRID ^[YZ][ES]QA88.*KMSR /img/SBN/Raw
# YSQA88 KMSR 011220 /mNWS_185 !grib/nws/NWS_185/#255/201102010600/F000/MSTAV/sfc/
# YEQA88 KMSR 011210 !grib2/nws/NWS_255/#255/201102010600F000/WEASD/0
HDS ^([YZ][ES]QA88) KMSR (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KMSR_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS 1: GRID ^HAXA00.*KWBC /img/SBN/Raw
# HAXA00 KWBC 312349 /mNWS_0 !grib/nwstg/NWS_0/#255/201101312349/F000/RDSP1/sfc/
HDS ^HAXA00 KWBC (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\4/(\1:yyyy)(\1:mm)\1/\2/\5/GRID\6/\8Z_\9_\(10)-HAXA00_KWBC_\1\2\3_(seq).\4.%Y%m%d%H
# AWIPS 1: GRID ^ZDWA88.*KWNO /img/SBN/Raw
# GRID ^ZDWB88.*KWNO /img/SBN/Raw
# GRID ^ZDWC88.*KWNO /img/SBN/Raw
# GRID ^ZDWD88.*KWNO /img/SBN/Raw
# GRID ^ZEWD88.*KWNO /img/SBN/Raw
# GRID ^ZDWD98.*KWNO /img/SBN/Raw
# ZDWA88 KWNO 011400 /m0 !grib/ncep/0/#236/201102011400/F003/U-GWD/0 m above gnd/
HDS ^(Z[DE]W[A-D][89]8) KWNO (..)(..)(..) /m0 !(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/3hr/GRID\7/\9Z_\(10)_\(11)-\1_KWNO_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^[YZ].[A-WYZ].*KWB.* /Grid/SBN/Raw
# YUWG97 KWBG 010600 /mRUC2 !grib/ncep/RUC2/#236/201102010600/F006/UGRD/tropopause/
HDS ^([YZ].[A-WYZ].{1,3}) (KWB.) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^YEI.[89]8.*KWNH /Grid/SBN/Raw
#!MAINT! This line is a superset duplicate of line 16 (which only triggers on /ncep/) - However cannot find any data matching this pattern.
HDS ^(YEI.[89]8) KWNH (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWNH_\2\3\4_(seq).\5.%Y%m%d%H
# This line enables the regional rfc qpf gribs
HDS ^(YEI.[89]8) (KALR|KFWR|KKRF|KMSR|KORN|KPTR|KRHA|KRSA|KSTR|KTAR|KTIR|KTUA) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/[^/]*/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^ZEX.98.*KWNH /Grid/SBN/Raw
# ZEXM98 KWNH 020000 /mNCEP_QPF !grib/ncep/NCEP_QPF/#218/201102020000/F072/APCP/sfc/
HDS ^(ZEX.98) KWNH (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWNH_\2\3\4_(seq).\5.%Y%m%d%H
## -- ECMF, UKMET, MRF -- ##
# AWIPS1: GRID ^H.[A-H].*ECMF /Grid/SBN/Raw
# HVAS50 ECMF 011200 /mECMWF_139 !grib/ecmwf/ECMWF_139/#001/201102011200/F168/VGRD/500 mb/
HDS ^(H.[A-H].{1,3}) ECMF (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_ECMF_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^H.[I-L].*EGRR /Grid/SBN/Raw
# AWIPS1: GRID ^H.[I-L].*KWBK /Grid/SBN/Raw
# HVKH30 EGRR 011200 /mUKM_45 !grib/ukmet/UKM_45/#039/201102011200/F042/VGRD/300 mb/
# HTJA85 KWBK 010000 /mSSIGFS !grib/ncep/SSIGFS/#038/201102010000/F000/TMP/850 mb/
# HHJA85 KWBK 010000 /mSPEC62MRF !grib/ncep/SPEC62MRF/#038/201102010000/F000/HGT/850 mb/
HDS ^(H.[I-L].{1,3}) (EGRR|KWBK) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^H.X.*KNWC /Grid/SBN/Raw
# *** NOT FOUND IN INGEST STREAM ***
ANY ^(H.X...) KNWC (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib/(\2:yyyy)(\2:mm)\2/\3/MISC/\1_KNWC_\2\3\4_(seq).grib.%Y%m%d%H
# AWIPS1: GRID ^O.[JMNQ].*KWBJ /Grid/SBN/Raw
# ONQZ88 KWBJ 020000 /mNWW_124 !grib/ncep/NWW_124/#253/201102020000/F108/WVDIR/sfc/
HDS ^(O.[JMNQ].{1,3}) KWBJ (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWBJ_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^O.N.*KWBM /Grid/SBN/Raw
# OENA88 KWBM 020000 /mICE_120 !grib/ncep/ICE_120/#219/201102020000/F000/ICEC/MSL/
#HDS ^(O.N.{1,3}) KWBM (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWBM_\2\3\4_(seq).\5.%Y%m%d%H
#
# AWIPS1: GRID ^O.L.*KWBI /Grid/SBN/Raw
# OTLA88 KWBI 010000 /mSST !grib/ncep/SST/#235/201102010000/F000/TMP/sfc/
#HDS ^(O.L.{1,3}) KWBI (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWBI_\2\3\4_(seq).\5.%Y%m%d%H
#!MAINT! Combined the above two patterns into one. The only difference was KWBM vs KWBI and the O.L or O.N in \1
HDS ^(O.[LN].{1,3}) (KWBM|KWBI) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^OEBA88.*KNWC /Grid/SBN/Raw
# OEBA88 KNWC 271200 /m120 !grib/noc/120/#255/201101270000/F000/ICEC/sfc/
# FNMOC Seasonal Great Lakes Ice edge gridded data.
HDS ^(OEBA88) KNWC (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/ICE/GRID\7/\9Z_\(10)_\(11)-\1_KNWC_\2\3\4_(seq).\5.%Y%m%d%H
# DR 17480 Add HFR (High Frequency Radar) Pattern
# Note: There isn't much metadata here to work with, if more is needed Unidata should be contacted.
# OUTA98 KWNB 111100 !grib2/
ANY ^(OUTA98) KWNB (..)(..)(..)[^!]*!(grib|grib2)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/HFR/\1_KWNB_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^[YZ][UV]M.98.*KNHC /Grid/SBN/Raw
# *** NOT FOUND IN INGEST STREAM ***
ANY ^([YZ][UV]M.98) KNHC (..)(..)(..)[^!]*!(grib|grib2)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/TPCTcm/\1_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^H[ET]QV[01][0-9].*KWNC /Grid/SBN/Raw
# HEQV01 KWNC 151200 /mFORECASTER !grib/ncep/FORECASTER/#211/201012150100/F000/CLWMR/sfc/
# NCEP/CPC Precipitation and Temperature anomaly
# *** NOT FOUND IN INGEST STREAM ***
ANY ^(H[ET]QV[01][0-9]) KWNC (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KWNC_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^Y[IJL]XA[0-9][0-9].*KKCI /Grid/SBN/Raw
# YIXA48 KKCI 012300 /mAWC_CIP !grib/ncep/AWC_CIP/#252/201102012300/F000/NLAT/5791 m above MSL/
HDS ^(Y[IJL]XA[0-9][0-9]) KKCI (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)-\1_KKCI_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^YAW[BCDGJM][0-9][0-9].*KKCI /Grid/SBN/Raw
# YAWB43 KKCI 012200 /mAWC_CIP !grib/ncep/AWC_CIP/#252/201102012200/F001/NLAT/6705 m above MSL/
HDS ^(YAW[BCDGJM][0-9][0-9]) KKCI (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KKCI_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^YVW[ABCDGJM][0-9][0-9].*KKCI /Grid/SBN/Raw
# YVWA41 KKCI 012200 /mRUC2 !grib/ncep/RUC2/#255/201102012200/F000/TURB/7010 m above MSL/
HDS ^(YVW[ABCDGJM][0-9][0-9]) KKCI (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\5/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)-\1_KKCI_\2\3\4_(seq).\5.%Y%m%d%H
# AWIPS1: GRID ^[LM].[ABDHMNRSTU].*KWB.* /Grid/SBN/rawGrib2
# AWIPS1 OCONUS: GRID ^[LM].[ABCDGHMNORSTUVX].*KWB.* /Grid/SBN/rawGrib2
# LTHO70 KWBC 011800 !grib2/ncep/GFS/#213/201102011800F120/TMPK/700 hPa PRES
# DR 17426 'U' removed from second bracket set to remove 5km CONUS MOSGuide data Josh Watson
NGRID ^([LM].[ABCDGHMNORSTVX].{1,3}) (KWB.) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# MosGuidance, perhaps others?
# LVUC00 KWBQ 271200 !grib2/ncep/GFS/#197/FHRS//LVL
# Maint : fixed pattern at F...
# OCONUS: Added CEFG
# DR 17426 'U' removed from second bracket set to remove 5km CONUS MOSGuide data. Josh Watson
HDS ^([LM].[ABCDEFGHMNRST].{1,3}) (KWB.) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# DR 17426 New pattern for HPCGuide added because an edit was made to pqact to remove 5km CONUS MOSGuide data and
# that edit also removed the HPCGuide data. Josh Watson
NGRID ^([LM][ABCDFGH]U...) (KWBN) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# DR 17426
# 2.5km CONUS GMOS
# Pattern added by Josh Watson
# The noaaportIngester does not yet read a grib2 SBN file with more than one message.
NGRID ^(Y.UZ9[0-9]) (KWB.) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/GMOS/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
# DR 17426
# 2.5km Hawaii GMOS
# Pattern added by Josh Watson
# The noaaportIngester does not yet read a grib2 SBN file with more than one message.
# Commented out by default since the domain is limited to Hawaii. Sites wishing to
# ingest these data will need to
# 1. add the two lines below to dx1:/usr/local/ldm/etc/pqact.conf.xyz
# 2. On dx1 as root, run /data/fxa/sdc/config_awips2.sh ldm XYZ
#NGRID ^(L[B-HRUW]S.[0-9][0-9]) (KWBQ) (..)(..)(..)
# FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/GMOS/GRID255/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
# AWIPS1: GRID ^[LM].[MN].98.*KWNH /Grid/SBN/rawGrib2
# LEMG98 KWNH 020600 !grib2/ncep/NCEP_QPF/#001/201102020600F036/P06M/0 - NONE
NGRID ^([LM].[MN].98) (KWNH) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
HDS ^([LM].[MN].98) (KWNH) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1 OCONUS: GRID ^L.R....*KWNH /Grid/SBN/rawGrib2
NGRID ^(L.R...) (KWNH) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^[LM].E.*KWBD* /Grid/SBN/rawGrib2
# AWIPS1 OCONUS: GRID ^[LM].[EF].*KWBD* /Grid/SBN/rawGrib2
# MUEU98 KWBD 020600 !grib2/ncep/DGEX_115/#185/201102020600F090/UREL/10 m HGHT
NGRID ^([LM].[EF].{1,3}) (KWBD) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^L.U.*KWBN* /Grid/SBN/rawGrib2
# LAUE06 KWBN 021200 !grib2/ncep/NDFD/#197/201102021200F096/CLD/0 - NONE
#NGRID ^(L.U.*) (KWBN) (..)(..)(..) .*!(grib|grib2)/.*/(.*)/#(.*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\6/GRID\8/\7/\9/\(10)Z_\(11)_\(12)-\1_\2_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^L[AB]U[ABC].*KWNO* /Grid/SBN/rawGrib2
# LBUB05 KWNO 012200 !grib2/ncep/LAMP/#197/201102012200F007/CTSTM02/0 - NONE
# RM 14024 Vlab 5238
# 2.5km CONUS GriddedLAMP
# Pattern modified by Josh Watson
# Removed 14.4.1, replaced by 2.5km grid version
#NGRID ^(L[AB]U[ABC].{1,3}) (KWNO) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# RM 14024 Vlab 5238
# 2.5km CONUS GriddedLAMP
# Pattern added by Josh Watson
# The noaaportIngester does not yet read a grib2 SBN file with more than one message.
# RM 17414 Split out EKDMOS from KMDL pattern
NGRID ^(L[ABCDKLMN]U[ABZ][0-9][0-9]) (KMDL) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/LAMP/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
NGRID ^([LM][EFGH][A-L]Z9[0-9]) (KMDL) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/EKDMOS/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
NGRID ^(L[CDEF]U.[0-9][0-9]) (KWNO) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/LAMP/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
# AWIPS1: GRID ^L[UV]I.*KWBJ* /Grid/SBN/rawGrib2
# LVIB88 KWBJ 011800 !grib2/ncep/GFS/#255/201102011800F003/VSBY/10 m HGHT
NGRID ^(L[UV]I.{1,3}) (KWBJ) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^[LM]DG.*KNHC* /Grid/SBN/rawGrib2
# LDGG98 KNHC 021200 !grib2/ncep/FORECASTER/#255/201102021200F036/SPED360025PA/10 m HGHT
NGRID ^([LM]DG.{1,3}) (KNHC) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^LJ[NP][NT]98.*KWNM /Grid/SBN/rawGrib2
# LJNT98 KWNM 020500
# AWIPS1: GRID ^LJPZ98.*KNHC /Grid/SBN/rawGrib2
# LJPZ98 KNHC 020024
NGRID ^(LJNT98) (KWBC|KWNM) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/MPC/GRID180/\4\5Z_opcWave-\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
NGRID ^(LJPN98) (KWNM|KWBC) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/MPC/GRID181/\4\5Z_opcWave-\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
NGRID ^(LJPZ98) (KNHC|KWNM|KWBC) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/TPC/GRID182/\4\5Z_opcWave-\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
# AWIPS1: GRID ^ETWA88.*KWBI /Grid/SBN/rawGrib2
# ETWA88 KWBI 010000 !grib2/ncep/SST/#173/201102010000F000/TMPK/0 - NONE
NGRID ^(ETWA88) (KWBI) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^LAMA98.*KNES /Grid/SBN/rawGrib2
# LAMA98 KNES 012200 !grib2/ncep/RTMA/#197/201102012201F000/CLD/0-0 - NONE
NGRID ^(LAMA98) (KNES) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^L.Z.*KWBX /Grid/SBN/rawGrib2
# LRZY40 KWBX 020000
HDS ^([LM].Z.{1,3}) KWBX (..)(..)(..)
PIPE -close /usr/local/ldm/decoders/decrypt_file
/awips2/data_store/grib2/(\2:yyyy)(\2:mm)\2/\3/ECMWF_HiRes/ecmwf_decrypted_\1_KWBX_\2\3\4_(seq).grib2.%Y%m%d%H
EXP (.*ecmwf_decrypted.*)
FILE -overwrite -log -close -edex \1
# AWIPS1: GRID ^E.[ABCGHI].*KWBJ /Grid/SBN/rawGrib2
# AWIPS1 OCONUS: GRID ^E.[ABCDEFGHI].*KWBJ /Grid/SBN/rawGrib2
# EWAW88 KWBJ 021200 !grib2/ncep/GMGWM/#255/201102021200F180/WSTP/0 - NONE
NGRID ^(E.[ABCDEFGHI].{1,3}) (KWBJ) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# URMA
# Pattern provided by Joshua.Watson.
NGRID ^(L.QA98) (KWBR) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/URMA/GRID184/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^[LM].[AB].*KWBS* /Grid/SBN/rawGrib2
# AWIPS1 OCONUS: GRID ^[LM].[ABCDE].*KWBS* /Grid/SBN/rawGrib2
# LMDA98 KWBS 160000 !grib2/ncep/WRF_EM/#130/201012160000F000/WXTZ/0 - NONE
# DR 14804 - Removed A-D since its already picked up in NGRID pattern above
ANY ^([LM].[EF].{1,3}) (KWBS) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^LDIZ11.*KWNS /Grid/SBN/rawGrib2
# LDIZ11 KWNS 180039 !grib2/ncep/0/#202/FHRS//LVL
#ANY ^(LDIZ1[1-9]|LDIZ2[7-9]|LDIZ3[0789]|LDIZ4[0-1]) (KWNS) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/[^/]*/#([^/]*)/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/SPC/GRID\7/\4\5Z-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
#ANY ^(LDIZ1[1-9]|LDIZ2[7-9]|LDIZ3[0789]|LDIZ4[0-1]) (KWNS) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/[^/]*/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/SPC/GRID\7/\9Z_\(10)_\(11)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
ANY ^(LDIZ1[1-9]|LDIZ2[7-9]|LDIZ3[01789]|LDIZ4[0-1]) (KWNS) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/[^/]*/#([^/]*)/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/GRID\7/SPC/\9Z_\(10)_\(11)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^ZETA98.(KTUA|PACR|KSTR|KRSA|KORN|KRHA|KKRF|KMSR|KTAR|KPTR|KTIR|KALR|KFWR) /Grid/SBN/HydroRaw
# ZETA98 KTAR 012300 /mNWS_160 !grib/nws/NWS_160/#255/201102012200/F001/APCP/sfc/
HDS ^(ZETA98) (KTUA|PACR|KSTR|KRSA|KORN|KRHA|KKRF|KMSR|KTAR|KPTR|KTIR|KALR|KFWR) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: GRID ^ZDIA98.* /img/SBN/Raw
# ZDIA98 KKCI 030056 /mAWC_NCWD !grib/ncep/AWC_NCWD/#255/201102030056/F000/var202/atmos col/
ANY ^(ZDIA98) (....) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# Restore from build 12.12 with new grib storage convention.
HRS ^(YA)([WX])(A..) (KKCI) (..)(..)(..).*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})
FILE -overwrite -log -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\9/GRID\(10)/\(12)Z_\(13)-\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
HRS ^(ZV)(W)([ADGJM]..) (KKCI) (..)(..)(..).*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})/(F[0-9]{3})
FILE -overwrite -log -close -edex /awips2/data_store/\8/(\5:yyyy)(\5:mm)\5/\6/\9/GRID\(10)/\(12)Z_\(13)-\1\2\3_\4_\5\6\7_(seq).\8.%Y%m%d%H
#
# Addition for 3KM Alaska RTMA
#
NGRID ^(L[HKNPRTUV]KA98) (KWBR) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# AWIPS1: POINT .*IUPT(0[1-4]).*|.*IUPT40.* /ispan/bufr/profiler
# IUPT01 KBOU 020300
# AWIPS1: POINT ^IUAK01.* /ispan/bufr/profiler
# IUAK01 PANC 012300
HDS ^(IUPT0[1-4]|IUPT40|IUAK01) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/profiler/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# AWIPS1: POINT ^IUSZ[4-9][0-9].* /ispan/bufr/raob
# AWIPS1 OCONUS: POINT ^IUSZ[0-9][0-9].* /ispan/bufr/raob
# IUSZ53 KWBC 020205
# AWIPS1: POINT ^IUSY[4][0-9].* /ispan/bufr/raob
# IUSY41 KWBC 020030
HDS ^(IUS(Z[0-9]|Y4)[0-9]) ([A-Z]{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrua/(\4:yyyy)(\4:mm)\4/\5/\1_\3_\4\5\6_(seq).bufr.%Y%m%d%H
# AWIPS1: TEXT ^SFUS41.* /ispan/binLightning
# SFUS41 KWBC 012220
HDS ^(SF(US|PA)41) ([A-Z]{4}) (..)(..)(..)
FILE -overwrite -log -edex -close /awips2/data_store/binlightning/(\4:yyyy)(\4:mm)\4/\5/\1_\3_\4\5\6_(seq).nldn.%Y%m%d%H
# WMO Heading for Earth Networks Total Lightning
NGRID ^(SFPA42) ([A-Z]{4}) (..)(..)(..)
FILE -overwrite -log -edex -close /awips2/data_store/entlightning/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^[ABCFMNRSUVW]......[KPTMC] /text/NO_STORE
# TEXT ^[ABCFMNRSUVW].....[KPTMC] /text/NO_STORE
# TEXT ^DF.* /text/NO_STORE
# TEXT ^T[BCHPRTWXY].* /text/NO_STORE
# *** COME BACK TO THIS ***
IDS|DDPLUS ^(M[A-Z]{3}[0-9]{2}) ([KPTMC].{3}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/text/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(T[BCHPRTWXY][A-Z]{2}[0-9]{2}) ([A-Z]{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/text/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(SE[A-Z]{2}[0-9]{2}) ([A-Z]{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/text/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(WE[CHP][A-Z][0-9]{2}) ([A-Z]{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/text/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# summaries
#IDS|DDPLUS ^(A.{5}) (.{4}) (..)(..)(..)
# FILE -overwrite -log -close -edex /awips2/data_store/summaries/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# Change submitted by Dale Morris
IDS|DDPLUS ^(A[AC-FH-RT-Z]..[0-9][0-9]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/summaries/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
#DR 16188 - Changed IDS|DDPLUS to ANY to handle products over both nwstg and nwstg2 channels
ANY ^(AG..[0-9][0-9]) (KWB.) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/summaries/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
#shef
IDS|DDPLUS ^(A[BS]..[0-9][0-9]) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/shef/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(AG..[0-9][0-9]) (KALR|KFWR|KKRF|KMSR|KORN|KPTR|KRHA|KRSA|KSTR|KTAR|KTIR|KTUR|KTUA) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/shef/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(SR..[0-9][0-9]) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/shef/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# fire wx spot fcst reports
IDS|DDPLUS ^(B.{5}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/fire_wx_spot_fcst_reports/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# climate
IDS|DDPLUS ^(C.{5}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/climate/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# forecast
#IDS|DDPLUS ^(F.{5}) (.{4}) (..)(..)(..)
# FILE -overwrite -log -close -edex /awips2/data_store/forecast/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# Change submitted by Dale Morris
IDS|DDPLUS ^(F[A-FH-NP-Z]..[0-9][0-9]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/forecast/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(FOUS[1-589].) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/forecast/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
#PWSAT product - DR 17513
IDS|DDPLUS ^(FONT1[0-9]) KNHC (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/text/(\2:yyyy)(\2:mm)\2/\3/\1_KNHC_\2\3\4_(seq).%Y%m%d%H
#shef forecasts
IDS|DDPLUS ^(FG..[0-9][0-9]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/shef/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(FOUS[67].) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/shef/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# misc adm messages
#IDS|DDPLUS ^(N.{5}) (.{4}) (..)(..)(..)
# FILE -overwrite -log -close -edex /awips2/data_store/misc_adm_messages/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
#
# separate out svrwx lsr and GSM misc adm messages
IDS|DDPLUS ^(N[A-VYZ]....) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/misc_adm_messages/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(NWUS[01346-9].) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/misc_adm_messages/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(NWUS5.) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/lsr/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(NWUS2.) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/svrwx/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(NXUS[0-57-9].) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/misc_adm_messages/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# xml
IDS|DDPLUS ^(R.{5}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/xml/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# TEXT ^SMUS.* /point/synoptic/Raw
# TEXT ^SMCN.* /point/synoptic/Raw
# TEXT ^SMMX.* /point/synoptic/Raw
IDS|DDPLUS ^(SM[UCM][SNX]..) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/synoptic/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# DR 15716 - Add in SHUS products for fire weather obs (and others)
IDS|DDPLUS ^(SHUS..) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/misc_sfc_obs/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^S[AP]US[78]0.* /point/metar/Raw
# AWIPS1: TEXT ^S[AP]US4.* /point/metar/Raw
# AWIPS1: TEXT ^S[AP]U[CEMW]6.* /point/metar/Raw
# AWIPS1: TEXT ^SAAK7.* /point/metar/Raw
# AWIPS1: TEXT ^S[AP]CN[345].* /point/metar/Raw
# AWIPS1: TEXT ^SACN8[5679].*KWBC /point/metar/Raw
# AWIPS1: TEXT ^SACN9[0-7].*KWBC /point/metar/Raw
# AWIPS1: TEXT ^S[AP]MX[4].* /point/metar/Raw
# AWIPS1: TEXT ^S[AP]DR3*.* /point/metar/Raw
# AWIPS1: TEXT ^SAPA12.* /point/metar/Raw
# AWIPS1: TEXT ^SAPA[34][01].* /point/metar/Raw
# AWIPS1: TEXT ^S[AP]XX60.* /point/metar/Raw
# AWIPS1: TEXT ^S[AP]RA31.*KWBC /point/metar/Raw
IDS|DDPLUS ^(S[AP].{4}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/metar/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# already included in text pattern
#IDS|DDPLUS ^(SAAK7.) (....) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/metar/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# already included in text pattern
#IDS|DDPLUS ^(S[AP]CN[345].) (....) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/metar/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^SMV[DCE].* /point/maritime/Raw
# AWIPS1: TEXT ^SIV[DCE].* /point/maritime/Raw
# AWIPS1: TEXT ^SNV[DCE].* /point/maritime/Raw
# AWIPS1: TEXT ^SSV[DX].* /point/maritime/Raw
# SMVD21 KHAF 021800
IDS|DDPLUS ^(S[MIN]V[DCE]..|SSV[DX]..) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/maritime/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^SXUS2[0123].KWNB.* /point/maritime/Raw
# SXUS20 KWNB 022200 RRX
# AWIPS1: TEXT ^VHVD.*KWNB.* /point/maritime/Raw
# VHVD29 KWNB 022340 /pMOBP29
IDS|DDPLUS ^(SXUS2[0123]) KWNB (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/maritime/(\2:yyyy)(\2:mm)\2/\3/\1_KWNB_\2\3\4_(seq).%Y%m%d%H
# DR 15778 - Added RER pattern
IDS|DDPLUS ^(SXUS..) (.{4}) (..)(..)(..) /pRER
FILE -overwrite -log -close -edex /awips2/data_store/text/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# SHEF
IDS|DDPLUS ^(SO.{4}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/shef/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: OTHER ^UAUS31.* /point/aircraft/Raw
# AWIPS2 distribution file airep.xml: ^UA(US|PA|NT).. KWBC.*
IDS|DDPLUS ^(UA(US|PA|NT)..) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/airep/(\4:yyyy)(\4:mm)\4/\5/\1_\3_\4\5\6_(seq).%Y%m%d%H
# AWIPS1: OTHER ^UBUS[12].* /point/aircraft/Raw
# AWIPS1: OTHER ^UBUS3[15].* /point/aircraft/Raw
# AWIPS2 distribution file pirep.xml: ^UBC.*
IDS|DDPLUS ^(UB.{4}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/pirep/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# raobs
IDS|DDPLUS ^(U[SM].{4}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/raobs/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# upperair
IDS|DDPLUS ^(U[^ABSM].{4}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/upperair/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# MAROB
IDS|DDPLUS ^(V.{5}) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/MAROB/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# TODO: NEEDS A BETTER PATTERN
# warning/watch/advisory
# AWIPS2 distribution file warning.xml
#
# ^(W[FGHOTUW]|FZ)[ACHKMPU][AHKQSWY].*
# ^(WT)(NT|PZ)\d{2} KNHC.*
# ^(WTP)A\d{2} PHFO.*
# ^(NWU)S\d{2} KWNS.*
#
# Change suggested by Dale Morris
IDS|DDPLUS ^(W[BD-RTUW-Z]....) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/wwa/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^WAUS4[1-6].* /aiv/advisories/Raw
# WAUS44 KKCI 031822 AAA /pWA4T
# already included in text pattern
#IDS|DDPLUS ^(WAUS4[1-6]) (....) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/airmet/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^W[CSV]US0[1-6].* /aiv/advisories/Raw
# WSUS06 KKCI 030129
# already included in text pattern
#IDS|DDPLUS ^(W[CSV]US0[1-6]) (....) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/nonconvsigmet/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# AWIPS1: TEXT ^WSUS3[123].* /aiv/convSIGMET/Raw
# WSUS33 KKCI 030055 /pSIGW
# TEXT ^WSUS3[123].* /aiv/convSIGMET/Raw
IDS|DDPLUS ^(WSUS3[123]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/convsigmet/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# Aviation patterns : AIRMETS : CONUS
# TEXT ^WAUS4[1-6].* /aiv/advisories/Raw
#IDS|DDPLUS ^(WAUS4[1-6]) (.{4}) (..)(..)(..)
# FILE -overwrite -log -close -edex /awips2/data_store/airmet/%Y%m%d/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# Aviation patterns : NON-CONVECTIVE SIGMETS : CONUS
# TEXT ^W[CSV]US0[1-6].* /aiv/advisories/Raw
IDS|DDPLUS ^(W[ACSV]US[04][1-6]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/nonconvsigmet/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# airmet
IDS|DDPLUS ^(WAUS4[1-6]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/airmet/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# intlsigmets
IDS|DDPLUS ^(W[CSV]PA((0[1-9])|(1[1-3]))) (PHFO) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/intlsigmet/(\6:yyyy)(\6:mm)\6/\7/\1_\5_\6\7\8_(seq).%Y%m%d%H
IDS|DDPLUS ^(W[CSV]NT((0[1-9])|(1[1-3]))) (KKCI) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/intlsigmet/(\6:yyyy)(\6:mm)\6/\7/\1_\5_\6\7\8_(seq).%Y%m%d%H
IDS|DDPLUS ^(WAAK4[789]) (PAWU) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/intlsigmet/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
IDS|DDPLUS ^(W[CSV]PN0[1-6]) (KKCI) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/intlsigmet/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# already included in text pattern
#IDS|DDPLUS ^(S[IMN]V[DCE]..|SSV[DX]..) (....) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/sfcobs/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# already included in text pattern
#IDS|DDPLUS ^(SXUS2[0123]) (KWNB) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/sfcobs/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# already included in text pattern
#IDS|DDPLUS ^(VHVD..) (KWNB) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/sfcobs/\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H
# already included in text pattern
#IDS|DDPLUS ^(SM(US|CN|MX)..) (....) (..)(..)(..)
# FILE -overwrite -log -close /awips2/data_store/sfcobs/\4/\5/\1_\3_\4\5\6_(seq).%Y%m%d%H
# AWIPS1: POINT ^JSMT2[1-6].* /ispan/bufr/AVN
# AWIPS1: POINT ^JSMT4[1-6].* /ispan/bufr/NGM
# AWIPS1: POINT ^JSMT6[1-6].* /ispan/bufr/MRF
# AWIPS1: POINT ^JSMT7[1-6].KWNO.* /ispan/bufr/MRF
# AWIPS1: POINT ^JSMT7[1-6].KWNH.* /ispan/bufr/HPC
# AWIPS1: POINT ^JSML1[1-6].* /ispan/bufr/ETA
# AWIPS1: POINT ^JSML3[1-6].* /ispan/bufr/GFS
# JSML30 KWNO 021800
# AWIPS1: POINT ^JSMF1[1-6].KWNO.* /ispan/bufr/GFSLAMP
# AWIPS1 OCONUS: POINT ^JSMF1[0-7].KWNO.* /ispan/bufr/GFSLAMP
# JSMF12 KWNO 022200
HDS ^(JSM([TL]..|F1[0-7])) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrmos/(\4:yyyy)(\4:mm)\4/\5/\1_\3_\4\5\6_(seq).bufr.%Y%m%d%H
# AWIPS1: POINT ^IUAX0[12].* /ispan/bufr/acars
# IUAX02 KARP 022359
ANY ^(IUAX0[12]) (....) (..)(..)(..)
FILE -overwrite -log -close /awips2/data_store/acars/acars_encrypted/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).acars.%Y%m%d%H
ANY ^(IUAX0[12]) (....) (..)(..)(..)
PIPE -close /usr/local/ldm/decoders/decrypt_file
/awips2/data_store/acars/acars_decrypted/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).acars.%Y%m%d%H
EXP ^/awips2/data_store/acars/acars_decrypted/(.*)
FILE -overwrite -log -close -edex /awips2/data_store/acars/acars_decrypted/\1
# Need to make sure that IUAK and IUAX are disallowed.
# IUAK are Alaskan profilers and IUAX has encrypted ACARS handled above!
ANY ^(IUA[^XK]0[12]) (....) (..)(..)(..)
FILE -overwrite -close -edex /awips2/data_store/acars/acars_raw_decrypted/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# AWIPS1: POINT ^JSAT98.*KKCI.* /aiv/ncwf/Raw
# JSAT98 KKCI 022210
HDS ^(JSAT98) (KKCI) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrncwf/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# AWIPS1: POINT ^JU[BCFJMNOTVW]E(00|9[679]).*KKCI.* /aiv/sigwx/Raw
# JUWE96 KKCI 021800
HDS ^(JU[BCFJMNOTVW]E(00|9[679])) KKCI (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrsigwx/(\3:yyyy)(\3:mm)\3/\4/\1_KKCI_\3\4\5_(seq).bufr.%Y%m%d%H
## Hydro portion created during automation ##
## Model Bufr Patterns ##
# From modelBufrAcq_patterns.template
# Localized if modelBufrClip.sup exists -- going to just add all for now
# AWIPS1: POINT ^JUSA41.KWNO* /ispan/bufr/modelSoundings/NAM
# POINT ^JUSA41.KWBC* /ispan/bufr/modelSoundings/GFS
# JUSA42 KWNO 070200
HDS ^(JUS[ABX]4[1-9]) (KW(NO|BC)) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/modelsounding/(\4:yyyy)(\4:mm)\4/\5/\1_\2_\4\5\6_(seq).bufr.%Y%m%d%H
## GOES Bufr Patterns ##
# From goesBufrAcq_patterns.template
# Localized if goesBufrClip.sup exists -- going to just add all for now
# AWIPS1: POINT ^JUTX01.* /ispan/bufr/GOESSoundings
#
# JUTX05 KNES 070326 RRN
HDS ^(JUTX0[1-9]) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/goessounding/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
## POES Bufr Patterns ##
# From poesBufrAcq_patterns.template
# Localized if poesBufrClip.sup exists -- going to just add all for now
# AWIPS1: POINT ^IUTX01.* /ispan/bufr/POESSoundings
# IUTX01 KNES 070307
HDS ^(IUTX0[1-9]) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/poessounding/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# Added NUCAPS pattern - DR 17631
HDS ^(IUTN0[1-5]) (....) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/nucaps/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
## HDW Bufr Patterns ##
# From [east|west]HDWBufrAcq_patterns.template #
### From Automation ###
# AWIPS1: POINT ^J[CGJMPR]CX[0-9]1.* /ispan/bufr/HDW
# AWIPS2 distribution file bufrhdw.xml: ^J[ACEGHJKMNPQR]CX[1-9]1.*
HDS ^(J[ACEGHJKMNPQR]CX[1-9]1) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrhdw/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# AWIPS2 distribution file bufrssmi.xml: ^ISXA.*
HDS ^(ISXA..) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrssmi/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# AWIPS2 distribution file bufrascat.xml: ^JSXX(0[1-9]|10).*
HDS ^(JSXX(0[1-9]|10)) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrascat/(\4:yyyy)(\4:mm)\4/\5/\1_\3_\4\5\6_(seq).bufr.%Y%m%d%H
# AWIPS2 distribution file bufrascat.xml: ^JSYY0[1-9].*
HDS ^(JSYY0[1-9]) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrascat/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).bufr.%Y%m%d%H
# AWIPS2 distribution file bufrmthdw.xml: ^JUTX(([2-4]1)|53).*
HDS ^(JUTX(([2-4]1)|53)) (.{4}) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/bufrmthdw/(\5:yyyy)(\5:mm)\5/\6/\1_\4_\5\6\7_(seq).bufr.%Y%m%d%H
# AWIPS1: RADAR ^SDUS[23578].*|^NXUS6.* /radar/raw
# RADAR ^SDUS3.* /radar/text
# TEXT ^SDUS4([0789].*|[1-6].[^K]*|[1-6].K[^W]*|[1-6].KW[^B]*|[1-6].KWB[^C]*) /radar/text
# ** TO BE LOCALIZED ***
# radar modifications 5/15/2012 comment out the previous radar config and add local radars
#
#ANY ^(SDUS[234578].) (K|P|T)(OUN|FWD|ICT|TSA) (..)(..)(..) /p(...)(OKC|TLX|FDR|VNX|FWS|GRK|DAL|DFW|TUL|INX|SRX)
# FILE -overwrite -close -edex /awips2/data_store/radar/(\4:yyyy)(\4:mm)\4/\5/\2\8/\7/\2\8_\7_\4\5\6-\1_\2\3_(seq).rad.%Y%m%d%H
#
#ANY ^(SDUS4.) (KWBC) (..)(..)(..) /p(...)(OKC|TLX|FDR|VNX|FWS|GRK|DAL|DFW|TUL|INX|SRX)
# FILE -overwrite -close -edex -log /awips2/data_store/text/(\3:yyyy)(\3:mm)\3/\4/K\7/\6/K\7_\6_\3\4\5-\1_\2_(seq).txt.%Y%m%d%H
#IDS|DDPLUS ^(NXUS6.) (K|P|T)(...) (..)(..)(..) /p(GSM)(OKC|TLX|FDR|VNX|FWS|GRK|DAL|DFW|TUL|INX|SRX)
# FILE -overwrite -log -close -edex /awips2/data_store/radar/(\4:yyyy)(\4:mm)\4/\5/\2\8/\7/\2\8_\7_\4\5\6-\1_\2\3_(seq).rad.%Y%m%d%H
#
#example to show P and T radrs (AK, HI, and PR)
#IDPS|DDPLUS ^(NXUS6.) (P|T)(...) (..)(..)(..) /p(GSM)(...)
# FILE -overwrite -log -close -edex /awips2/data_store/radar/(\4:yyyy)(\4:mm)\4/\5/\2\8/\7/\2\8_\7_\4\5\6-\1_\2\3_(seq).rad.%Y%m%d%H
# RTOFS Global
# The 3rd letter specifies region
# A = Alaska D = Arctic I = Gulf Alaska S = Samoa
# B = Bering G = Guam J = Hudson Baffin T = Trop Paci Lowres
# C = West Conus H = Honolulu K = West Atl
NGRID ^(E[HS-V][A-DG-KST][B-T]01) (KWBW) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/RTOFS/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
# ESTOFS - Pattern provided by Joshua.Watson.
NGRID ^(E[EHC][IP][A-Z]88) (KWBM) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# HRRR - Pattern provided by Joshua.Watson.
NGRID ^(Y.C[A-MZ][05789][0-9]) (KWBY) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# MRMS
#NGRID ^(YAU[CDLMPQS][0-2][0-9]) (KWNR) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# RTMA 2.5km
NGRID ^(L.IA98) (KWBR) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# ETSS CONUS
NGRID ^(MHU...) (KNHC) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/ETSS/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
# ETSS-AK
NGRID ^(MHR...) (KNHC) (..)(..)(..)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/ETSS/NDFD-AK/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H
#NGRID ^(YAU[CDLMPQS][0-2][0-9]) (KWNR) (..)(..)(..)[^!]*!(grib|grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
# FILE -overwrite -log -close -edex /awips2/data_store/\6/(\3:yyyy)(\3:mm)\3/\4/\7/GRID\8/\(10)Z_\(11)_\(12)-\1_\2_\3\4\5_(seq).\6.%Y%m%d%H
# GFS20 - Alaska, Puerto Rico, Pacific and CONUS
# YUFC97 KWBC 051200 !grib2/ncep/GFS/#255/201505051200F012/UREL/2 K*m**2*kg-1*s-1
# ZONK67 KWBC 051200 !grib2/ncep/GFS/#215/201505051200F021/OMEG/675 hPa PRES
# ZVBK86 KWBC 051200 !grib2/ncep/GFS/#217/201505051200F021/VREL/180-150 hPa PDLY
NGRID ^([YZ][BCE-HMO-Y][BEFN][A-Z][0-9][0-9]) KWBC (..)(..)(..) [^!]*!(grib2)/[^/]*/([^/]*)/#([^/]*)/([0-9]{8})([0-9]{4})(F[0-9]{3})/([^/]*)
FILE -overwrite -log -close -edex /awips2/data_store/grib2/(\2:yyyy)(\2:mm)\2/\3/\6/GRID\7/\9Z_\(10)_\(11)_\1_KWBC_\2\3\4_(seq).\5.%Y%m%d%H

View file

@ -1,17 +0,0 @@
# Configuration file for "scour" utility, to delete all files older than a
# specified number of days from specified directories and all their
# subdirectories. Scour should be invoked periodically by cron(8).
#
# Each line consists of a directory, a retention time (in days), and
# (optionally) a shell filename pattern for files to be deleted. If no
# filename pattern is specified, "*" representing all files not beginning
# with "." is assumed.
#
# A hash in column one indicates a comment line.
# Directory Days-old Optional-filename-pattern
#~ldm/data/dir1 2
#~ldm/data/dir2 2 *.foo
~ldm/logs 2 *.stats
/awips2/data_store 1

View file

@ -1,144 +0,0 @@
#!/bin/bash
#
# ldmcp: This starts and stops the SBN LDMCP software at the sites
#
# chkconfig: 345 99 0
# description: ldmcp starts/stops SBN LDM software on the CP at the site
#
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin
# Source function library.
. /etc/init.d/functions
RETVAL=0
LDM_PROJECT="/usr/local/ldm"
AWIPS_PROJECT="/awips"
LOGFILE=`basename $0`
if [ -f /etc/rc.config.d/AWIPS ];then
. /etc/rc.config.d/AWIPS
else
echo "AWIPS file not found. Exiting.."
exit -1
fi
function handle_ramdisk() {
# check if ramdisk is mounted:
if ! mount | grep ram0 > /dev/null
then
echo -ne "Creating RAMDISK:\t"
if mkfs -t ext2 -m 0 -q /dev/ram0 1500000 && success || failure
then
echo
# mount to /data/ldm/data
echo -ne "Mounting to /data/ldm/data:\t"
if ! mount /dev/ram0 /data/ldm/data && failure
then
echo
return 1
else
success
fi
echo
sleep 2
else
echo
return 1
fi
fi
echo -ne "Fixing Permissions:\t"
if ! chown -R ldm:fxalpha /data/ldm/data && failure
then
echo
return 1
fi
success
echo
return 0
}
function clean_ldm() {
echo -ne "Cleaning LDM:\t"
su ldm -lc "ldmadmin clean" > /dev/null 2>&1 && success || failure
myRetVal=$?
if [[ ${myRetVal} -ne 0 ]]
then
return ${myRetVal}
fi
echo
if [[ -f /data/ldm/data/ldm.pq ]]
then
echo -ne "\nDeleting the ldm queue:\t"
su ldm -lc "ldmadmin delqueue" > /dev/null 2>&1 && success || failure
echo
fi
echo -ne "\nCreating the ldm queue:\t"
su ldm -lc "ldmadmin mkqueue" > /dev/null 2>&1 && success || failure
myRetVal=$?
echo
return ${myRetVal}
}
case $1 in
'start')
#ramdisk no longer used starting in 14.2.1
# if ! handle_ramdisk; then exit 1 ; fi
if ! clean_ldm; then exit 1 ; fi
echo -n "Starting AWIPS SBN CP (LDM) processes:"
$LDM_PROJECT/bin/start_ldm > /data/ldm/logs/$LOGFILE 2>&1
if [ $? -eq 0 ]
then
RETVAL=0
touch /var/lock/subsys/ldmcp
success && echo
$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m "SBN CP (LDM) Start OK"
echo "$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m 'SBN CP (LDM) Start OK' "
else
RETVAL=1
failure && echo
$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m "SBN CP (LDM) Start FAIL"
echo "$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m 'SBN CP (LDM) Start FAIL'"
fi
mc_sbn_S300_dvb
;;
'stop')
echo -n "Stopping AWIPS SBN CP (LDM) processes:"
$LDM_PROJECT/bin/stop_ldm >> /data/ldm/logs/$LOGFILE 2>&1
if [ $? -eq 0 ]
then
RETVAL=0
rm -f /var/lock/subsys/ldmcp
success && echo
$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m "SBN CP (LDM) Stop OK"
echo "$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m 'SBN CP (LDM) Stop OK'"
else
RETVAL=1
failure && echo
$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m "SBN CP (LDM) Stop FAIL"
echo "$AWIPS_PROJECT/bin/ErrorLogADS -p ldmcp -t c -s ma -g 60 -n 2 -m 'SBN CP (LDM) Stop FAIL'"
fi
for pid in `ps -C mc_sbn_S300_dvb --no-headings -o pid`
do
echo "Sending SIGTERM to the mc_sbn_S300_dvb pid $pid"
kill -s SIGTERM $pid
sleep 1
done
;;
*)
echo "usage: $0 {start|stop}"
RETVAL=1
;;
esac
exit $RETVAL

View file

@ -1,3 +0,0 @@
/usr/local/ldm/lib
/awips2/qpid/lib
/awips2/python/lib

View file

@ -1,12 +0,0 @@
/data/ldm/logs/ldmd.log /data/ldm/logs/nwstg.log /data/ldm/logs/goes_add.log /data/ldm/logs/nwstg2.log /data/ldm/logs/oconus.log /data/ldm/logs/polarsat.log {
missingok
compress
notifempty
daily
rotate 5
create 0660 root fxalpha
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}

View file

@ -1,11 +0,0 @@
if $?LD_LIBRARY_PATH then
setenv LD_LIBRARY_PATH /usr/local/ldm/lib:$LD_LIBRARY_PATH
else
setenv LD_LIBRARY_PATH /usr/local/ldm/lib
endif
if $?PATH then
setenv PATH /usr/local/ldm/bin:$PATH
else
setenv PATH /usr/local/ldm/bin
endif

View file

@ -86,10 +86,6 @@ mkdir -p ${RPM_BUILD_ROOT}/awips2/notification
if [ $? -ne 0 ]; then
exit 1
fi
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
BUILD_NATIVE="%{_baseline_workspace}/build.native"
mkdir -p %{_cdt_build_loc}
@ -106,9 +102,6 @@ if [ $? -ne 0 ]; then
fi
popd > /dev/null 2>&1
PROFILE_D_DIR="rpms/awips2.core/Installer.notification/scripts/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
copyLegal "awips2/notification"
%pre
@ -121,8 +114,6 @@ rm -rf %{_cdt_build_loc}
%files
%defattr(644,awips,fxalpha,755)
%attr(755,root,root) /etc/profile.d/awips2Notification.csh
%attr(755,root,root) /etc/profile.d/awips2Notification.sh
%dir /awips2/notification
%dir /awips2/notification/include
/awips2/notification/include/*

View file

@ -1,32 +0,0 @@
#!/bin/bash
if [ -d /awips2/notification ]; then
# Determine Where awips2-notification Has Been Installed.
NOTIFICATION_INSTALL="/awips2/notification"
QPID_LIB_DIR="/awips2/qpid/lib"
# Update The Environment.
# Determine if awips2-notification is Already On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${NOTIFICATION_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-notification Is Not On LD_LIBRARY_PATH; Add It.
_lib_dir=${NOTIFICATION_INSTALL}/lib
if [ -d ${NOTIFICATION_INSTALL}/lib64 ]; then
_lib_dir=${NOTIFICATION_INSTALL}/lib64
fi
export LD_LIBRARY_PATH=${_lib_dir}:${LD_LIBRARY_PATH}
fi
# Determine if the qpid lib directory is already on LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${QPID_LIB_DIR}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${QPID_LIB_DIR}:$LD_LIBRARY_PATH
fi
# Determine if awips2-notification Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${NOTIFICATION_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-notification Is Not In The Path; Add It To The Path.
export PATH=${NOTIFICATION_INSTALL}/bin:${PATH}
fi
fi

View file

@ -282,14 +282,11 @@ done
copyLegal "awips2/postgresql"
mkdir -p %{_build_root}/etc/profile.d
mkdir -p %{_build_root}/etc/ld.so.conf.d
mkdir -p %{_build_root}/etc/init.d
touch %{_build_root}/etc/ld.so.conf.d/awips2-postgresql-%{_build_arch}.conf
echo "/awips2/postgresql/lib" >> %{_build_root}/etc/ld.so.conf.d/awips2-postgresql-%{_build_arch}.conf
PROFILE_D_DIR="rpms/awips2.core/Installer.postgres/scripts/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* %{_build_root}/etc/profile.d
# Include the postgresql service script
cp %{_baseline_workspace}/rpms/awips2.core/Installer.postgres/scripts/init.d/edex_postgres \
@ -330,8 +327,6 @@ and populate the AWIPS II databases.
%files
%defattr(644,awips,fxalpha,755)
%attr(755,root,root) /etc/profile.d/awips2Postgres.csh
%attr(755,root,root) /etc/profile.d/awips2Postgres.sh
%attr(755,root,root) /etc/ld.so.conf.d/awips2-postgresql-%{_build_arch}.conf
%attr(744,root,root) /etc/init.d/edex_postgres
%attr(700,awips,fxalpha) /awips2/data
@ -352,8 +347,6 @@ and populate the AWIPS II databases.
%files -n awips2-psql
%defattr(755,awips,fxalpha,755)
%attr(755,root,root) /etc/profile.d/awips2PSQL.csh
%attr(755,root,root) /etc/profile.d/awips2PSQL.sh
%dir /awips2
%dir /awips2/psql
%dir /awips2/psql/bin

View file

@ -1,21 +0,0 @@
#!/bin/bash
if [ -d /awips2/psql ]; then
# Determine Where awips2-psql Has Been Installed.
PSQL_INSTALL="/awips2/psql"
# Update The Environment.
# Determine if awips2-psql is Already On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${PSQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-psql Is Not On LD_LIBRARY_PATH; Add It.
export LD_LIBRARY_PATH=${PSQL_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
# Determine If awips2-psql Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${PSQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-psql Is Not In The Path; Add It To The Path.
export PATH=${PSQL_INSTALL}/bin:${PATH}
fi
fi

View file

@ -1,24 +0,0 @@
#!/bin/bash
if [ -d /awips2/postgresql ]; then
# Determine Where awips2-postgresql Has Been Installed.
POSTGRESQL_INSTALL="/awips2/postgresql"
if [ "${POSTGRESQL_INSTALL}" = "" ]; then
return
fi
# Update The Environment.
# Determine if awips2-postgresql is Already On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${POSTGRESQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-postgresql Is Not On LD_LIBRARY_PATH; Add It.
export LD_LIBRARY_PATH=${POSTGRESQL_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
# Determine if awips2-postgresql Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${POSTGRESQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-postgresql Is Not In The Path; Add It To The Path.
export PATH=${POSTGRESQL_INSTALL}/bin:${PATH}
fi
fi

View file

@ -116,7 +116,6 @@ fi
%install
mkdir -p %{_build_root}/awips2/tools
mkdir -p %{_build_root}/etc/profile.d
cd %{_tools_build_loc}/hdf5-1.8.4-patch1
make install prefix=%{_build_root}/awips2/tools
@ -147,9 +146,6 @@ function copyLegal()
rm -f %{_baseline_workspace}/rpms/legal/FOSS_licenses.tar
}
PROFILE_D_DIR="rpms/awips2.core/Installer.tools/scripts/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* %{_build_root}/etc/profile.d
copyLegal "awips2/tools"
%pre
@ -163,8 +159,6 @@ rm -rf %{_tools_build_loc}
%files
%defattr(644,awips,fxalpha,755)
%attr(755,root,root) /etc/profile.d/awips2HDF5Tools.csh
%attr(755,root,root) /etc/profile.d/awips2HDF5Tools.sh
%dir /awips2/tools
%dir /awips2/tools/include
/awips2/tools/include/*

View file

@ -1,24 +0,0 @@
#!/bin/bash
if [ -d /awips2/tools ]; then
# Determine Where awips2-tools Has Been Installed.
HDF5_TOOLS_INSTALL=/awips2/tools
if [ "${HDF5_TOOLS_INSTALL}" = "" ]; then
return
fi
# Update The Environment.
# Determine If awips2-tools Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${HDF5_TOOLS_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-tools Is Not In The Path; Add It.
export PATH=${HDF5_TOOLS_INSTALL}/bin:${PATH}
fi
# Determine If awips2-tools Is On LD_LIBRARY_PATH.
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${HDF5_TOOLS_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-tools Is Not On LD_LIBRARY_PATH; Add It.
export LD_LIBRARY_PATH=${HDF5_TOOLS_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
fi

View file

@ -47,6 +47,13 @@ mkdir -p ${RPM_BUILD_ROOT}
%build
%install
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
PROFILE_D_DIR="rpms/awips2.core/Installer.version/scripts/profile.d"
cp %{_baseline_workspace}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
%pre
@ -200,6 +207,8 @@ fi
%postun
%files
%attr(755,root,root) /etc/profile.d/awips2.csh
%attr(755,root,root) /etc/profile.d/awips2.sh
%clean
rm -rf ${RPM_BUILD_ROOT}

View file

@ -0,0 +1,17 @@
#!/bin/csh
set JAVA_INSTALL="/awips2/java"
set PYTHON_INSTALL="/awips2/python"
set NOTIFICATION_INSTALL="/awips2/notification"
set QPID_LIB_DIR="/awips2/qpid/lib"
set GFESUITE_PATH="/awips2/GFESuite/bin"
set HDF5_TOOLS_INSTALL="/awips2/tools"
set POSTGRES_INSTALL="/awips2/postgresql"
set PSQL_INSTALL="/awips2/psql"
set CLI_INSTALL="/awips2/fxa"
setenv LDMHOME "/awips2/ldm"
setenv JAVA_HOME "${JAVA_INSTALL}"
setenv PATH ${LDMHOME}/bin:${LDMHOME}/decoders:${LDMHOME}/util:${CLI_INSTALL}/bin:${PSQL_INSTALL}/bin:${POSTGRES_INSTALL}/bin:${HDF5_TOOLS_INSTALL}/bin:${GFESUITE_PATH}:${NOTIFICATION_INSTALL}/bin:${PYTHON_INSTALL}/bin:${JAVA_INSTALL}/bin:$PATH
setenv LD_LIBRARY_PATH /awips2/ldm/lib:${PSQL_INSTALL}/lib:${POSTGRES_INSTALL}/lib:${HDF5_TOOLS_INSTALL}/lib:${NOTIFICATION_INSTALL}/lib:${QPID_LIB_DIR}:${PYTHON_INSTALL}/lib:$LD_LIBRARY_PATH
set CAVE_INSTALL="/awips2/cave"
setenv TMCP_HOME "${CAVE_INSTALL}/caveEnvironment"
setenv FXA_HOME "${CAVE_INSTALL}/caveEnvironment"

View file

@ -0,0 +1,118 @@
#!/bin/bash
PYTHON_INSTALL="/awips2/python"
CLI_INSTALL="/awips2/fxa"
GFESUITE_PATH="/awips2/GFESuite/bin"
HDF5_TOOLS_INSTALL="/awips2/tools"
NOTIFICATION_INSTALL="/awips2/notification"
QPID_LIB_DIR="/awips2/qpid/lib"
POSTGRESQL_INSTALL="/awips2/postgresql"
PSQL_INSTALL="/awips2/psql"
JAVA_INSTALL="/awips2/java"
LDM_INSTALL="/awips2/ldm"
AWIPS_PYTHON=${PYTHON_INSTALL}
export LDMHOME=${LDM_INSTALL}
export JAVA_HOME=${JAVA_INSTALL}
export YAJSW_HOME="/awips2/yajsw"
export GROOVY_HOME=/awips2/groovy
export PATH=${GROOVY_HOME}/bin:${PATH}
CAVE_INSTALL="/awips2/cave"
export TMCP_HOME=${CAVE_INSTALL}/caveEnvironment
export FXA_HOME=${CAVE_INSTALL}/caveEnvironment
if [ -d ${PYTHON_INSTALL} ]; then
# Determine If Python Is Already Part Of The Path
CHECK_PATH=`echo ${PATH} | grep ${PYTHON_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${PYTHON_INSTALL}/bin:${PATH}
fi
# Determine If Python Is On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${PYTHON_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${PYTHON_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
fi
if [ -d ${CLI_INSTALL} ]; then
export PATH=${CLI_INSTALL}/bin:${PATH}
fi
# Ensure that it is not already in the path
CHECK_PATH=`echo ${PATH} | grep ${GFESUITE_PATH}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${GFESUITE_PATH}:${PATH}
fi
if [ -d ${HDF5_TOOLS_INSTALL} ]; then
# Determine If awips2-tools Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${HDF5_TOOLS_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${HDF5_TOOLS_INSTALL}/bin:${PATH}
fi
# Determine If awips2-tools Is On LD_LIBRARY_PATH.
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${HDF5_TOOLS_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${HDF5_TOOLS_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
fi
if [ -d ${JAVA_INSTALL} ]; then
# Determine If Java Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${JAVA_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${JAVA_INSTALL}/bin:${PATH}
fi
fi
if [ -d ${NOTIFICATION_INSTALL} ]; then
# Determine if awips2-notification is Already On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${NOTIFICATION_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
# awips2-notification Is Not On LD_LIBRARY_PATH; Add It.
_lib_dir=${NOTIFICATION_INSTALL}/lib
if [ -d ${NOTIFICATION_INSTALL}/lib64 ]; then
_lib_dir=${NOTIFICATION_INSTALL}/lib64
fi
export LD_LIBRARY_PATH=${_lib_dir}:${LD_LIBRARY_PATH}
fi
# Determine if the qpid lib directory is already on LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${QPID_LIB_DIR}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${QPID_LIB_DIR}:$LD_LIBRARY_PATH
fi
# Determine if awips2-notification Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${NOTIFICATION_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${NOTIFICATION_INSTALL}/bin:${PATH}
fi
fi
if [ -d ${POSTGRESQL_INSTALL} ]; then
# Determine if awips2-postgresql is Already On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${POSTGRESQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${POSTGRESQL_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
# Determine if awips2-postgresql Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${POSTGRESQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${POSTGRESQL_INSTALL}/bin:${PATH}
fi
fi
if [ -d ${PSQL_INSTALL} ]; then
# Determine if awips2-psql is Already On LD_LIBRARY_PATH
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${PSQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${PSQL_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
# Determine If awips2-psql Is Already Part Of The Path.
CHECK_PATH=`echo ${PATH} | grep ${PSQL_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${PSQL_INSTALL}/bin:${PATH}
fi
fi
if [ -d ${LDM_INSTALL} ]; then
CHECK_PATH=`echo ${PATH} | grep ldm`
if [ "${CHECK_PATH}" = "" ]; then
export PATH=${LDM_INSTALL}/bin:${LDM_INSTALL}/decoders:${LDM_INSTALL}/util:${PATH}
fi
CHECK_PATH=`echo ${LD_LIBRARY_PATH} | grep ${LDM_INSTALL}`
if [ "${CHECK_PATH}" = "" ]; then
export LD_LIBRARY_PATH=${LDM_INSTALL}/lib:${LD_LIBRARY_PATH}
fi
fi

View file

@ -47,7 +47,6 @@ fi
%install
DIST_DIR="%{_baseline_workspace}/foss/yajsw-%{_yajsw_version}/packaged"
YAJSW_SCRIPTS_DIR="%{_baseline_workspace}/rpms/awips2.core/Installer.yajsw/scripts"
YAJSW_ZIP="yajsw-dist.zip"
@ -60,7 +59,6 @@ mkdir -p %{_build_root}/etc
if [ $? -ne 0 ]; then
exit 1
fi
cp -rv ${YAJSW_SCRIPTS_DIR}/* %{_build_root}/etc
if [ $? -ne 0 ]; then
exit 1
fi
@ -80,5 +78,3 @@ rm -rf ${RPM_BUILD_ROOT}
%defattr(755,awips,fxalpha,755)
%dir /awips2/yajsw/scripts
/awips2/yajsw/scripts/*.sh
%attr(744,root,root) /etc/profile.d/*

View file

@ -1,7 +0,0 @@
#!/bin/bash
if [ -d /awips2/yajsw ]; then
YAJSW_INSTALL="/awips2/yajsw"
# Update The Environment
export YAJSW_HOME=${YAJSW_INSTALL}
fi

View file

@ -55,10 +55,6 @@ fi
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mkdir -p %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/mkdir -p %{_build_root}/etc/ld.so.conf.d
if [ $? -ne 0 ]; then
exit 1
@ -127,10 +123,6 @@ do
done
# copy environment scripts to their destination
/bin/cp profile.d/* %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then
exit 1
fi
/bin/cp ld.so.conf.d/* %{_build_root}/etc/ld.so.conf.d
if [ $? -ne 0 ]; then
exit 1
@ -313,8 +305,6 @@ rm -rf ${RPM_BUILD_ROOT}
%dir /awips2/ldm
%dir /awips2/ldm/SOURCES
/awips2/ldm/SOURCES/*
%attr(755,root,root) /etc/profile.d/awipsLDM.csh
%attr(755,root,root) /etc/profile.d/awipsLDM.sh
%attr(755,root,root) /etc/init.d/edex_ldm
%attr(600,awips,fxalpha) /var/spool/cron/awips
%attr(755,root,root) /etc/ld.so.conf.d/awips2-ldm.conf

View file

@ -1,6 +0,0 @@
#!/bin/bash
# Determine where cave has been installed.
CAVE_INSTALL="/awips2/cave"
export TMCP_HOME=${CAVE_INSTALL}/caveEnvironment
export FXA_HOME=${CAVE_INSTALL}/caveEnvironment

View file

@ -1,9 +0,0 @@
#!/bin/csh
set GFESUITE_PATH="/awips2/GFESuite/bin"
if $?PATH then
setenv PATH ${GFESUITE_PATH}:${PATH}
else
setenv PATH ${GFESUITE_PATH}
endif

View file

@ -1,17 +0,0 @@
#!/bin/bash
GFESUITE_PATH="/awips2/GFESuite/bin"
# Verify existence
if [ ! -d ${GFESUITE_PATH} ]; then
return
fi
# Ensure that it is not already in the path
CHECK_PATH=`echo ${PATH} | grep ${GFESUITE_PATH}`
if [ ! "${CHECK_PATH}" = "" ]; then
return
fi
# Add it to the path
export PATH=${GFESUITE_PATH}:${PATH}

View file

@ -66,7 +66,7 @@ if [ ! -d Cython-0.22.1 ]; then
file Cython-0.22.1
exit 1
fi
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -54,7 +54,7 @@ fi
export BLAS=/awips2/python/lib
export LAPACK=/awips2/python/lib
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -58,7 +58,7 @@ fi
export BLAS=/awips2/python/lib
export LAPACK=/awips2/python/lib
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -74,7 +74,7 @@ if [ ! -d numpy-%{version} ]; then
file numpy-%{version}
exit 1
fi
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -54,7 +54,7 @@ fi
export BLAS=/awips2/python/lib
export LAPACK=/awips2/python/lib
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -67,7 +67,7 @@ if [ ! -d pyparsing-2.0.1 ]; then
file pyparsing-2.0.1
exit 1
fi
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -55,7 +55,7 @@ fi
export BLAS=/awips2/python/lib
export LAPACK=/awips2/python/lib
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -67,7 +67,7 @@ if [ ! -d six-1.9.0 ]; then
file six-1.9.0
exit 1
fi
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1

View file

@ -41,7 +41,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
cd ${__SETUP_TOOLS_UNTARRED}
source /etc/profile.d/awips2Python.sh
source /etc/profile.d/awips2.sh
if [ $? -ne 0 ]; then
exit 1
fi