January 20th, 2011, 10:22 AM
I am trying to install NCL/NCAR Graphics onto my Windows laptop, but am having some trouble. I have downloaded the correct file that I need and saved it in the recommended folder, "C:/cygwin/home/XXX" where XXX is my user name.
When I open up Cygwin-X, the instructions (http://www.ncl.ucar.edu/Download/cygwin.shtml WFS) say to make a directory called "/usr/local", but this already exists, but when I cd to /usr/local and try to unzip ncl_ncarg-5.2.1.CYGWIN_NT-5.1_i686.tar.gz, I get the error "no such file or directory. I tried a different route and cd'd to my XXX directory (insert dirty joke here) and tried
only to get the error "gzip: /usr/local is a directory -- ignored"
gunzip ncl_ncarg-5.2.1.CYGWIN_NT-5.1_i686.tar.gz -d /usr/local
Does anyone know why I am getting these errors? Any help would be greatly appreciated.
January 20th, 2011, 11:48 AM
Back to real work now...
June 15th, 2011, 06:06 PM
I am also trying to unzip the ncl file using cygwin on a windows system and I'm having the same problem you did. How did you end up solving it? I'm new to programming and using cygwin so any help is appreciated! (My end goal is to use ncl to open and convert netcdf files into ASCII files)
June 16th, 2011, 01:58 PM
It was over 3 months ago, so I'm not too sure how I got it. Try doing
Originally Posted by Ti2grwd
so that if your ncl file is in 'C:/home/downloads' and '/usr/local' is in 'C:/' your input will look like
gunzip 'filename' -d 'route to directory'
where the '../' means 'move back a directory'.
gunzip ncl_ncarg-5.2.1.CYGWIN_NT-5.1_i686.tar.gz -d ../../usr/local
Let me know how that goes.