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

[McIDAS #OFR-646630]: PTLIST output to ASCII file



Hi Iliana,

re:
> When reading the contents of a MD file with PTLIST, how do I direct the
> output to a text/ASCII file?

All output from McIDAS commands is controlled by the DEV= keyword.  Here
is the relevant portion of the McIDAS-X User's Guide for reference:

Unidata HomePage
http://www.unidata.ucar.edu

  Software -> McIDAS
  http://www.unidata.ucar.edu/software/mcidas

    Documentation
    http://www.unidata.ucar.edu/software/mcidas/#documentation

      The user guide is the primary documentation for McIDAS
      http://www.unidata.ucar.edu/software/mcidas/current/users_guide/toc.html

        Appendicies -> A - Global Keywords
        
http://www.unidata.ucar.edu/software/mcidas/current/users_guide/GlobalKeywords.html

          DEV - routes text output to a device
          
http://www.unidata.ucar.edu/software/mcidas/current/users_guide/GlobalKeywordsDEV.html

re:
> I've done that in the past, but I had forgotten the exact command syntax.

The DEV= global keyword is something that is easy to forget if you are not
using McIDAS ll of the time.

Simple Example:

PTLIST RTPTSRC/SFCHOURLY PARAM=DAY TIME ID LAT LON T[C] TD[C] DIR SPD FORMAT=X 
X X F6.2 F7.2 F54.1 F4.1 SELECT='CO RO' NUM=10 DEV=T ptlist.txt

This will create the file 'ptlist.txt' in the first writable directory in
your MCPATH which in Unidata McIDAS-X is usually ~/mcidas/data for users
other than 'mcidas' and ~mcidas/workdata for the user 'mcidas'.

re:
> Many thanks,

No worries.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: OFR-646630
Department: Support McIDAS
Priority: Normal
Status: Closed