Thursday, May 1, 2014

NCL Try outs


Installing NCL

Put this in my .bash_profile file:
# NCL additions
export NCARG_ROOT=/Volumes/Data/Users/fmacgill/Projects/ncl62/
export PATH=$NCARG_ROOT/bin:$PATH
Library Issue
Had issues with a library, solve by installing gcc47 through macports

http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp

Put this in my .bash_profile file:
   export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc47/

clmMonLLT

Decide to try out NCL with this example code.
Downloaded 
clim0_4.ncl
Downloaded 
xieArkin_T42.nc
Want to see output immediately so changed Line 31
wks   = gsn_open_wks("x11" ,"climo")        ; open ps file
So what going on

No comments:

Post a Comment