Project

General

Profile

OpenBSD port imported

Added by Marco van Hulten 2 months ago

There is now an OpenBSD port of CDO:

$ cdo -V
Climate Data Operators version 2.5.3 (https://mpimet.mpg.de/cdo)
System: x86_64-unknown-openbsd7.8
CXX Compiler: c++ -std=gnu++20 -O2 -pipe  -pthread
CXX version : OpenBSD clang version 19.1.7
CXX library :
C Compiler: cc -O2 -pipe  -pthread -pthread
C version : OpenBSD clang version 19.1.7
F77 Compiler:  -g -O2
Features: 11GB 8threads c++20 pthreads HDF5 NC4/HDF5 dap udunits2 sse2
Libraries: yac/3.4.0 NetCDF/4.9.3 HDF5/1.14.6
CDI data types: SizeType=size_t
CDI file types: srv ext ieg grb1 grb2 nc1 nc2 nc4 nc4c nc5 nczarr 
     CDI library version : 2.5.3
 cgribex library version : 2.3.1
 ecCodes library version : 2.44.66
  NetCDF library version : 4.9.3 of Sep  8 2025 20:13:30 $
    exse library version : 2.0.0
    FILE library version : 1.9.1

The GRIB-2 support comes from ecCodes (geo/eccodes), another port recently imported into the tree.


Replies (3)

RE: OpenBSD port imported - Added by Marco van Hulten 2 months ago

Oh and GRIB-1 support is leveraged through HDF5 (updated port math/hdf5) that links to archivers/libaec (another new port).

I also linked to the existing port math/udunits2.
Where is this used in CDO?

RE: OpenBSD port imported - Added by Uwe Schulzweida about 2 months ago

The udunits2 library is optionally used to convert the units with the operators setpartabn and cmorlite.

RE: OpenBSD port imported - Added by Marco van Hulten about 2 months ago

That's useful, I'll leave this feature in. I think the port has a useful set of features. Otherwise, CDO users on OpenBSD will find me as the package maintainer.

    (1-3/3)