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

[McIDAS #OPE-279047]: New Sandwich Command



Hi Mike,

re:
> I'm reading through the v2019 release notes and I see a new SANDWICH
> command has been added.

SSEC added the SANDWICH command to their XRD portion of their McIDAS-X
distribution.  I thought that I had done the same in Unidata McIDAS, but
I see that the source code is not there.

re:
> I'm intrigued and would like to test it out, but
> it doesn't seem to be working.  When I type SANDWICH in the GUI Console,
> all I see is "SANDWICH not found."

Two things:

- I did not add the SANDWICH command to the Unidata XRD section of v2019

- if the command was there, you would need to build and install the
  XRD portion of the build to be able to use it.

re:
> I found some documentation online from SSEC showing an example of this
> command (
> https://www.ssec.wisc.edu/mcidas/mug_meeting/2019/training/McIDAS_X_Training.pdf,
> very bottom of document) and it also references an ABITRUCOL command; this
> too is not found.

I first thought that ABITRUCOL would be another XRD routine, but I don't see
any source code in either the SSEC core or XRD distribution that contains
'tru' as part of the name.  I did find a McBASI script named ABITRUCOL.MCB
in the data directory portion of XRD in the SSEC release.

re:
> When I updated McIDAS I issued "make all" & "make install.all" and I was
> under the impression this should also build the XRD programs.

No, the XRD portion needs to be built after the main:

make all xrd
make install.all install.xrd

re:
> I did try
> "make xrd" afterwards but didn't see any reference to the above two
> commands in the output, so I didn't bother with a second install command.

See above.

re:
> Can you confirm for me if the new SANDWICH command is included in v2019,
> and if so what I might need to do to test it out?

It was not, but I just added it to my development build.  I will put the
source, sandwich.pgm, an updated 'makefile', and the ABITRUCOL.MCB
script out on our anonymous FTP server for you to grab and try out:

ftp ftp.unidata.ucar.edu
user: anonymous
pass: your_email_address
cd pub/mcidas/xrd
files: src/sandwich.pgm src/makefile
       data.ABITRUCOL.MCB

Please make sure to backup your existing 'makefile' before trying to use
the new one!!   Here is what I would try:

<as 'mcidas'>
cd ~/mcidas2019/src
mv makefile makefile.orig
ftp ftp.unidata.ucar.edu
   ...
cd pub/mcidas/xrd/src
prompt
mget *
cd ../data
lcd ../data
get ABITRUCOL.MCB

make xrd install.xrd

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: OPE-279047
Department: Support McIDAS
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.