NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990303: One more question about AFOS PILs and the LDM...



>From: Gilbert Sebenste <address@hidden>
>Organization: Northern Illinois University
>Keywords: 199903021953.MAA20620 pqact.conf

Gilbert-

>> I was a little off on this.  It will only work if there is a valid time.
>> However, you can use the strftime()-based time encoding to do what you want:
>> 
>> AFOS   ^MKCSWOMCD(.*)
>>      FILE severe.%b%d
>> 
>> should give you a file severe.Mar01 for a bulletin that was injected
>> today.
>
>This stinks. My software wants it as severe.mar01 (note: no capital "M"!).
>Otherwise, it won't read it. Sigh...

You could pipe the data to a script that would create the filename
for you.  You could use the tr utility to translate from upper to lower
case.

>> See page 37 of the LDM Site Manager's Guide:
>> 
>> http://www.unidata.ucar.edu/packages/ldm/smg.html#15982
>
>Got it. Thanks!

Let us know if you have any other questions on this.

Don