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

[McIDAS #ANW-223062]: Problem in reading MCTABLE.TXT in McIDAS-X 2018a



Hi Bob,

re:
> Thank you for your quick response. The change you suggested worked!

Excellent!

re:
> DATALOC now displays the contents of the MCTABLE.TXT in my user
> home/mcidas/data, but the contents of /home/mcidas/data/ADDESITE.TXT cann't 
> be accessed.
> 
> The line in my .bash_profile now reads:
> 
> export MCTABLE_READ=$MCDATA/MCTABLE.TXT;$MCHOME/data/ADDESITE.TXT

Everything after the '=' (equal sign) should be surrounded by shifted
quites:

export MCTABLE_READ="$MCDATA/MCTABLE.TXT;$MCHOME/data/ADDESITE.TXT"

If it is not, then the shell (BASH in your case) is running/trying
to run:

MCTABLE_READ=$MCDATA/MCTABLE.TXT
$MCHOME/data/ADDESITE.TXT

re:
> When I source my .bash_profile,  I get a permission denied error:
> 
> -bash: /home/mcidas/data/ADDESITE.TXT: Permission denied
> 
> This seems strange since that file is globally readable:
> 
> -rw-r--r--. 1 mcidas aos   698 Feb 11 16:49 /home/mcidas/data/ADDESITE.TXT
> 
> Any suggestions of what I might change?

Surround the object of the '=' with shifted quotes and all should
be well.

re:
> Thanks again! -Bob

No worries.  Let me know if you run into anything else!

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: ANW-223062
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.



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.