parent
39a460f5d4
commit
295880ed35
25 changed files with 31 additions and 31 deletions
|
@ -18,7 +18,7 @@
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# operations - set environmental files for Informix
|
# operations - set environmental files for Informix
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ no_gui=$1
|
||||||
# Set up the environment for generating and sending the F6 forms.
|
# Set up the environment for generating and sending the F6 forms.
|
||||||
# FXA_HOME needs to be defined before we can proceed.
|
# FXA_HOME needs to be defined before we can proceed.
|
||||||
#
|
#
|
||||||
FXA_HOME=/awips/fxa
|
FXA_HOME=/awips2/fxa
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -66,5 +66,5 @@ print "file empty or not found: $ifpsenvfile \n";
|
||||||
# Figure out which platform we are on and run that binary.
|
# Figure out which platform we are on and run that binary.
|
||||||
#system("umask 000; /usr/bin/ddd /awips/adapt/climate/bin/`uname -s`/recordClimate");
|
#system("umask 000; /usr/bin/ddd /awips/adapt/climate/bin/`uname -s`/recordClimate");
|
||||||
system("umask 000; /awips/adapt/climate/bin/`uname -s`/recordClimate");
|
system("umask 000; /awips/adapt/climate/bin/`uname -s`/recordClimate");
|
||||||
#system ("/awips/fxa/data/recordClimate > /dev/null 2>&1 &");
|
#system ("/awips2/fxa/data/recordClimate > /dev/null 2>&1 &");
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# clibrwse.conf
|
# clibrwse.conf
|
||||||
# configuration file for Climate NWR Browser transfer
|
# configuration file for Climate NWR Browser transfer
|
||||||
#
|
#
|
||||||
GUI /awips/fxa/bin/NWRBrowser
|
GUI /awips2/fxa/bin/NWRBrowser
|
||||||
SCRIPT /awips/fxa/bin/transferNWR -a
|
SCRIPT /awips2/fxa/bin/transferNWR -a
|
||||||
DESTDIR $FXA_DATA/workFiles/nwr/pending
|
DESTDIR $FXA_DATA/workFiles/nwr/pending
|
||||||
REVIEW 200
|
REVIEW 200
|
||||||
# DO NOT modify the flags unless you know what you are doing
|
# DO NOT modify the flags unless you know what you are doing
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# code set to the id of the sending office. GRIB files created in the
|
# code set to the id of the sending office. GRIB files created in the
|
||||||
# standard qpe_grib directory have the sub center code set to 0.
|
# standard qpe_grib directory have the sub center code set to 0.
|
||||||
#
|
#
|
||||||
# export FXA_HOME=/awips/fxa
|
# export FXA_HOME=/awips2/fxa
|
||||||
|
|
||||||
# Set up the AWIPS environment.
|
# Set up the AWIPS environment.
|
||||||
# . $FXA_HOME/readenv.sh
|
# . $FXA_HOME/readenv.sh
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
RUN_FROM_DIR=`dirname $0`
|
RUN_FROM_DIR=`dirname $0`
|
||||||
|
|
||||||
# Set up the WHFS runtime environment
|
# Set up the WHFS runtime environment
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
. $RUN_FROM_DIR/../../set_hydro_env
|
. $RUN_FROM_DIR/../../set_hydro_env
|
||||||
export RFC_BIAS_INPUT_DIR=$(get_apps_defaults rfc_bias_input_dir)
|
export RFC_BIAS_INPUT_DIR=$(get_apps_defaults rfc_bias_input_dir)
|
||||||
|
|
|
@ -9,7 +9,7 @@ RUN_FROM_DIR=`dirname $0`
|
||||||
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
||||||
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
||||||
# and token settings from being overwritten by read_env.sh.
|
# and token settings from being overwritten by read_env.sh.
|
||||||
#export FXA_HOME=/awips/fxa
|
#export FXA_HOME=/awips2/fxa
|
||||||
|
|
||||||
# Set up the AWIPS environment.
|
# Set up the AWIPS environment.
|
||||||
#. $FXA_HOME/readenv.sh
|
#. $FXA_HOME/readenv.sh
|
||||||
|
|
|
@ -11,7 +11,7 @@ RUN_FROM_DIR=`dirname $0`
|
||||||
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
||||||
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
||||||
# and token settings from being overwritten by read_env.sh.
|
# and token settings from being overwritten by read_env.sh.
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
|
|
||||||
# Set up the AWIPS environment.
|
# Set up the AWIPS environment.
|
||||||
#. $FXA_HOME/readenv.sh
|
#. $FXA_HOME/readenv.sh
|
||||||
|
|
|
@ -7,7 +7,7 @@ RUN_FROM_DIR=`dirname $0`
|
||||||
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
||||||
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
||||||
# and token settings from being overwritten by read_env.sh.
|
# and token settings from being overwritten by read_env.sh.
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
|
|
||||||
# Set up the AWIPS environment.
|
# Set up the AWIPS environment.
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
|
|
|
@ -110,7 +110,7 @@ echo "Sending file:$FILENAME product_ID:$PRODUCT_ID to '$RECIPIENTS' via "\
|
||||||
"distributeProduct" >> $transmit_log
|
"distributeProduct" >> $transmit_log
|
||||||
echo "distributeProduct -c RADAR_PRECIP_BIAS -s\"$SUBJECT\" "\
|
echo "distributeProduct -c RADAR_PRECIP_BIAS -s\"$SUBJECT\" "\
|
||||||
"-a\"$RECIPIENTS\" -e $FILEPATH $PRODUCT_ID dummy" >> $transmit_log
|
"-a\"$RECIPIENTS\" -e $FILEPATH $PRODUCT_ID dummy" >> $transmit_log
|
||||||
/awips/fxa/bin/distributeProduct -c RADAR_PRECIP_BIAS -s "$SUBJECT" -a \
|
/awips2/fxa/bin/distributeProduct -c RADAR_PRECIP_BIAS -s "$SUBJECT" -a \
|
||||||
"$RECIPIENTS" -e $FILEPATH $PRODUCT_ID \
|
"$RECIPIENTS" -e $FILEPATH $PRODUCT_ID \
|
||||||
dummy >> $transmit_log 2>&1
|
dummy >> $transmit_log 2>&1
|
||||||
|
|
||||||
|
|
|
@ -153,9 +153,9 @@ do
|
||||||
#
|
#
|
||||||
echo "Sending file: $i product ID $PRODUCT_ID to distributeProduct" >> \
|
echo "Sending file: $i product ID $PRODUCT_ID to distributeProduct" >> \
|
||||||
$transmit_qpe_log
|
$transmit_qpe_log
|
||||||
echo "/awips/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy" >> \
|
echo "/awips2/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy" >> \
|
||||||
$transmit_qpe_log
|
$transmit_qpe_log
|
||||||
/awips/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy >> \
|
/awips2/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy >> \
|
||||||
$transmit_qpe_log 2>&1
|
$transmit_qpe_log 2>&1
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]
|
if [[ $? -eq 0 ]]
|
||||||
|
|
|
@ -34,7 +34,7 @@ DURATION_LIST=1,6,24
|
||||||
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
||||||
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
||||||
# and token settings from being overwritten by read_env.sh.
|
# and token settings from being overwritten by read_env.sh.
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
|
|
||||||
# Set up the AWIPS environment.
|
# Set up the AWIPS environment.
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
|
|
|
@ -153,9 +153,9 @@ do
|
||||||
#
|
#
|
||||||
echo "Sending file: $i product ID $PRODUCT_ID to distributeProduct" >> \
|
echo "Sending file: $i product ID $PRODUCT_ID to distributeProduct" >> \
|
||||||
$transmit_qpe_log
|
$transmit_qpe_log
|
||||||
echo "/awips/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy" >> \
|
echo "/awips2/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy" >> \
|
||||||
$transmit_qpe_log
|
$transmit_qpe_log
|
||||||
/awips/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy >> \
|
/awips2/fxa/bin/distributeProduct -a DEFAULTNCF -e $i $PRODUCT_ID dummy >> \
|
||||||
$transmit_qpe_log 2>&1
|
$transmit_qpe_log 2>&1
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]
|
if [[ $? -eq 0 ]]
|
||||||
|
|
|
@ -15,10 +15,10 @@ done
|
||||||
. ${env_file}
|
. ${env_file}
|
||||||
cd ${prev_dir}
|
cd ${prev_dir}
|
||||||
|
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
|
|
||||||
DPBIN=/awips/fxa/bin;export DPBIN
|
DPBIN=/awips2/fxa/bin;export DPBIN
|
||||||
FFGGRIB=`get_apps_defaults ffg_grib_out`;export FFGGRIB
|
FFGGRIB=`get_apps_defaults ffg_grib_out`;export FFGGRIB
|
||||||
FFGA2AID='KcccFFGBIN'
|
FFGA2AID='KcccFFGBIN'
|
||||||
# where ccc is your old AFOS id, i.e. MKC
|
# where ccc is your old AFOS id, i.e. MKC
|
||||||
|
|
|
@ -53,7 +53,7 @@ export OS_SUFFIX=".LX"
|
||||||
export geo_data=$RFCLX/geo_data
|
export geo_data=$RFCLX/geo_data
|
||||||
|
|
||||||
export PGOPTIONS='-c standard_conforming_strings=on'
|
export PGOPTIONS='-c standard_conforming_strings=on'
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
export FXA_BIN_DIR=$FXA_HOME/bin
|
export FXA_BIN_DIR=$FXA_HOME/bin
|
||||||
|
|
||||||
# The following variables provide a JDBC URL or pieces thereof for
|
# The following variables provide a JDBC URL or pieces thereof for
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# the input file contains 3 fields:
|
# the input file contains 3 fields:
|
||||||
# 1) afos cccnnnxxx 2) wmo ttaaoo 3) awips cccc
|
# 1) afos cccnnnxxx 2) wmo ttaaoo 3) awips cccc
|
||||||
# Last Modified: 01/31/2002
|
# Last Modified: 01/31/2002
|
||||||
export FILENAME=/awips/fxa/data/afos2awips.txt
|
export FILENAME=/awips2/fxa/data/afos2awips.txt
|
||||||
|
|
||||||
if [[ $1 = "" ]]
|
if [[ $1 = "" ]]
|
||||||
then
|
then
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# 1) afos cccnnnxxx 2) wmo ttaaoo 3) awips cccc
|
# 1) afos cccnnnxxx 2) wmo ttaaoo 3) awips cccc
|
||||||
#
|
#
|
||||||
# Last Modified: 01/31/2002
|
# Last Modified: 01/31/2002
|
||||||
export FILENAME=/awips/fxa/data/afos2awips.txt
|
export FILENAME=/awips2/fxa/data/afos2awips.txt
|
||||||
|
|
||||||
if [[ $1 = "" ]]
|
if [[ $1 = "" ]]
|
||||||
then
|
then
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#
|
#
|
||||||
# Last Modified: 01/31/2002
|
# Last Modified: 01/31/2002
|
||||||
#
|
#
|
||||||
export FILENAME=/awips/fxa/data/afos2awips.txt
|
export FILENAME=/awips2/fxa/data/afos2awips.txt
|
||||||
|
|
||||||
if [[ $1 = "" ]]
|
if [[ $1 = "" ]]
|
||||||
then
|
then
|
||||||
|
|
|
@ -49,7 +49,7 @@ echo "----" >> $LOGFILE
|
||||||
echo Processing file: $FILENAME at $Dte >> $LOGFILE
|
echo Processing file: $FILENAME at $Dte >> $LOGFILE
|
||||||
echo Subject: $SUBJECT Msgtype: $MSGTYPE >> $LOGFILE
|
echo Subject: $SUBJECT Msgtype: $MSGTYPE >> $LOGFILE
|
||||||
#
|
#
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
@ -74,7 +74,7 @@ NEWFILENAME=$WHFS_PRODUCT_DIR/$PRODUCTID.remote
|
||||||
# issue the product as appropriate
|
# issue the product as appropriate
|
||||||
#
|
#
|
||||||
echo Sending product $NEWFILENAME to transferNWR as pending. >> $LOGFILE
|
echo Sending product $NEWFILENAME to transferNWR as pending. >> $LOGFILE
|
||||||
/awips/fxa/bin/transferNWR -d $NEWFILENAME
|
/awips2/fxa/bin/transferNWR -d $NEWFILENAME
|
||||||
RETURN_STATUS=$?
|
RETURN_STATUS=$?
|
||||||
|
|
||||||
if [ $RETURN_STATUS -eq 0 ]
|
if [ $RETURN_STATUS -eq 0 ]
|
||||||
|
|
|
@ -102,7 +102,7 @@ cat $FILENAME | /bin/tr -d '\015' > $COPYNAME
|
||||||
#
|
#
|
||||||
AFOSID=`$WHFS_BIN_DIR/awips2afos.ksh $PRODUCTID`
|
AFOSID=`$WHFS_BIN_DIR/awips2afos.ksh $PRODUCTID`
|
||||||
echo Writing $COPYNAME to textdb as $AFOSID >> $LOGFILE
|
echo Writing $COPYNAME to textdb as $AFOSID >> $LOGFILE
|
||||||
/awips/fxa/bin/textdb -w $AFOSID < $COPYNAME >> $LOGFILE 2>&1
|
/awips2/fxa/bin/textdb -w $AFOSID < $COPYNAME >> $LOGFILE 2>&1
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# copy the file into the RFC archive directory if archiving is enabled
|
# copy the file into the RFC archive directory if archiving is enabled
|
||||||
|
|
|
@ -241,7 +241,7 @@ SUBJECT="$PRODUCT_ID $PACKED_TIME $WFO_SOURCE"
|
||||||
print Using distributeProduct with subject $SUBJECT
|
print Using distributeProduct with subject $SUBJECT
|
||||||
echo Using distributeProduct with subject $SUBJECT >> $LOGNAME
|
echo Using distributeProduct with subject $SUBJECT >> $LOGNAME
|
||||||
|
|
||||||
/awips/fxa/bin/distributeProduct -c RIVPROD_BACKUP -a $WFO_DESTINATION -s "$SUBJECT" $PRODUCT_ID $MHS_FILE >> $LOGNAME 2>>$LOGNAME
|
/awips2/fxa/bin/distributeProduct -c RIVPROD_BACKUP -a $WFO_DESTINATION -s "$SUBJECT" $PRODUCT_ID $MHS_FILE >> $LOGNAME 2>>$LOGNAME
|
||||||
RETURN_STATUS=$?
|
RETURN_STATUS=$?
|
||||||
|
|
||||||
if [ $RETURN_STATUS -eq 0 ]
|
if [ $RETURN_STATUS -eq 0 ]
|
||||||
|
|
|
@ -38,4 +38,4 @@ mv $TMPFILE $LOGFILE
|
||||||
#
|
#
|
||||||
echo "Sending file:$FILENAME product_ID:$PRODUCT_ID to $MHS_SITE_ID via distributeProduct" >> $LOGFILE
|
echo "Sending file:$FILENAME product_ID:$PRODUCT_ID to $MHS_SITE_ID via distributeProduct" >> $LOGFILE
|
||||||
SUBJECT="$FILENAME $PRODUCT_ID Hydro_Model_Data"
|
SUBJECT="$FILENAME $PRODUCT_ID Hydro_Model_Data"
|
||||||
/awips/fxa/bin/distributeProduct -c HYDRO_MODEL_DATA -s "$SUBJECT" -a $MHS_SITE_ID $PRODUCT_ID $FILEPATH
|
/awips2/fxa/bin/distributeProduct -c HYDRO_MODEL_DATA -s "$SUBJECT" -a $MHS_SITE_ID $PRODUCT_ID $FILEPATH
|
||||||
|
|
|
@ -7,7 +7,7 @@ RUN_FROM_DIR=`dirname $0`
|
||||||
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
# Export the value of FXA_HOME here. This allows read_env.sh to be
|
||||||
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
# sourced before set_hydro_env. This prevents set_hydro_env environment
|
||||||
# and token settings from being overwritten by read_env.sh.
|
# and token settings from being overwritten by read_env.sh.
|
||||||
export FXA_HOME=/awips/fxa
|
export FXA_HOME=/awips2/fxa
|
||||||
|
|
||||||
# Set up the AWIPS environment.
|
# Set up the AWIPS environment.
|
||||||
. $FXA_HOME/readenv.sh
|
. $FXA_HOME/readenv.sh
|
||||||
|
|
Binary file not shown.
|
@ -62,7 +62,7 @@
|
||||||
// workstation display stating what the mode is.
|
// workstation display stating what the mode is.
|
||||||
// 2. The application program view. Whenever the
|
// 2. The application program view. Whenever the
|
||||||
// workstation is in test mode, the
|
// workstation is in test mode, the
|
||||||
// /awips/fxa/bin/getTestMode executable will return an
|
// /awips2/fxa/bin/getTestMode executable will return an
|
||||||
// exit value characteristic of the mode. Please see
|
// exit value characteristic of the mode. Please see
|
||||||
// the header comment in getTestMode.C for details.
|
// the header comment in getTestMode.C for details.
|
||||||
//
|
//
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
// It is the persistent tmb background processes, one
|
// It is the persistent tmb background processes, one
|
||||||
// running on the text workstation and one on the graphics
|
// running on the text workstation and one on the graphics
|
||||||
// workstation, that maintain the workstation mode. The
|
// workstation, that maintain the workstation mode. The
|
||||||
// /awips/fxa/bin/getTestMode executable interrogates both
|
// /awips2/fxa/bin/getTestMode executable interrogates both
|
||||||
// of the processes to determine the workstation mode. So
|
// of the processes to determine the workstation mode. So
|
||||||
// tmb and getTestMode work together to maintain the
|
// tmb and getTestMode work together to maintain the
|
||||||
// application program view of the mode.
|
// application program view of the mode.
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
// tmcp and go back to operational mode.
|
// tmcp and go back to operational mode.
|
||||||
//
|
//
|
||||||
// When the workstation is in panic mode,
|
// When the workstation is in panic mode,
|
||||||
// /awips/fxa/bin/getTestMode returns a value that is not
|
// /awips2/fxa/bin/getTestMode returns a value that is not
|
||||||
// correct for test, practice, or operational mode. When
|
// correct for test, practice, or operational mode. When
|
||||||
// an application program gets that value it means that
|
// an application program gets that value it means that
|
||||||
// there is no way of determining what mode the user
|
// there is no way of determining what mode the user
|
||||||
|
|
Loading…
Add table
Reference in a new issue