Something went wrong on our end
-
John Cintineo authoredJohn Cintineo authored
config.sh 4.67 KiB
umask 002
#Steps:
#1. Modify PROBSEV below
#2. Modify RESEARCH to say anything but 'true', if you are running this in operations.
#3. Execute:
# [user@machine probsevere]$ source config.sh
# [user@machine probsevere]$ mkdir -p ${PROBSEV} ${ANCILLARY}
#4. Move ancillary dirs/files (from probsevere-ancillary) to ${ANCILLARY}
#5. Execute:
# [user@machine probsevere]$ cd ${PROBSEV}
# [user@machine ${PROBSEV}]$ bash setup.bash
#6. Add: ${PROBSEV}/src/crontab.txt to your user's crontab
export PROBSEV='/data/probsevere/' #Root path for the code to live
export PROBSEV_DATA=${PROBSEV}/PROBSEV_DATA/ #Root path for the output data to live
export NWP_DATA=${PROBSEV}/NWP_RAW/ #Root path for the raw NWP data to live
export ANCILLARY=${PROBSEV}/ancillary/ #Root path for ancillary code packages
export WDSS2=${ANCILLARY}/wdss2/ #Root path for WDSS2 code
export W2_PKG=W2_RHWS7_research_20160809_64bit.tgz #tarball for wdss2
export HDF4=${ANCILLARY}/hdf4/nocdf-4.2.12-gcc-6.1/ #HDF4 package...(/lib needed for grib2hdf software)
export HDF5=${ANCILLARY}/hdf5/1.8.17-gcc-6.1/ #HDF5 package
export NETCDF4=${ANCILLARY}/netcdf4/4.4.1-gcc-6.1/ #NETCDF4 package
export WGRIB2_TOP=${ANCILLARY}/MRMS_modified_wgrib2_v2.0.1/
export WGRIB2=${WGRIB2_TOP}/wgrib2/ #wgrib2 package
export WG2_PKG=${ANCILLARY}/MRMS_modified_wgrib2_v2.0.1.tgz #tarball for wgrib2
export PYTHONPATH=${ANCILLARY}/miniconda/2.7/ #python package
export GCC=${ANCILLARY}/gcc/6.1/ #gcc and gfortran versions
export INTEL='false' #change to true, if available. Otherwise, we will use gfortran
export RESEARCH='false' #should NOT be 'true' if running in operations
export LDM=/home/ldm/ #not needed if RESEARCH != 'true'
export PS_VM=nitro.ssec.wisc.edu:8001 #not needed if RESEARCH != 'true'
export ADDRESS='john.cintineo@ssec.wisc.edu' #not needed if RESEARCH != 'true'
export PATH=${GCC}/bin:${WDSS2}/bin:${HDF4}/bin:${HDF5}/bin:${NETCDF4}/bin:${WGRIB2}:/home/mcidas/bin:${PATH}
#mcidas path
export MCPATH=${HOME}/mcidas/data/:/home/mcidas/data/:/home/mcidas/help:/home/mcidas/bin
#WDSS2 (+ python lib)
export LD_LIBRARY_PATH=${WDSS2}/lib/:${PYTHONPATH}/lib/:$LD_LIBRARY_PATH
export RMTPORT=50000
export W2_CONFIG_LOCATION=${WDSS2}/w2config
export UDUNITS_PATH=${WDSS2}/etc/udunits.dat
#W2ALGRUN -- these vars used to make w2algrun/w2alg.conf
export ENI_CONFIG=' -t "51 -125" -b "24 -66" -s "0.01 0.01" -e 2 -p 2 -N ENI '
export GLM_CONFIG=' -t "51 -125" -b "24 -66" -s "0.1 0.1" -e 2 -p 2 -N GLM '
export RAD_SEGMO_CONFIG=' -d "40 57 5 -1" -t "0" -p "40,200,300:0:0,0,0" -k percent:75:4:0:4 -m MULTISTAGE:2:10:0 '
export GOESR_SEGMO_CONFIG=' -d "40 80 9 -1" -t "0" -p "15,60,120,240:0:0.0,0.0,0.0,0.0" -k percent:50:1:0.33:1,percent:100:1:0.33:1,percent:50:1:0.33:1,percent:30:1:0.33:1,threshold:40:80 -m MULTISTAGE:2:15:0 '
export GOESNOP_SEGMO_CONFIG=' -d "150 850 50 -1" -t "0" -p "5,15,30,60:0:0.0,0.0,0.0,0.0" -k gauss:5:0.33:3.0,scaling:10 -m MULTISTAGE:3:30:0 '
#WDSS2 listeners
export MRMS="true" #Set to "true" if running with Multi-Radar Multi-Sensor data (MRMS). I don't know why this would ever be set to false.
export GE_ABI_SEGMO="true" #Set to "true" if running GOES-East (ABI, GOES-16,-17,-18,-19)
export GW_ABI_SEGMO="false" #Set to "true" if running GOES-West (ABI, GOES-16,-17,-18,-19)
export GE_NOP_SEGMO="false" #Set to "true" if running GOES-East (NOP, GOES-13,-14,-15)
export GW_NOP_SEGMO="false" #Set to "true" if running GOES-West (NOP, GOES-13,-14,-15)
export ENI="true" #Set to "true" if using Earth Networks data (ENI)
export GLM="false" #Set to "true" if using Geostationary Lightning Mapper data (GLM) on GOES-R series
#GEOCAT (N.B.: need HDF4 libraries compiled without netCDF support)
export GEOCAT_LIBRARIES=${HDF4}/lib/
export GEOCAT_INCLUDES=${HDF4}/include/
export NETCDF=${NETCDF4}
#HDF5 var also needed for GOES16 processing, but defined above
#default longitude locations for GOES-East, GOES-West, and "GOES-test" (GOES-test for research only)
GE_LON="-75.2"
GW_LON="-135.0"
GT_LON="-89.5"
#mcidas constants
export login_cred="JMS 2681"
#GOES-EAST
export EASTL_SERVER=EASTL.SSEC.WISC.EDU
export GE_local_area_prefix="090"
export GE_llat_cent=35
export GE_llon_cent=87
export GE_lnelems=1500
export GE_lnlines=520
export GE_lnelems_1km=6000
export GE_lnlines_1km=2080
#GOES-WEST
export WESTL_SERVER=WESTL.SSEC.WISC.EDU
export GW_local_area_prefix="080"
export GW_lat_cent=36
export GW_lon_cent=113
export GW_nelems=1240
export GW_nlines=530
export GW_nelems_1km=4960
export GW_nlines_1km=2120