Skip to content
four2five edited this page Nov 4, 2011 · 10 revisions
  1. download a copy of the NetCDF 4.2 source. The package that we built the patch against was build on Oct 24, 2011 The NetCDF Java download website is here: http://www.unidata.ucar.edu/downloads/netcdf/netcdf-java-4/index.jsp

An ftp link for the package we used for the patch can be found here: ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v4.2/ncSrc-4.2.zip

We downloaded the zip file with this command

wget ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v4.2/ncSrc-4.2.zip
  1. unzip your zip file. Our command looked like this

    unzip ncSrc-4.2.zip

  2. download the NetCDF patch from github a) install git. On Ubuntu this command does the trick

    sudo apt-get install git

b) configure git via these two commands

git config --global user.name "Joe Smith"
git config --global user.email "[email protected]"

c) create a directory to hold the source code. Ours is at /hub/SciHadoop

d) cd into that directory

e) run git init

f) add the remote repository like so (we named the remote repo scihadoop)

git remote add hub/scihadoop git://github.com/four2five/SciHadoop.git

git fetch hub/scihadoop

git checkout -b scihadoop hub/scihadoop/master
Clone this wiki locally