Server for the Free Evaluation and Analysis Framework (Freva)
copied from cf-staging / freva-rest-serverFreva (Free Evaluation System Framework) is a comprehensive platform designed to support researchers, especially in the atmospheric and climate science communities, in managing, searching, and analyzing large-scale datasets. It bridges the gap between data centers and user-defined tools, promoting efficient, reproducible, and collaborative research workflows.
Freva is ideal for:
Whether you are analyzing climate model output, satellite observations, or observational data, Freva simplifies your workflow with its intuitive interface and robust backend services.
Setting up Freva involves deploying the necessary services and configuring them for your environment. Below is a high-level overview:
Prerequisites ~~~~~~~~~~~~~
Installation ~~~~~~~~~~~~
Install Freva using the Conda package manager:
conda create -n freva-nextgen -c conda-forge freva-nextgen
conda activate freva-nextgen
The system requires various background services. These can be found in:
$CONDA_PREFIX/share/systemd/<SERVICE>.service
Enable and start the services as follows:
cp $CONDA_PREFIX/share/freva-rest-server/systemd/solr.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable solr
sudo systemctl start solr
Modify the configuration file
($CONDA_PREFIX/share/freva-rest-server/config.ini
) to adjust the
restAPI and service settings.
If you prefer to use systemd services at the user level
(e.g., in ~/.local/share/systemd/user/
),
ensure that systemd lingering is enabled for the user.
You can enable lingering with the following command:
sudo loginctl enable-linger <USER-NAME>
This allows user-level services to continue running after the user logs out.
Running the Freva REST Server ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Start the REST server using:
freva-rest-server
This command launches the API endpoints that power Freva’s services, enabling you to interact with data and tools seamlessly.
Freva is designed for: