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

20001121: McIDAS xcd_run problem (cont.)



>From: "David B. Bukowski" <address@hidden>
>Organization: College of DuPage
>Keywords: 200011152022.eAFKMBo01525 McIDAS-XCD

Dave,

>ok followed all steps you sent.  Yes 7.6 is the version and RH 6.2

OK.

>the patch was the one which allows me to compile the source and all.
>Otherwise it gave errors in the Fortran comiles.

I still don't know what you are referring to as a patch.  In order to
compile McIDAS you have to have a Fortran compiler (or a process that
imitates a Fortran compiler, like mcfc which runs f2c and gcc to
compile Fortran source).

It sounds like you have successfully built McIDAS-X, so let's move on.

>back to the problem
>I got it produsing IDX files into the wrong directory.  They are going
>into ~/workdata instead of /home/data/mcidas

This would be due to you not having setup file REDIRECTions in the
mcidas before starting McIDAS-XCD from the LDM.  I covered this process
in my last email.  At this point, you should:

<as 'ldm'>
o stop your LDM

<as 'mcidas'>

o redo the steps I outlined before for creating a local copy of EXAMPLE.NAM
  and editing it to setup REDIRECTions to match your installation:

  o change directory to data and setup the REDIRECTion template file
    LOCAL.NAM from the example template file EXAMPLE.NAM

    cd ~mcidas/data
    cp EXAMPLE.NAM LOCAL.NAM

    edit LOCAL.NAM and set the directory locations for the various files
    (AREA, GRID, MDXX, etc) to be the directory where you want XCD to
    decoded data

    Since you mention that your system is creating IDX files in
    ~mcidas/workdata, it means that you did not setup the REDIRECTions
    in LOCAL.NAM for XCD files.  This is at the end of the file:

" XCD files - point to drive that XCD decoders are writing to
"
*.IDX        /var/data/xcd
*.IDT        /var/data/xcd
*.XCD        /var/data/xcd
IDXALIAS.DAT /var/data/xcd
FOUS14.RAP   /var/data/xcd
FOUS14.RAT   /var/data/xcd
HRS.SPL      /var/data/xcd
RAOB.RAP     /var/data/xcd
RAOB.RAT     /var/data/xcd
SAOMETAR.RAP /var/data/xcd
SAOMETAR.RAT /var/data/xcd
SYNOPTIC.RAP /var/data/xcd
SYNOPTIC.RAT /var/data/xcd
TERMFCST.RAP /var/data/xcd
TERMFCST.RAT /var/data/xcd

    Assuming that the /home/data/mcidas directory is NOT ~mcidas/data,
    but, rather, it is a directory into which you will decode your
    data, then the above entries in LOCAL.NAM would need to be changed
    to:

" XCD files - point to drive that XCD decoders are writing to
"
*.IDX        /home/data/mcidas
*.IDT        /home/data/mcidas
*.XCD        /home/data/mcidas
IDXALIAS.DAT /home/data/mcidas
FOUS14.RAP   /home/data/mcidas
FOUS14.RAT   /home/data/mcidas
HRS.SPL      /home/data/mcidas
RAOB.RAP     /home/data/mcidas
RAOB.RAT     /home/data/mcidas
SAOMETAR.RAP /home/data/mcidas
SAOMETAR.RAT /home/data/mcidas
SYNOPTIC.RAP /home/data/mcidas
SYNOPTIC.RAT /home/data/mcidas
TERMFCST.RAP /home/data/mcidas
TERMFCST.RAT /home/data/mcidas

    Remember to change ALL of the other entires in LOCAL.NAM to match
    where your data files are to be found!

  o change directory to ~mcidas/workdata and make the REDIRECTions
    you just defined active:

    cd ~/workdata
    redirect.k REST LOCAL.NAM

  o at this point, delete all *.IDX, *.IDT, *.XCD, etc (files from the
    list above) from ~mcidas/workdata:

    rm *.IDX *.IDT *.XCD IDXALIAS.DAT
    rm *.RAP *.RAT HRS.SPL

  o make sure that you have copied the file SCHEMA to the directory
    in which you want XCD to create data files:

    cp ~mcidas/data/SCHEMA /home/data/mcidas

  o make sure that you have defined the McIDAS string XCDDATA:

    te.k XCDDATA \"/home/data/mcidas

  o run the XCD configuration BATCH files XCD.BAT and XCDDEC.BAT:

    batch.k XCD.BAT
    batch.k XCDDEC.BAT

At this point, XCD should be able to run and create output data files.

>also there seems to be NO  MDXX files being produced.  any insight on this
>would be helpful.

I would guess that you did not setup REDIRECTions before trying to start
XCD (either the first time or the second).  I would further guess that
you did not copy SCHEMA from the McIDAS distribution to the directory
in which you want XCD to create data files.

>Thanks again

Please let me know if the above doesn't help.  If need be, I can login
and get things moving for you (_after_ you try the steps above).

Tom Yoksas