This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Paul, Long time no hear! re: > Happy New Year, You too. We had a pretty cold New Year's Eve/Day this year, but the temperatures are on their way back up -- forecast is of 50sF by Thursday in Denver... re: > It seems like every few years I do a lot of work with > McIDAS. I actually remember quite a bit but am having trouble having my > mcidas-x session find my batch files. It looks in workdata and i have a > $MCHOME/batches directory. I have a work around but know there is some way > to set that path. I have modified things in the user_env files...but > nothing works. The environment variable MCPATH specifies the set of directories that McIDAS will search when looking for files. The default setup for MCPATH that I construct in the file ~mcidas/admin/user_env.csh (or ~mcidas/admin/user_env.sh for Bourne shell, BASH, etc. users) is: MCPATH=${MCDATA}:$MCHOME/data:$MCHOME/help MCDATA is defined as $HOME/mcidas/data for users other than 'mcidas'. If you are sourcing the user_env.(csh|sh) file in your shell specific definition file (i.e., ~/.cshrc for CShell users; ~/.bash_profile for BASH users, etc.) to set the environment for your non-'mcidas' user (as per my recommendations), then you should edit the ~mcidas/admin/user_env.(csh|sh) file and change the MCPATH definition to: MCPATH=${MCDATA}:$MCHOME/data:$MCHOME/help:$MCHOME/batches As you see, the syntax will be different for CShell users, but the notion is the same: append the $MCHOME/batches directory to the end of the MCPATH definition. After making the change, you will need to logoff and then log back on for the change(s) to take effect. re: > Thanks in advance! No worries. Please let me know if the above advice gets you going again... 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: IND-391015 Department: Support McIDAS Priority: Normal Status: Closed