[GRASS-git] [OSGeo/grass] 4f5477: r3.out.netcdf: Use current major version in histor...

Vaclav Petras noreply at github.com
Wed Feb 15 12:14:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 4f5477c401a74e4bb7adbf30df9c0f15bf56b42e
      https://github.com/OSGeo/grass/commit/4f5477c401a74e4bb7adbf30df9c0f15bf56b42e
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M raster3d/r3.out.netcdf/main.c
    M raster3d/r3.out.netcdf/r3.out.netcdf.html

  Log Message:
  -----------
  r3.out.netcdf: Use current major version in history attribute (#2342)

r3.out.netcdf creates a netCDF file with attribute history which contains software. This removes the hard-coded software version information and uses the current major version instead for the history text. It uses fairly general macros to encapsulate stringification to avoid complex code needed to use snprintf.

The documentation contains the output, so the version should be there, but I removed it from the examples to avoid the need for updates (making the documentation little less precise).




More information about the grass-commit mailing list