Band reference rules were totally relaxed 7 days a go: https://github.com/OSGeo/grass/commit/abe194dce78adf5f63885a6a09c452fc7ae4f735
New relaxed rule changes haven't propagated to the documentation yet (PR's welcome). Band reference editing via r.support was added on 4th of July: https://github.com/OSGeo/grass/commit/ca1551206eaa0fc462f4849a06ebb035808470da Still – keep in mind – there are no changes in band metadata as managed by g.bands. Changes only deal with ability to have a band reference without extended metadata in json files. Thus limitation of not being able to define your own band reference is still in place, now only you can assign a band reference without having a definition (and thus any extended metadata apart from its name). Māris. 2021-08-24 11:18 GMT+03:00, Stefan Blumentrath <stefan.blumentr...@nina.no>: > Thanks Maris for the reply. > > I could not find that option in r.support. > > i.band allows to add e.g. S2_12 as band reference, but nothing custom. And > the g.bands manual says that user-defined band references are not yet > supported. > > Has that been added recently? Or would I have to edit the bands json file of > the system first? > > My system is: > g.version -ger > version=8.0.dev > date=2021 > revision=dd9d36830 > build_date=2021-07-08 > build_platform=x86_64-pc-linux-gnu > build_off_t_size=8 > libgis_revision=d2a5e8e8f > libgis_date=2021-06-16T04:05:21+00:00 > proj=7.0.0 > gdal=3.0.4 > geos=3.8.0 > sqlite=3.22.0 > > Cheers > Stefan > > -----Original Message----- > From: Maris Nartiss <maris....@gmail.com> > Sent: tirsdag 24. august 2021 09:03 > To: Stefan Blumentrath <stefan.blumentr...@nina.no> > Cc: Martin Landa <landa.mar...@gmail.com>; Markus Metz > <markus.metz.gisw...@gmail.com>; GRASS developers list > <grass-dev@lists.osgeo.org> > Subject: Re: [GRASS-dev] lib/gis/band_reference.c ? > > GRASS supports arbitrary band reference names. Just make them unique enough > to not mix together apples with oranges by accident (e.g. "min" > is a bad idea, "min_t_c" is better; "NDVI" would work; "elevation" – bad, > "elevation_m" – better). > You can set band references after import with r.support module. > > Have fun, > Māris. > _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev