From: Landry Breuil Subject: Re: [new] geo/nco To: Marco van Hulten Cc: ports@openbsd.org Date: Fri, 5 Dec 2025 18:41:01 +0100 Le Fri, Dec 05, 2025 at 05:42:35PM +0100, Marco van Hulten a écrit : > With NCO you can manipulate and analyse netCDF and similar files. It is > a useful addition to to tools that are already there. > > So you could do this: > > wget https://cluster.klima.uni-bremen.de/~fmaussion/teaching/climate/CERES_EBAF-Surface_Ed4.1_Clim-2005-2015.nc > ncdump -h CERES_EBAF-Surface_Ed4.1_Clim-2005-2015.nc | head > ncrename -d month,mo CERES_EBAF-Surface_Ed4.1_Clim-2005-2015.nc > ncdump -h CERES_EBAF-Surface_Ed4.1_Clim-2005-2015.nc | head > > to rename the time axis. > > Apropos, geo/cdo has some of the same functionality, but it is designed > to handle data variables, not meta information like axes names, so > geoscientists will quickly be looking for something like NCO. > > OK to add this? from a first look, you'll need at least fixing the proper versionning for the @so that should be @lib with the version, and a BDEP on print/texinfo. @so lib/libnco-5.3.6.so -> that doesnt use the 0.0 from SHARED_LIBS. Landry (as the de-facto maintainer of geo/ i'm globally positive in adding this even if i never encountered/never had to deal with netcdf files at work)