Skip to content
Snippets Groups Projects
Commit 0f0b07c6 authored by Nick Bearson's avatar Nick Bearson
Browse files

adds the NCO utilities

parent 7a3645c8
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ ENV HDF4_VERSION 4.2.12
ENV HDF5_VERSION 1.8.17
ENV NC4F_VERSION 4.4.4
ENV NC4C_VERSION 4.4.1
ENV NCO_VERSION 4.6.1
# grab some packages we need
RUN apt-get update && apt-get install -y byacc bison diffutils flex make
......@@ -102,6 +103,14 @@ RUN mkdir -p ${BUILD} ${OPT}/netcdf4 && cd ${BUILD} && \
cp config.log ${OPT}/netcdf4/config.log-netcdff-${NC4F_VERSION} && \
rm -rf ${BUILD}
# add the nco utilities for basic netcdf manipulation
RUN mkdir -p ${BUILD} ${OPT}/nco && cd ${BUILD} && \
curl -OL https://github.com/nco/nco/archive/${NCO_VERSION}.tar.gz && \
cd nco-${NCO_VERSION} && \
NETCDF_ROOT=${OPT}/netcdf4 ./configure --prefix=${OPT}/nco && \
make && make install && \
rm -rf ${BUILD}
## add uwglance for verifying data, etc.
RUN apt-get install -y python-setuptools python-numpy python-scipy python-matplotlib python-mpltoolkits.basemap
RUN easy_install -f http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment