McIDAS-X Learning Guide
Version 2020

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


MD Files - Listing MD File Directories and Data Records

In this exercise, you will list an MD file directory and information about its schema, and examine individual records in the MD file.
  1. Start a McIDAS session.
    At the Unix prompt:
    Type:  mcidas
    Your session should still be set for twenty frames from the last time you changed the Configuration GUI. If not, set it for twenty frames, as described in Getting Started.
  2. Add a real time point server and list the point datasets available in the RTPTSRC dataset.
    Type:  DATALOC ADD RTPTSRC ADDE.SSEC.WISC.EDU
    Type:  DSINFO POINT RTPTSRC
    DSINFO POINT RTPTSRC
    
            Dataset Names of Type: POINT in Group: RTPTSRC
    
    Name         NumPos   Content
    ------------ ------   --------------------------------------
    AIRCRAFT        10    Real-Time Aircraft data
    ETAMOS          10    Real-Time ETA Model Output Statistics
    GFSMOS          10    Real-Time GFS Model Output Statistics
    PROF6MIN        10    Real-Time 6-Minute Profiler data
    PROFHOURLY      10    Real-Time Hourly Profiler data
    PTSRCS         130    All point data in MDXX files
    SFCHOURLY       10    Real-Time SFC Hourly
    SHIPBUOY        10    Real-Time Ship and Buoy data
    SYNOPTIC        10    Real-Time SYNOPTIC data
    TEMPSHIP        10    Real-Time TEMP SHIP data
    UPPERMAND       10    Real-Time Upper Air (Mandatory)
    UPPERSIG        10    Real-Time Upper Air (Significant)
    
    DSINFO -- done
    
  3. List the file directories for the RTPTSRC/SFCHOURLY dataset.
    Type:  PTLIST RTPTSRC/SFCHOURLY FORM=FILE ALL
    The dataset position number, schema type, number of rows and columns, and description for each MD file are listed.
    PTLIST BLIZZARD/PTSRCS FORM=FILE ALL
     Pos      Description                        Schema  NRows NCols Proj# Created
    ------   --------------------------------   ------  ----- ----- ----- -------
         1   SAO/METAR data for   30 APR 2020   ISFC       72 12500     0 2020120
         2   SAO/METAR data for   01 MAY 2020   ISFC       72 12500     0 2020121
         3   SAO/METAR data for   02 MAY 2020   ISFC       72 12500     0 2020122
         4   SAO/METAR data for   03 MAY 2020   ISFC       72 12500     0 2020123
         5   SAO/METAR data for   04 MAY 2020   ISFC       72 12500     0 2020124
         6   SAO/METAR data for   05 MAY 2020   ISFC       72 12500     0 2020125
         7   SAO/METAR data for   06 MAY 2020   ISFC       72 12500     0 2020126
        10   SAO/METAR data for   29 APR 2020   ISFC       72 12500     0 2020119
    PTLIST: Done
    
  4. List all the MD files stored on your workstation.
    Type:  DMAP MDXX
  5. List the structure and keys in the ISFC schema.
    Type:  LSCHE ISFC
    The keys, units, and scale factors for the ISFC schema are displayed as shown below. If the schema type does not exist, register the schema with the SCHE DCISFC command, and then try the LSCHE command again. See the introduction in the McIDAS User's Guide for more information.
    LSCHE ISFC                                                                  
    NAME: ISFC  VERSION:  8  DATE: 2018073  TEXTID: "SURFACE HOURLY OBSERVATIONS
    ----        -------
       DEFAULT NUMBER OF ROWS:  240                        INTEGER ID: 0
                         COLS:  12500                   MISSING DATA VALUE:  -2139062144
       REPEAT GROUP:  NUMBER OF REPETITIONS:   1
                          STARTING POSITION:  11
                                       SIZE:  25
       NUMBER OF KEYS IN ROW HEADER:     4
                         COL HEADER:     6   STARTING AT POSITION   5
                        DATA RECORD:    25   STARTING AT POSITION  11
                                      ----
                                        35 TOTAL
    
            KEY  SCALE UNIT     KEY  SCALE UNIT     KEY  SCALE UNIT
            ---- ----- ----     ---- ----- ----     ---- ----- ----
            TYPE   0            DAY    0   CYD      TIME   0   HMS
            NREC   0            ID     0   CHAR     LAT    4   DEG
            LON    4   DEG      ZS     0   M        ST     0   CHAR
            CO     0   CHAR     MOD    0            HMS    0   HMS
            CIGC   0            CC1    0            CC2    0
            CIGH  -2   FT       ZCL1  -2   FT       ZCL2  -2   FT
            VIS    1   MI       WX1    0   CHAR     WX2    0   CHAR
            T      2   K        TD     2   K        DIR    0   DEG
            SPD    1   MPS      GUS    1   MPS      PSL    2   MB
            PCP    2   IN       SNO    0   IN       PRE    2   MB
            P24    2   IN       WXC1   0   CODE     WXC2   0   CODE
            WXC3   0   CODE     WXC4   0   CODE
    LSCHE: DONE                                                                 
  6. List the parameters in the first file of the RTPTSRC/SFCHOURLY dataset.
    Type:  PTLIST RTPTSRC/SFCHOURLY FORM=PARAM
    Also listed are the units, storage type and format for each parameter.
    PTLIST RTPTSRC/SFCHOURLY FORM=PARAM                    
       PARAMETER UNIT        STORAGE TYPE     DEFAULT FORMAT
       --------- ----        ------------     --------------
       TYPE                  integer          I9
       DAY       CYD         integer          I9
       TIME      HMS         integer          I9
       NREC                  integer          I9
       ID                    character        A4
       LAT       DEG         real             F9.4
       LON       DEG         real             F9.4
       ZS        M           integer          I9
       ST                    character        A4
       CO                    character        A4
       MOD                   integer          I9
       HMS       HMS         integer          I9
       CIGC                  integer          I9
       CC1                   integer          I9
       CC2                   integer          I9
       CIGH      FT          real             F9
       ZCL1      FT          real             F9
       ZCL2      FT          real             F9
       VIS       MI          real             F9.1
       WX1                   character        A4
       WX2                   character        A4
       T         K           real             F9.2
       TD        K           real             F9.2
       DIR       DEG         integer          I9
       SPD       MPS         real             F9.1
       GUS       MPS         real             F9.1
       PSL       MB          real             F9.2
       PCP       IN          real             F9.2
       SNO       IN          integer          I9
       PRE       MB          real             F9.2
       P24       IN          real             F9.2
       WXC1      CODE        integer          I9
       WXC2      CODE        integer          I9
       WXC3      CODE        integer          I9
       WXC4      CODE        integer          I9
    PTLIST: Done
    
  7. List the first record in the most recent file of the dataset.
    Type:  PTLIST RTPTSRC/SFCHOURLY
    PTLIST RTPTSRC/SFCHOURLY
    Row :      1  Col :      1
    TYPE        =         0             | DAY         =   2020127 CYD         |
    TIME        =         0 HMS         | NREC        =      8544             |
    ID          =      KEFK             | LAT         =   44.8888 DEG         |
    LON         =   72.2125 DEG         | ZS          =       283 M           |
    ST          =        VT             | CO          =        US             |
    MOD         =         0             | HMS         =    235600 HMS         |
    CIGC        = _missing_             | CC1         =         1             |
    CC2         = _missing_             | CIGH        = _missing_             |
    ZCL1        =     6000. FT          | ZCL2        = _missing_             |
    VIS         =      10.0 MI          | WX1         = _missing_             |
    WX2         = _missing_             | T           =    278.16 K           |
    TD          =    271.86 K           | DIR         =         0 DEG         |
    SPD         =       0.0 MPS         | GUS         = _missing_             |
    PSL         =   1013.88 MB          | PCP         = _missing_             |
    SNO         = _missing_             | PRE         = _missing_             |
    P24         = _missing_             | WXC1        = _missing_             |
    WXC2        = _missing_             | WXC3        = _missing_             |
    WXC4        = _missing_             |
    ---------------------------------------------------------------------------
    Number of matches found = 1
    PTLIST: Done
    

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]