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

20030804: McIDAS v7.8 program FILTER



>From: "Fingerhut, William A" <address@hidden>
>Organization: Lyndon State
>Keywords: 200308041935.h74JZXLd009839 McIDAS FILTER sunset

Hi Bill,

>While checking out my old scripts on Mcidas 2002, I noticed that the
>FILTER command is gone. It could filter 2-D grids.

The sunset for FILTER was announced in the Program Sunset Information
page under Hot Topics for Unidata McIDAS v2002:

http://www.unidata.ucar.edu/packages/mcidas/2002/mcx/sunset.html

>It was in version 7.8, and I can't find any mention of this under
>present and future sunset commands.  Also no luck searching the archieves
for grid filter.

If you still want to use FILTER, its source is still included in the
distribution as are the actions that can be used to build its executable.
Here are a couple of snippits from the v2003 makefile:


######################################################################
#-------
# Obsolete keyins from .pgm and .mac files included -- but not built --
#          in the UPC release
#-------

RemovePgm_Srcs  = \
 ...
                        filter.pgm   \


filter.k                : $(main_o) filter.o $(LIBDEPS)
                        @$(L) -o $@ $(main_o) filter.o $(LIBARGS)

If you want to build filter.k, the easiest thing to do is move the
lines relating to filter (filter.pgm, filter.k) from the RemovePgm_Srcs
section to the Unidata McIDAS apps section in 'makefile'.  This section
starts with the comment block:


######################################################################
#-------
# Unidata McIDAS apps
#-------


The only problem with doing this is you will need to do this editing
work to makefile each time a new makefile is included in an addendum.

If access to filter is a priority item for you, I can help you create
a makefile for local code modifications/additions to McIDAS.  This
is not real hard to do, but there are a few steps involved.  Please
let me know if you are interested in this.

By the way, I seem to remember that the main reason you/Mark asked
about 'mcidas' vs 'mcidasx' was because you wanted to run a series
of McIDAS commands upon startup.  If this is the only thing you were
looking for, I am very close to having a mod for the Unidata McIDAS
startup, 'mcidas', that will allow for this.

Tom


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.