-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSingularity.nwprun_r8
38 lines (33 loc) · 1.36 KB
/
Singularity.nwprun_r8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
BootStrap: yum
OSVersion: 8
MirrorURL: http://dl.rockylinux.org/pub/rocky/%{OSVERSION}/BaseOS/x86_64/os/
Include: dnf
%runscript
exec "$@"
%post
COMPOPT="--nodocs --setopt install_weak_deps=False"
dnf install -y $COMPOPT epel-release
dnf install -y 'dnf-command(config-manager)'
dnf config-manager --set-enabled powertools
dnf config-manager --set-enabled appstream
dnf copr enable -y simc/stable
# install packages required for scacchiera & c. eccodes-devel seems to be
# erroneously required by python3-eccodes
dnf install -y $COMPOPT python3-pandas python3-matplotlib python3-numpy python3-cartopy python3-pygrib python3-eccodes python3-gdal eccodes-devel
# install smnd packages from simc repository
dnf install -y $COMPOPT wreport bufr2netcdf dballe arkimet libsim ma_utils
# fix for some badly coded airep reports, rewrite bufr table
# https://github.com/ARPA-SIMC/wreport/issues/58
cp /usr/share/wreport/B0000000000000015000.txt \
/usr/share/wreport/B0000000000000014000.txt
# other useful packages
dnf install -y $COMPOPT ncview
# save some space
dnf clean all
rm -rf /var/lib/{dnf,rpm,yum} /var/cache/*
%environment
export LOG4C_APPENDER=stderr
export LOG4C_PRIORITY=warning
%help
This container includes most of the tools developed at SIMC and
the specific tools required for running nwp postprocessing.