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.
>From: Gilbert Sebenste <address@hidden> >Organization: Northern Illinois >Keywords: 199901112023.NAA08030 pqact.conf FSL2 Gilbert- >I am trying to get my FSL2 profiler data to come out in ymdhm format >(year, month, etc). I am having trouble doing this. Do you have an entry >in your pqact that does this already? I cannot see what I am doing wrong. Here is what we use: FSL2 ^FSL\.NetCDF\.NOAAnet\.windprofiler\.(01hr|06min)\.(.*)\..* FILE data/fsl/\1/\2.nc The format of the header is: FSL.NetCDF.NOAAnet.windprofiler.type.ccyydddhhmm.* where type is 01hr or 06min and ddd is the julian day. Currently, there is no way in the pqact pattern matching to convert julian day to mmdd format. The conversion functions were based on using the WMO header day field (dd). If you want ymdhm format, you could use: FSL2 ^FSL\.NetCDF\.NOAAnet\.windprofiler\.(01hr|06min)\...(..)...(....)\..* FILE data/fsl/\1/\2%m%d\3.nc where %m and %d are the day and month based on the injection time. This will probably break on the day boundaries, though. Alternatively, you could pipe it to a script which would convert julian day to mmdd format and then file the product accordingly. Don Murray