CMC NCP resource definition + HRRR disabled in pqact.conf + fix for hostname defnition in awips2-ldm RPM post install

This commit is contained in:
mjames-upc 2014-12-30 15:58:46 -07:00
parent 042a601d8a
commit 11f3354e0a
4 changed files with 33 additions and 34 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResourceDefinition xmlns:ns2="group" xmlns:ns3="http://www.example.org/productType">
<inventoryEnabled>true</inventoryEnabled>
<resourceDefnName>CMC-REG</resourceDefnName>
<resourceDefnName>CMC</resourceDefnName>
<resourceCategory>GRID</resourceCategory>
<resourceParameters>
GDFILE=CMC-REG

View file

@ -9,7 +9,7 @@
Name: awips2-ldm
Summary: AWIPS II LDM Distribution
Version: %{_ldm_version}
Release: 17
Release: 20
Group: AWIPSII
BuildRoot: /tmp
BuildArch: noarch
@ -155,7 +155,6 @@ done
_ldm_dir=/usr/local/ldm
_ldm_root_dir=${_ldm_dir}/ldm-%{_ldm_version}
_myHost=`hostname`
_myHost=`echo ${_myHost} | cut -f1 -d'-'`
pushd . > /dev/null 2>&1
cd ${_ldm_dir}/SOURCES
# unpack the ldm source
@ -168,9 +167,7 @@ rm -f %{_ldm_src_tar}
if [ $? -ne 0 ]; then
exit 1
fi
chown -R ldm:fxalpha ${_ldm_dir}
sed -i 's/<size>500M<\/size>/<size>1500M<\/size>/' ${_ldm_dir}/etc/registry.xml
sed -i 's/EDEX_HOSTNAME/'$HOSTNAME'/g' ${_ldm_dir}/etc/ldmd.conf
# create .bash_profile
if [ ! -f /usr/local/ldm/.bash_profile ]; then
echo 'umask 002' > \
@ -324,6 +321,9 @@ rm -rf /tmp/ldm
if [ $? -ne 0 ]; then
exit 1
fi
chown -R ldm:fxalpha ${_ldm_dir}
sed -i 's/<size>500M<\/size>/<size>1500M<\/size>/' ${_ldm_dir}/etc/registry.xml
sed -i 's/EDEX_HOSTNAME/'${_myHost}'/' ${_ldm_dir}/etc/ldmd.conf
%preun
%postun

View file

@ -93,7 +93,8 @@ EXEC "rtstats -h rtstats.unidata.ucar.edu"
#REQUEST NEXRAD3 ".*" idd.unidata.ucar.edu
REQUEST FNEXRAD|IDS|DDPLUS|UNIWISC ".*" idd.unidata.ucar.edu
REQUEST NGRID ".*" idd.unidata.ucar.edu
REQUEST HDS|NIMAGE ".*" idd.unidata.ucar.edu
REQUEST FNMOC|CMC ".*" idd.unidata.ucar.edu
REQUEST NOTHER|HDS|NIMAGE ".*" idd.unidata.ucar.edu
REQUEST CONDUIT "[0]$" idd.unidata.ucar.edu
REQUEST CONDUIT "[1]$" idd.unidata.ucar.edu

View file

@ -141,31 +141,31 @@ NOTHER ^(TIP...) (KNES) (......)
/data_store/viirs/\1_\2_\3
# -------- GOES-East/West Northern Hemisphere Composites --------
# GOES-East/West VIS composites
UNIWISC ^pnga2area Q. (CV) (.*) (.*) (.*) (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_GEWCOMP_\5_VIS_VIS_\6_\7
#UNIWISC ^pnga2area Q. (CV) (.*) (.*) (.*) (.*) (........) (....)
# PIPE -close -log
# pnga2area -vl logs/pnga2area.log
# /awips2/edex/data/manual/uniwisc_GEWCOMP_\5_VIS_VIS_\6_\7
# GOES-East/West 3.9 um composites
UNIWISC ^pnga2area Q. (CS) (.*) (.*) (.*) (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_GEWCOMP_\5_3.9_3.9_\6_\7
#UNIWISC ^pnga2area Q. (CS) (.*) (.*) (.*) (.*) (........) (....)
# PIPE -close -log
# pnga2area -vl logs/pnga2area.log
# /awips2/edex/data/manual/uniwisc_GEWCOMP_\5_3.9_3.9_\6_\7
# GOES-East/West WV composites
UNIWISC ^pnga2area Q. (CW) (.*) (.*) (.*) (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_GEWCOMP_\5_WV_WV_\6_\7
#UNIWISC ^pnga2area Q. (CW) (.*) (.*) (.*) (.*) (........) (....)
# PIPE -close -log
# pnga2area -vl logs/pnga2area.log
# /awips2/edex/data/manual/uniwisc_GEWCOMP_\5_WV_WV_\6_\7
# GOES-East/West IR composites
UNIWISC ^pnga2area Q. (CI) (.*) (.*) (.*) (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_GEWCOMP_\5_IR_IR_\6_\7
#UNIWISC ^pnga2area Q. (CI) (.*) (.*) (.*) (.*) (........) (....)
# PIPE -close -log
# pnga2area -vl logs/pnga2area.log
# /awips2/edex/data/manual/uniwisc_GEWCOMP_\5_IR_IR_\6_\7
# GOES-East/West 13.3 um composites
UNIWISC ^pnga2area Q. (CL) (.*) (.*) (.*) (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_GEWCOMP_\5_13.3_13.3_\6_\7
# untested
#UNIWISC ^pnga2area Q. (CL) (.*) (.*) (.*) (.*) (........) (....)
# PIPE -close -log
# pnga2area -vl logs/pnga2area.log
# /awips2/edex/data/manual/uniwisc_GEWCOMP_\5_13.3_13.3_\6_\7
#
# ------------------- SSEC Global Composites -------------------
# Global WV composite
UNIWISC ^pnga2area Q. (GW) (.*) (.*) (.*) (.*) (........) (....)
@ -188,7 +188,7 @@ UNIWISC ^pnga2area Q. (UX) (.*) (.*)_IMG (.*)um (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_MOLLWEIDE_30km_IR_MOLLIR_\6_\7
# These work
#
# GOES Visible (UV 4km VIS disabled)
UNIWISC ^pnga2area Q. (EV|U9) (.*) (.*)_IMG (.*)um (.*) (........) (....)
PIPE -close -log
@ -209,10 +209,8 @@ UNIWISC ^pnga2area Q. (UD|UE|U7|U8|) (.*) (.*)_IMG (.*)um (.*) (........) (....)
PIPE -close -log
pnga2area -vl logs/pnga2area.log
/awips2/edex/data/manual/uniwisc_\1_\3_\5_\4_\6_\7
# RECT, MSAT and MOLL projections are still unsupported in AWIPS II McIDAS decoder
#
# -------- GOES-East/West Northern Hemisphere Composites --------
# disabled due to slow loading in CAVE
# NOAAport HRRR ( 1 ) ( 2) ( 3 ) ( 4 ) ( 5)
NGRID Y.C.[0-9][0-9] KWBY ...... !grib2/ncep/(HRRR)/#(.*)/([0-9]{12})F(...)/(.*)/.*
FILE -overwrite -log -close -edex /awips2/data_store/grib2/noaaport/\1/\3_F\4_\5_(seq).%Y%m%d
#NGRID Y.C.[0-9][0-9] KWBY ...... !grib2/ncep/(HRRR)/#(.*)/([0-9]{12})F(...)/(.*)/.*
# FILE -overwrite -log -close -edex /awips2/data_store/grib2/noaaport/\1/\3_F\4_\5_(seq).%Y%m%d