Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: Installing McIDAS-XCD 2005 Next: Running XCD with the LDM

Configuring McIDAS-XCD

Configuring McIDAS-XCD is a multistep process that has been made easier in v2006 with the addition of the configuration script xcdconfig. xcdconfig leads the user through the steps that need to be completed advising what needs to be done.

xcdconfig is designed to be run after McIDAS-X has been installed and configured using mcxconfig, and after McIDAS-XCD executables have been build and installed:

The remainder of this section describes the steps that xcdconfig leads the user through.


If you already have a McIDAS-X session running under the Unix login name mcidas, start with step 2. Enter commands exactly as shown; case is important.

  1. Log on to the workstation as the user mcidas and start a McIDAS-X session.

  2. Copy the McIDAS schema repository file, SCHEMA, to the directory in which you want your XCD decoders to create output data files making sure that it has group read and write permissions:

    xcddatadirectory must be the full Unix pathname of the target directory (example: /data/ldm/mcidas). It must be readable and writable by mcidas and by the user that runs the Unidata LDM (typically ldm).

  3. Define the McIDAS string XCDDATA to contain the same full Unix path of the directory in which you want XCD decoders to write their output McIDAS data files as you specified above. From the McIDAS session,
  4. For example:

  5. Run the batch file XCD.BAT.
  6. The message "BATCH:DONE" must be displayed before you can continue.

    XCD.BAT redirects several data files, saves them in the redirection table XCD, and initializes the GROUPS.DAT and COUNTRY.DAT files.

  7. Run the batch file XCDDEC.BAT. This file restores the XCD redirection table, adds the server's redirections and saves the redirection table as XCDDEC. It also initializes some files, registers the required data schemas and builds the pointer files required for processing data.
  8. When the message "BATCH:DONE" appears, go to the next step.

  9. List the active data circuits.
  10. The table below lists the default values of the circuits for the Family of Services data stream for Unidata McIDAS-X.

    Circuit Active

    Comm. Port

    Command Configuration File
    DDS no
    none
    INGETEXT DDS.CFG
    PPS no
    none
    INGETEXT PPS.CFG
    IDS no<
    none
    INGETEXT IDS.CFG
    HRS no
    none
    INGEBIN HRS.CFG

    You will note that all circuits are set inactive by default. You should leave them configured like this in order for XCD to work with the Unidata LDM!

  11. List the active data monitors, their associated decoders, and status.

    The table below lists the default status of data monitors and decoders.

    Data Monitor Decoder MD File Status Description Configuration File
    DMSFC SAODEC 1-10 A Surface hourly ISFCDEC.CFG
    DMRAOB RABDEC 11-30 A Upper air IRABDEC.CFG
    DMSYN

     

    SYNDEC 51-60 A Synoptic SYNDEC.CFG
    SHPDEC 31-40 A Ship/Buoy ISHPDEC.CFG
    DMMISC F14DEC 41-50 A FOUS14 FO14DEC.CFG
    PIRDEC 61-70 A PIREP/AIREP PIRPDEC.CFG
    ETAMOS 101-110 A ETA MOS ETAMOS.CFG
    GFSMOS 111-120 A GFS MOS GFSMOS.CFG
    TERDEC   A Terminal Fcst TERMDEC.CFG
    TIRDEC   I TIROS NAV TIRDEC.CFG
    MDRDEC   A MDR grids MDRDEC.CFG
    DMGRID GRIBDEC   I NMC GRIDS GRIBDEC.CFG
    DMNEXR NEXRFILE   I NEXRAD prods NEXRFILE.CFG
    DMBIN GRBFILER   I GRIB & BUFR GRBFILER.CFG

  12. Use the DECINFO command to activate or deactivate any data monitors and decoders you want/do not want to run. Please note that deactivating a data monitor will deactivate all decoders that the data monitor runs. See McIDAS-XCD Administrative Commands for details on running DECINFO.

    As an example, to activate GRIB data decoding, run DECINFO as follows:


Table of contents Previous: Installing McIDAS-XCD 2005 Next: Running XCD with the LDM
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690