How To Install dballe on Ubuntu 20.04

In this tutorial we learn how to install dballe on Ubuntu 20.04. dballe is Database for point-based meteorological data (Command line tools)

Introduction

In this tutorial we learn how to install dballe on Ubuntu 20.04.

What is dballe

dballe is:

DB-All.e is a fast on-disk database where meteorological observed and forecast data can be stored, searched, retrieved and updated.

This framework allows one to manage large amounts of data using its simple Application Program Interface, and provides tools to visualise, import and export in the standard formats BUFR, and CREX.

The main characteristics of DB-ALL.e are:

  • Fortran, C, C++ and Python APIs are provided.
  • To make computation easier, data is stored as physical quantities, that is, as measures of a variable in a specific point of space and time, rather than as a sequence of report.
  • Internal representation is similar to BUFR and CREX WMO standard (table code driven) and utility for import and export are included (generic and ECMWF template).
  • Representation is in 7 dimensions: latitude and longitude geographic coordinates, table driven vertical coordinate, reference time, table driven observation and forecast specification, table driven data type.
  • It allows one to store extra information linked to the data, such as confidence intervals for quality control.
  • It allows one to store extra information linked to the stations.
  • Variables can be represented as real, integer and characters, with appropriate precision for the type of measured value.
  • It is based on physical principles, that is, the data it contains are defined in terms of homogeneous and consistent physical data. For example, it is impossible for two incompatible values to exist in the same point in space and time.
  • It can manage fixed stations and moving stations such as airplanes or ships.
  • It can manage both observational and forecast data.
  • It can manage data along all three dimensions in space, such as data from soundings and airplanes.
  • Report information is preserved. It can work based on physical parameters or on report types.

There are three methods to install dballe on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install dballe Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install dballe using apt-get by running the following command:

sudo apt-get -y install dballe

Install dballe Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dballe using apt by running the following command:

sudo apt -y install dballe

Install dballe Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install dballe using aptitude by running the following command:

sudo aptitude -y install dballe

How To Uninstall dballe on Ubuntu 20.04

To uninstall only the dballe package we can use the following command:

sudo apt-get remove dballe

Uninstall dballe And Its Dependencies

To uninstall dballe and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove dballe

Remove dballe Configurations and Data

To remove dballe configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge dballe

Remove dballe configuration, data, and all of its dependencies

We can use the following command to remove dballe configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dballe

References

Summary

In this tutorial we learn how to install dballe package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.