Generic multispectral system:
Landsat-5:
Landsat-7:
Landsat-8:
Sentinel-2:
Band references to be printed can be filtered by a search pattern (or fully defined band reference identifier) which can be specified by pattern option. For pattern syntax see Python regular expression operations documentation. By default, i.band.library prints all available band references.
Extended metadata (central wavelength, spatial resolution, etc.) is printed only when the -e flag is given.
Band references are a special case (a subset) of semantic labels. Any string can be a semantic label but strings identifying specific remote sensing platform bands (=band references) can have additional metadata managed by i.band.library. Specific band reference can be assigned to a raster map as a semantic label by r.semantic.label or r.support modules.
Semantic label concept is supported by temporal GRASS modules, see t.register, t.rast.list, t.info and t.rast.mapcalc modules for examples.
{ "Sentinel2": { "description": "The Sentinel-2 A/B bands", "shortcut": "S2", "instruments": "MultiSpectral Instrument (MSI) optical and infrared", "launched": "23 June 2015 (A); 07 March 2017 (B)", "source": "https://sentinel.esa.int/web/sentinel/missions/sentinel-2", "bands": { "1": { "Sentinel 2A" : { "central wavelength (nm)": 443.9, "bandwidth (nm)": 27 }, "Sentinel 2B" : { "central wavelength (nm)": 442.3, "bandwidth (nm)": 45 }, "spatial resolution (meters)": 60, "tag": "Visible (Coastal/Aerosol)" }, "2": { "Sentinel 2A" : { "central wavelength (nm)": 496.6, "bandwidth (nm)": 98 }, "Sentinel 2B" : { "central wavelength (nm)": 492.1, "bandwidth (nm)": 98 }, "spatial resolution (meters)": 10, "tag": "Visible (Blue)" } } } }
Band reference identifier defined by pattern option is given by a shortcut in order to print band reference information for whole series or by specific shortcut_band identifier.
System-defined registry files are located in GRASS GIS installation directory ($GISBASE/etc/i.band.library). Note that currently i.band.library allows managing only system-defined registry files. Support for user-defined registry files is planned to be implemented, see KNOWN ISSUES section for details.
i.band.library S2_1 Visible (Coastal/Aerosol) S2_2 Visible (Blue) ... L7_1 Visible (Blue) L7_2 Visible (Green) ... L8_1 Visible (Coastal/Aerosol) L8_2 Visible (Blue) ...
i.band.library pattern=S2 S2_1 Visible (Coastal/Aerosol) ... S2_12 SWIR 2
i.band.library pattern=.*_2 S2_2 Visible (Blue) L7_2 Visible (Green) L8_2 Visible (Blue) ...
i.band.library -e pattern=S2_1 description: The Sentinel-2 A/B bands shortcut: S2 instruments: MultiSpectral Instrument (MSI) optical and infrared launched: 23 June 2015 (A); 07 March 2017 (B) source: https://sentinel.esa.int/web/sentinel/missions/sentinel-2 band: 1 Sentinel 2A: central wavelength (nm): 443.9 bandwidth (nm): 27 Sentinel 2B: central wavelength (nm): 442.3 bandwidth (nm): 45 spatial resolution (meters): 60 tag: Visible (Coastal/Aerosol)
Only very limited number of band references is currently defined, namely Sentinel-2, Landsat7, and Landsat8 satellites. This will be improved in the near future.
Available at: i.band.library source code (history)
Latest change: Thursday Jan 26 14:10:26 2023 in commit: cdd84c130cea04b204479e2efdc75c742efc4843
Main index | Imagery index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 8.3.dev Reference Manual