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

[LDM #GIJ-676359]: I can't figure something out...file overwrites in LDM



Hi Gilbert,

re:
> Hello Steve et al,

Steve is in Scotland at the moment...

> OK. I'm not sure what I am doing wrong here.
> What I am trying to do is this. I want two products to go into one file,
> one product appending to the other. Gee, that sounds simple enough, right?
> 
> WMO     ^ASUS63 KLOT ([0-3][0-9])([0-2][0-9]).*/pRTPIL
> FILE    -strip -overwrite domestic/weather/climatelist
> WMO     ^SXUS53 KLOT ([0-3][0-9])([0-2][0-9]).*/pLCOLOT
> FILE    -strip domestic/weather/climatelist

> Now, the ASUS63 product always comes in first, and writes to the file
> called "climatelist".

Are you sure that this is _always_ the case?

> Then, the next one, the SXUS53 product, comes in
> about 15 minutes later. Here's the problem: the latter *overwrites*
> what was in before, instead of appending it to the file like I want it
> to do.
> 
> Am I doing something wrong?

Try adding the '-close' flag to each action.  This will force the OS
to flush the information to disk.

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: GIJ-676359
Department: Support LDM
Priority: Normal
Status: Closed