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

20010119: broke xcd decoding of some MD files (McIDAS 7.6)



>From: Mike Leuthold <address@hidden>
>Organization: University of Arizona
>Keywords: 200101192144.f0JLi0e21344 McIDAS-XCD 7.7 upgrade

Mike,

>Somehow I have managed to break part of the MD decoding.  I
>started to build mcidas 7.7 but did not install it when the decoding
>broke(7.6).

Hmm... strange indeed.

>I've followed the directions on the 'Configuring Files'
>page under
>McIDAS-XCD to attempt to fix the error with no luck.  All decoders are
>running and MDXX files are created, but most are empty.  Here is a
>listing:
>-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:33 MDXX0019
>-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:33 MDXX0029
>-rw-rw-rw-    1 mcidas   idd       4579888 Jan 19 14:36 MDXX0039
>-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:24 MDXX0059

Is this a complete listing of MD files?  The reason I ask is that I
don't see any surface MD files.

>Before I wipe out the XCD directory and reinstall/reconfigure, I wanted to
>know if you have a clue on where I might look.

I would not resort to this drastic of a measure.  In fact, I would take
the opprotunity to finish the installation of 7.7 and then get things
working under it.

>The xcdstatus window shows
>the ingestor running fine and the decoders running.

OK.

>Thanks for any help.

Here is what I would do:

<as 'ldm'>
ldmadmin stop              <- this can wait until 7.7 is completely built
                              but it should be done before 7.7 is installed

cd ~mcidas/workdata
cp GINI.CFG GINI.CFG.BAK        <- if you have GINI ADDE datasets
cp NNEXRAD.CFG NNEXRAD.CFG.BAK  <- if you have NOAAPORT NEXRAD datasets
cp STRTABLE STRTABLE.BAK
cp WNEXRAD.CFG WNEXRAD.CFG.BAK  <- if you have WSI NEXRAD datasets
cp mcsour.sh mcscour.sh.bak
cp uwgrid.sh uwgrid.sh.bak

cd ~/mcidas7.7/src
make all

<stop the LDM at this point>

cd ~mcidas/mcidas7.6/src        <- or whatever version you are currently using
make uninstall.all

cd ~/mcidas7.7/src
make install.all

cd ~mcidas/workdata
cp GINI.CFG.BAK GINI.CFG
cp NNEXRAD.CFG.BAK NNEXRAD.CFG
cp STRTABLE.BAK STRTABLE
cp WNEXRAD.CFG.BAK WNEXRAD.CFG
cp mcsour.sh.bak mcscour.sh
cp uwgrid.sh.bak uwgrid.sh

<verify that you have XCDDATA defined>

tl.k XCDDATA

<if it is not defined define it>
te.k XCDATA \"whatever_directory_you_want_XCD_files_written_in

<verify that your REDIRECTions to data files has not somehow gotten
deleted:

redirect.k LIST
dmap.k MDXX
dmap.k AREA
dmap.k GRID

Does the output from these commands look reasonable (i.e., are the files
found in the correct directory(ies))?  If not, you may need to redo
your REDIRECTions; if yes, you should be good to go.

cd  whatever_directory_you_want_XCD_files_written_in
rm *.R*

<remove current mandatory level MD file; this is mandated by the
schema change in 7.7 that allows decoding up to 10 mb>

cp ~/data/SCHEMA .

cd ~/workdata
batch.k XCD.BAT
batch.k XCDDEC.BAT

<restart the LDM>

That should get you going again.  Let me know if you run into problems.

Tom

>From address@hidden Fri Jan 19 16:24:41 2001
>Subject: Re: 20010119: broke xcd decoding of some MD files (McIDAS 7.6) 

> >-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:33 MDXX0019
> >-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:33 MDXX0029
> >-rw-rw-rw-    1 mcidas   idd       4579888 Jan 19 14:36 MDXX0039
> >-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:24 MDXX0059
> 
> Is this a complete listing of MD files?  The reason I ask is that I
> don't see any surface MD files.
no, this is....
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 15:47 MDXX0009
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:33 MDXX0019
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 16:06 MDXX0020
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:33 MDXX0029
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 16:06 MDXX0030
-rw-rw-rw-    1 mcidas   idd         16780 Jan 19 16:13 MDXX0038
-rw-rw-rw-    1 mcidas   idd       4996120 Jan 19 16:15 MDXX0039
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 14:24 MDXX0059
-rw-rw-rw-    1 mcidas   idd          6656 Jan 19 16:03 MDXX0060

only the MDXX003x has valid data...

MDL 39

--RECORD AT (ROW,COL) = (   1,   1)

|DAY  =   2001019 SYD  | TIME =         0 HMS  | CMAX =         4
|MOD  =         0      | TYPE =      BUOY      | IDA  =      5232
|IDB  =         1      | HMS  =         0 HMS  | LAT  =    0.0280 DEG
|LON  = -165.0420 DEG  |
MDL: DONE

the rest are empty but the MD files do get created.

MDU LIST 9
  MD#  CREATED SCHM PROJ  NR   NC     ID   DESCRIPTION
 ----- ------- ---- ---- ---- ---- ------- -----------
     9 2001019 ISFC    0   72 4500 2001019 SAO/METAR data for   19 JAN 2001
 -- END OF LISTING
MDL 9
MDL: DONE

> 
> Here is what I would do:

I was hoping for a quick fix since I can't get back to 7.7 until next
week.

I'll do what you suggest next week.  thanks.
Mike



--
Mike Leuthold
Atmospheric Sciences/Institute of Atmospheric Physics
University of Arizona
address@hidden
520-621-2863