[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #PNC-837937]: USPLN-NLDN Contamination
- Subject: [LDM #PNC-837937]: USPLN-NLDN Contamination
- Date: Thu, 03 Sep 2015 16:51:55 -0600
Hi Warren,
re:
> We're trying to file our USPLN data as raw text, but sometime after initial
> file creation the NLDN data contaminates the USPLN text file.
>
> *Related pqact entry:*
>
> NLDN .*
> PIPE decoders/dcnldn -m 25000 -b 30 -s minute05
> -d data/gempak/logs/dcnldn.log
> -e GEMTBL=/home/gempak/GEMPAK7/gempak/tables
> data/gempak/nldn/YYYYMMDDHHNN_nldn.gem
>
> LIGHTNING .*
> PIPE decoders/dcuspln -m 25000 -b 5 -s minute05
> -d data/gempak/logs/dcuspln.log
> -e GEMTBL=/home/gempak/GEMPAK7/gempak/tables
> data/gempak/uspln/YYYYMMDDHHNN_uspln.gem
>
> LIGHTNING .*
> FILE data/uspln_txt/%Y%m%d%H00_uspln.csv
>
> *sample contaminated header:*
>
> NLDN\00\00\00?\00\00\00KGDS SUNY@ALBANY Thu Sep 3 13:16:43 2015
> striker2.atmos.albany.edu U\E8G\FE\00\00
>
> *sample proper header:*
>
> LIGHTNING-NAPLN1EX,2015-08-26T18:35:00,2015-08-26T18:33:55
>
> Any ideas?
Yes. You need to specify extended regular expressions that match
USPLN products for the USPLN action(s) and NLDN products for
NLDN action(s).
Here, for instance are example pattern actions that show extended regular
expressions that will discriminate between USPLN and NLDN products:
################################################################################
# GEMPAK Point source decoders
#
# NLDN lightning data
LIGHTNING
^([12][0-9][0-9][0-9]|[0-9][0-9])([0-3][0-9][0-9])([0-2][0-9])([0-5][0-9])([0-5][0-9])
PIPE dcnldn -m 25000 -b 30 -s minute05
-d data/gempak/logs/dcnldn.log
-e GEMTBL=/home/gempak/NAWIPS/gempak/tables
data/gempak/nldn/YYYYMMDDHHNN_nldn.gem
#
# USPLN lightning data
# NAPLN1EX-2009_11_10_21_42_00.dat
LIGHTNING GLN
PIPE dcuspln -m 25000 -b 30 -s minute05
-d data/gempak/logs/dcuspln.log
-e GEMTBL=/home/gempak/NAWIPS/gempak/tables
data/gempak/uspln/YYYYMMDDHHNN_uspln.gem
Cheers,
Tom
--
****************************************************************************
Unidata User Support UCAR Unidata Program
(303) 497-8642 P.O. Box 3000
address@hidden Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage http://www.unidata.ucar.edu
****************************************************************************
Ticket Details
===================
Ticket ID: PNC-837937
Department: Support IDD
Priority: Normal
Status: Closed