This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Wenwu. > I have a question to use LDM to transfer and overwrite files. > > I have files updating 4 times per hour, but the file has the same file > name is the hour. I hope LDM overwrite old file (not append new file at > the end of old file). The line in pqact.conf file is: > > WMO > ^/home/gagecor/data/QPESUMS/conus/grid/([^/]*)/([^/]*)/([0-9A-Z]*.[A-Z]*.[0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9].[0-2][0-9][0-5][0-9]).gz > FILE -overwrite > /verif_data/input_data/conus/q2_gc/\1/\2/\3.gz > > But it looks like I have new file appended at the end of old file. Is > there any thing wrong in the pqact setting? I would add the "-flush" option to your pqact(1) configuration-file entry but, other than that, your entry should do what you want. If multiple data-products are being appened to the file, then I suspect that either another pqact(1) configuration-file entry is responsible or that another pqact(1) process is running. Regards, Steve Emmerson Ticket Details =================== Ticket ID: QOQ-440372 Department: Support LDM Priority: Normal Status: Closed