[ncl-install] Installing NCL on mac

Ryan Pavlick ryan.pavlick at gmail.com
Thu Oct 15 11:07:02 MDT 2015


I created a homebrew cask for easy installation of ncl on OS X.

To use it, you first need to install homebrew by pasting the following line
in to your Terminal (more info at http://brew.sh):

ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"


Then, install caskroom (http://caskroom.io/), followed by ncl:

brew install caskroom/cask/brew-caskbrew cask install ncar-ncl

This will:
1) Download the appropriate NCL binary for your version of OS X from the
Earth System Grid
2) Check for homebrew dependencies, gcc and xquartz, and install them if
not found
3) Install ncl to /usr/local/ncl-6.3.0

A message will appear telling you how to:
1) add $NCARG_ROOT/bin to your $PATH
2) add libgfortran.3.dylib to your $DYLD_FALLBACK_LIBRARY_PATH.

After that, type ncl at the command line and you should be good to go.

You can also easily install other related tools using:

brew install homebrew/science/cdo
brew install homebrew/science/nco
brew cask install panoplybrew cask install qlnetcdf
brew install imagemagick


On Thu, Oct 15, 2015 at 9:19 AM Mary Haley <haley at ucar.edu> wrote:

> ​First, why are you installing a Debian Linux version for your Mac?  You
> want to download one of the Mac binaries, depending on your version of
> MacOS:
>
> ncl_ncarg-6.3.0.MacOS_10.10_64bit_nodap_gcc492.tar.gz
> ncl_ncarg-6.3.0.MacOS_10.9_64bit_nodap_gcc492.tar.gz
> ncl_ncarg-6.3.0.MacOS_10.8_64bit_nodap_gcc471.tar.gz
>
> You can get more information about which binary to download from here:
>
> http://www.ncl.ucar.edu/Download/macosx.shtml#DownloadBinary
>
> Second, you downloaded the binary to your "Desktop" directory, so when you
> try to untar it, you need to include that directory in your path:
>
>  tar -zxf ~/Desktop/xxxxx.tar.gz
> "xxxxx.tar.gz" should be replaced by the name of the file you end up
> downloading.
>
> Good luck,
>
> --Mary
>
>
> On Thu, Oct 15, 2015 at 7:30 AM, Setareh Rahimi <setareh.rahimi at gmail.com>
> wrote:
>
>> Dear all,
>>
>> I am trying to install NCL on my mac (Version 10.8.5), once I am trying
>> to extract the file where I want the software to be installed I get an
>> error. Please have a look at the attached pic.  The error comes when I want
>> to do tar -zxf command.
>>
>> Please advice me in this regard.
>>
>> Kind regards,
>> --
>> S.Rahimi
>>
>>
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20151015/1d3ef7a5/attachment.html 


More information about the ncl-install mailing list