site map - email us - search  
 


TERRAIN Tutorial : NCAR Graphics

 

Next, find out whether you have NCAR Graphics installed on your machine. Program TERRAIN does not require NCAR Graphics to run. But with NCAR Graphics, a plot file will be created to help you visualize your domain configuration. The basic NCAR Graphics library that several MM5 programs utilize has become free for downloading.

NCAR Graphics Web site

Typically NCAR Graphics is installed in /usr/local/ncarg, but depending on your system administrator, it may be installed somewhere else. If you have it, make sure that you either type:

   setenv NCARG_ROOT /usr/local/ncarg

before you run MM5 programs (TERRAIN, LITTLE_R, RAWINS, and GRAPH), or include it in your .cshrc file if you are running C-shell.
 

If you don't have NCAR Graphics, you should first edit the Makefile in the TERRAIN directory:

  1. set NCARGRAPHICS = NONCARG,

  2. and remove the libraries listed after LOCAL_LIBRARIES for your appropriate machine. For example, if you didn't have NCAR Graphics on your COMPAQ Alpha workstation, you would change this line:

"LOCAL_LIBRARIES= -L/usr/local/ncarg/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lm" ) ; \

   to

"LOCAL_LIBRARIES= " ) ; \

 

Now you are ready to work with TERRAIN.

UCAR Privacy Policy - Terms of Use - ©2004UCAR