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.
Mark, > Is there any way to create a double-digit hour when given at times a > single-digit hour, and at times a double-digit hour? > > For example, the following files are sent through the Antarctic-IDD: > USAP.AMRC.Composite.infrared.20060717.0.jpg > USAP.AMRC.Composite.infrared.20060717.3.jpg > USAP.AMRC.Composite.infrared.20060717.6.jpg > USAP.AMRC.Composite.infrared.20060717.9.jpg > USAP.AMRC.Composite.infrared.20060717.12.jpg > USAP.AMRC.Composite.infrared.20060717.15.jpg > USAP.AMRC.Composite.infrared.20060717.18.jpg > USAP.AMRC.Composite.infrared.20060717.21.jpg > > I want to file these files as: > comp_ir_2006071700.jpg > comp_ir_2006071703.jpg > comp_ir_2006071706.jpg > comp_ir_2006071709.jpg > comp_ir_2006071712.jpg > comp_ir_2006071715.jpg > comp_ir_2006071718.jpg > comp_ir_2006071721.jpg > > In the case of the double-digit hours, I think I know how to handle that: > EXP > USAP\.AMRC\.Composite\.infrared\.(....)(..)(..)\.(..)\.jpg > FILE -close > data/ant-idd/amrc/composite/comp_ir_\1\2\3\4.jpg > > How do I get it to work for both the single-digit hours, and the > double-digit hours? The ideal solution would be to appropriately modify the data-product identifier. Failing that, then two pqact.conf(5) entries are needed: EXP USAP\.AMRC\.Composite\.infrared\.(....)(..)(..)\.([0-2][0-9])\.jpg FILE -close data/ant-idd/amrc/composite/comp_ir_\1\2\3\4.jpg EXP USAP\.AMRC\.Composite\.infrared\.(....)(..)(..)\.([0-9])\.jpg FILE -close data/ant-idd/amrc/composite/comp_ir_\1\2\30\4.jpg Regards, Steve Emmerson Ticket Details =================== Ticket ID: IKY-965070 Department: Support LDM Priority: Normal Status: Closed