Commit fe2f600c authored by jan vogelsang's avatar jan vogelsang

Modified definition file

parent 4c8168b1
......@@ -4,18 +4,33 @@ Stage: build
apt update && apt install python3 cdo python3-cdo git -y
pip install netCDF4 xarray cdo
apt update && apt install cmake git wget zlib1g-dev build-essential m4 -y
cd /root
tar xzf hdf5-1.10.5.tar.gz && rm hdf5-1.10.5.tar.gz && cd hdf5-1.10.5
./configure --enable-threadsafe --enable-unsupported && make && make install
cd .. && wget
tar xzf v4.7.2.tar.gz && rm v4.7.2.tar.gz && cd netcdf-c-4.7.2
export CPPFLAGS="-I/root/hdf5-1.10.5/hdf5/include" && export LDFLAGS="-L/root/hdf5-1.10.5/hdf5/lib"
./configure --disable-dap --enable-netcdf-4
make && make install
cd .. && wget
tar xzf cdo-1.9.8.tar.gz && rm cdo-1.9.8.tar.gz && cd cdo-1.9.8
./configure --with-netcdf=/usr/local && make && make install
cd .. && rm -rf cdo-1.9.8 && rm -rf hdf5-1.10.5 && rm -rf netcdf-c-4.7.2
echo "LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" >> /etc/profile && source /etc/profile
git clone && cd source
for (( i=2; i<=$#; i+=2 )) do
/root/source/ $$i $$j $1
Author Jan_Vogelsang
Version v1.0
Version v1.0
This container preprocesses a data file in the netcdf format for subsequent visualization.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment