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

19990111: FSL2 data time stamp question...



>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