Re: [gembud] How to decode buoy txt file with dcmsfc?

Neil

Look here: https://www.unidata.ucar.edu/software/gempak/man/prog/dcmsfc.html

DCMSFC

    DCMSFC decodes raw buoy, ship, C-MAN, and Coast Guard reports from
    a real-time data feed, or from a file fed to the program through
    standard input, and writes the data to a GEMPAK surface file.  The
    program is controlled by inputs to the command line.

    The inputs are program options and the output file name or template.
    For example, for real-time data feeds:

        dcmsfc [options] output_file

    Currently, the decoder can be run in two different modes.  If the -a
    option is not used, the decoder will create hourly files of all
    marine surface data (ship, C-MAN, fixed and drifting buoys, Coast
    Guard).  If the option "-a 6" is specified, 6-hour files of ship
    data only will be created.  For real-time operation, output files
    have the form YYYYMMDDHH.ship, and are placed in different
    directories depending on whether they are hourly or 6-hour files.

    If running the program interactively with standard input, the -c
    option must be used.  The input file must be also be specified.
    For example:

        dcmsfc -c YYMMDD/HHNN [other_options] output_file < input_file

    A template may be used to specify the output file name.  The file
    name template uses the date and time of the bulletin or report
    to replace the following characters.

        YYYY or YY      Year with or without the century
        MM              Month number
        DD              Day
        HH              Hour
        NN              Minute


Point me to the file source and I'll see what I can do with it.
gerry

On Wed, Mar 25, 2015 at 11:42 AM, Smith, Neil R <n-smith2@xxxxxxxxxxxxx>
wrote:

> Have a txt file of buoy data, 2015030900_boy.txt, downloaded from archive
> sources.
>
> Would like to decode it to .gem format.
>
> How?  I don’t have the man pages.
>
> Thanks,
> -Neil
> _______________________________________________
> gembud mailing list
> gembud@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/




-- 
Gerry Creager
NSSL/CIMMS
405.325.6371
++++++++++++++++++++++
“Big whorls have little whorls,
That feed on their velocity;
And little whorls have lesser whorls,
And so on to viscosity.”
Lewis Fry Richardson (1881-1953)
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: