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.
Charlie, > Thanks! We will modify our system. > > While using interface pq_sequence(), we write a pq_seqfunc that could write a > procudt to a file. > > However, we could not know the product name, and we have to use the product > name to be the filename. > > The struct "prod_info" seems not to include the product name. > > Would you please tell us how to get the product name? You could use the FILE action of the pqact(1) configuration-file, etc/pqact.conf, to write data-products into a file. The entry can construct a pathname from the product-identifier of the data-product. This would be much easier than writing your own code. If you must write your own code, then the "prod_info" data-structure contains the product-identifier string, from which you could construct a pathname like pqact(1) does. > Best Regards, > > Charlie Chang Regards, Steve Emmerson Ticket Details =================== Ticket ID: MIY-342905 Department: Support LDM Priority: Normal Status: Closed