Skip to content

Commit

Permalink
Add changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 16, 2024
1 parent 52b8f7e commit 1bac15e
Show file tree
Hide file tree
Showing 44 changed files with 25,172 additions and 21,542 deletions.
135 changes: 89 additions & 46 deletions _data/containers.yaml

Large diffs are not rendered by default.

4,124 changes: 2,732 additions & 1,392 deletions _data/repos.yml

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions _recipes/ARPA-SIMC/nwprun/Singularity.bufr2netcdf_r8
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 dballe and bufr2netcdf from simc repository
dnf install -y $COMPOPT bufr2netcdf dballe
# 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
# save some space
dnf clean all
rm -rf /var/lib/{dnf,rpm,yum} /var/cache/*

%help
This container includes a minimum amount of SIMC tools for
converting bufr to netcdf format and manipulating bufr files.
6 changes: 5 additions & 1 deletion _recipes/ARPA-SIMC/nwprun/Singularity.nwprun_f36
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Include: dnf
dnf install -y dnf-plugins-core
dnf copr enable -y simc/stable
# install packages required for scacchiera & c.
dnf install -y $COMPOPT python3-pandas python3-matplotlib python3-numpy python3-cartopy python3-pygrib
dnf install -y $COMPOPT python3-pandas python3-matplotlib python3-numpy python3-cartopy python3-pygrib python3-eccodes
# install smnd packages from simc repository
dnf install -y $COMPOPT wreport bufr2netcdf dballe arkimet libsim ma_utils
# other useful packages
Expand All @@ -29,3 +29,7 @@ Include: dnf
# save some space
dnf clean all
rm -rf /var/lib/{dnf,rpm,yum} /var/cache/*

%environment
export LOG4C_APPENDER=stderr
export LOG4C_PRIORITY=info
20 changes: 16 additions & 4 deletions _recipes/ARPA-SIMC/nwprun/Singularity.nwprun_r8
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,25 @@ Include: dnf
dnf config-manager --set-enabled appstream

dnf copr enable -y simc/stable
# install packages required for scacchiera
dnf install -y $COMPOPT python3-pandas python3-matplotlib python3-numpy
# 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
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/*
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.
35 changes: 35 additions & 0 deletions _recipes/ARPA-SIMC/nwprun/Singularity.simc_tools_debug_r8
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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 smnd packages from simc repository
dnf install -y $COMPOPT wreport bufr2netcdf dballe arkimet libsim ma_utils wreport-debuginfo bufr2netcdf-debuginfo dballe-debuginfo arkimet-debuginfo libsim-debuginfo ma_utils-debuginfo
# 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
# debugging tools
dnf install -y $COMPOPT gdb strace valgrind
# save some space
dnf clean all
rm -rf /var/lib/{dnf,rpm,yum} /var/cache/*

%environment
export LOG4C_APPENDER=stderr
export LOG4C_PRIORITY=info

%help
This container includes most of the tools developed at SIMC
together with their debugging symbols and debugging tools.
32 changes: 32 additions & 0 deletions _recipes/ARPA-SIMC/nwprun/Singularity.simc_tools_r8
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 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
# 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.
Loading

0 comments on commit 1bac15e

Please sign in to comment.