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

20030305: 20030304: mod_res.tbl



Clint,

In this case, 1 & 2 are the same.
If you were calling the ctb library with a file name like path/filename,
then "filename" would be checked first in the current directory (1)
and then the full path second (2).

Steve Chiswell


>From: Clint Rowe <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200303051938.h25JcE304426

>Chiz,
>
>Thanks for the quick response.  I'm not clear on option 2, though.
>What do you mean "table as given"?  Is there a way to specify table(s)
>on the command line for nmap?  Obviously, this doesn't matter for nmap
>when launced from ntl, but would be a useful thing to be able to do at
>other times.
>
>Clint
>
>>To: Clint Rowe <address@hidden>
>>cc: address@hidden
>>Subject: 20030304: mod_res.tbl 
>>Date: Wed, 05 Mar 2003 11:29:13 -0700
>>From: Unidata Support <address@hidden>
>>
>>>From: Clint Rowe <address@hidden>
>>>Organization: UCAR/Unidata
>>>Keywords: 200303042252.h24Mqd316047
>>
>>>Chiz 
>>>
>>>1) is it possible to "personalize" the gempak gui programs (esp. nmap/nmap2)
>>>   so that a user can have his/her own set of restore scripts?  That is, can
>>>   a user have their own mod_res.tbl pointing to their own restores?
>>>   
>>>Clint
>>>
>>>====================================================================
>>>Clinton M. Rowe
>>>Associate Professor 
>>>Meteorology/Climatology Program                  phone:(402)472-1946
>>>Department of Geosciences                          fax:(402)472-4917
>>>University of Nebraska-Lincoln                        address@hidden
>>>
>>>
>>
>>Clint,
>>
>>Yes, the order in which the program searches for most tables (including 
>>mod_res.tbl) is:
>>
>> *      1. filename (local)                                             *
>> *      2. path/filename (table as given)                               *
>> *      3. $NCDESK/type/filename                                        *
>> *      4. $NCSITE/type/filename                                        *
>> *      5. $GEMTBL/type/filename 
>>
>>(above, path/filename is mod_res.tbl, and type is nmap for the grid pulldown)
>>)
>>So, the mod_res.tbl file in the local directory will always take precedence.
>>The least precedence will be given to $GEMTBL/nmap/mod_res.tbl.
>>You can also use the $NCDESK and $NCSITE environmental variables
>>for certain application specific (eg case study, class project) tables.
>>
>>The mod_res.tbl typically references the files under $NMAP_RESTORE,
>>which can also be changed by the environmental variable...or users can
>>use their own variables, or hardcoded paths in their local mod_res.tbl file.
>>
>>Steve Chiswell
>>
>>
>>**************************************************************************** 
>>Unidata User Support                                    UCAR Unidata Program 
>>(303)497-8643                                                  P.O. Box 3000 
>>address@hidden                                   Boulder, CO 80307 
>>---------------------------------------------------------------------------- 
>>Unidata WWW Service                        http://www.unidata.ucar.edu/      
>>**************************************************************************** 
>
>
>====================================================================
>Clinton M. Rowe
>Associate Professor 
>Meteorology/Climatology Program                  phone:(402)472-1946
>Department of Geosciences                          fax:(402)472-4917
>University of Nebraska-Lincoln                        address@hidden
>
>