Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[LDM #DZH-705263]: %N



Mark,

> My LDM data feed sends the same products (with different contents) in
> such rapid succession that labeling them with timestamps to the nearest
> second is not always resolute enough.  The next update to LDM needs to
> include %N (nanoseconds) as an option for adding timestamps to arriving
> data (pqact.conf).  (See also the man page for "date" 'man date'.)

I assume that you're referring to the pqact(1) FILE action and using the 
creation-time of the data-product to construct the pathname.  Please tell me if 
this is incorrect.

String-replacement based on data-product creation-time uses the strftime(3) 
function and, unfortunately, calling that function with a "%N" conversion 
specification is non-standard and will result in undefined behavior on some 
systems.

Are the product-identifiers of the data-products in question not sufficiently 
unique that you can't create unique pathnames?

> Mark


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: DZH-705263
Department: Support LDM
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690