Re: [ldm-users] Problem with blank line in pqact.conf

  • To: George Trojan - NOAA Federal <george.trojan@xxxxxxxx>
  • Subject: Re: [ldm-users] Problem with blank line in pqact.conf
  • From: Jeff Lake <JeffLakejeff@xxxxxxxx>
  • Date: Fri, 19 Aug 2016 21:41:03 +0000
  • Authentication-results: spf=softfail (sender IP is 10.152.76.58) smtp.mailfrom=live.com; noaa.gov; dkim=none (message not signed) header.d=none;noaa.gov; dmarc=none action=none header.from=live.com;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
I use the dos2unix utility on the pqact.conf every few times I edit it with vim 
strips the odd carriage returns Thad stop ldm dead
Sent from my iPhone

On Aug 19, 2016, at 14:56, George Trojan - NOAA Federal 
<george.trojan@xxxxxxxx<mailto:george.trojan@xxxxxxxx>> wrote:

A blank nonempty line in pqact.conf causes pqact to skip silently the rest of 
the file. Example (using vim's :set list):

#$
^I$
NGRID^I^(HIN[B-X][0-9][0-9]) (KWNH) (..)(..)(..)$
^IFILE^I-overwrite -log -close 
-edex^I/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/PWPF/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H$

The NGRID entry and anything that follows will not be processed. Should the 
last line in function pal_line in palt.c be

return len > 0 ? len : -2;

If there is a character to unget then the pointer is not at the end of the file.

George

_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx<mailto:ldm-users@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: