Skip to content
Snippets Groups Projects
user avatar
Bianca Wentzel authored
c37d725a
History

PET

CI

Functional Production

REUSE status

Connection and Module Loading

To connect to the server and load the necessary modules for the project, use the following commands:

ssh <user-id>@levante.dkrz.de
module load clint regiklim-ces

Integrating PET with the Plugin

To integrate PET into your Freva instance, follow these steps:

  1. Clone the Plugin Repository:

    Navigate to the appropriate directory and clone the repository using the following commands:

    cd /work/ch1187/regiklim-work/<username>/regiklim-ces/plugins/
    git clone https://gitlab.dkrz.de/ch1187/plugins4freva/pet.git
  2. Install Prerequisites:

    After cloning the repository, install the required packages:

    cd pet
    source /etc/profile.d/modules.sh
    module use /sw/spack-levante/spack/modules
    module load cdo/2.2.2-gcc-11.2.0 nco/5.0.6-gcc-11.2.0
  3. Configure the Freva Instance:

    Use the following export command to make the plugin available in your Freva instance:

    export EVALUATION_SYSTEM_PLUGINS=/work/ch1187/regiklim-work/<username>/regiklim-ces/plugins/pet,pet-wrapper-api

Now, the plugin is ready to be used in your Freva instance.

Development and contribution

To use this in a development setup, clone the source code from gitlab, start the development server and make your changes:

git clone https://gitlab.dkrz.de/ch1187/plugins4freva/pet.git
cd pet
source /etc/profile.d/modules.sh
module use /sw/spack-levante/spack/modules
module load cdo/2.2.2-gcc-11.2.0 nco/5.0.6-gcc-11.2.0

In order to be able to run the given CI/CD-Pipelines two additional variables need to be defined within the repository:

Variable Key Description
ACCOUNT Project account to run the production test CI-job.
PROJECT_MODULE Name of project module which should be loaded

Technical note

This package has been generated from the template Freva Plugin Template.

See the template repository for instructions on how to update the skeleton for this package.

License information

Copyright © 2024 Brandenburgische Technische Universität Cottbus-Senftenberg

Code files in this repository are licensed under the BSD-3-Clause, if not stated otherwise in the file.

Documentation files in this repository are licensed under CC-BY-4.0, if not stated otherwise in the file.

Supplementary and configuration files in this repository are licensed under CC0-1.0, if not stated otherwise in the file.

Please check the header of the individual files for more detailed information.

License management

License management is handled with reuse. f you have any question on this plugin, please contact with freva@dkrz.de