[Qgis-user] [EXTERNAL] Is it possible to display strings as band labels in QGIS?
Liukis, Maria (US 398K)
maria.liukis at jpl.nasa.gov
Tue Feb 15 18:16:56 PST 2022
Hi Nicolas,
Thank you so much for the idea!
We are using xarray to create NetCDF files, but I will look into using Gdal to set the band labels.
Thanks,
Masha
On Feb 15, 2022, at 18:08, Nicolas Cadieux <njacadieux.gitlab at gmail.com<mailto:njacadieux.gitlab at gmail.com>> wrote:
Hi again!
After line 786 in this code https://gitlab.com/njacadieux/3dcloud-hyperspectralfusion<https://urldefense.us/v3/__https://gitlab.com/njacadieux/3dcloud-hyperspectralfusion__;!!PvBDto6Hs4WbVuu7!cNcN3liTe-9BImHjeT1TbqoevvQwq9zr9hLikJY7oCc4PEP2C7W7jQyLgHT3YvDkK6jYsmE$> you will find various tags that you can add. This can give you ideas.
Nicolas Cadieux
https://gitlab.com/njacadieux<https://urldefense.us/v3/__https://gitlab.com/njacadieux__;!!PvBDto6Hs4WbVuu7!cNcN3liTe-9BImHjeT1TbqoevvQwq9zr9hLikJY7oCc4PEP2C7W7jQyLgHT3YvDk1lpl3ZI$>
Le 15 févr. 2022 à 17:48, Liukis, Maria (US 398K) <maria.liukis at jpl.nasa.gov<mailto:maria.liukis at jpl.nasa.gov>> a écrit :
Hello,
I am QGIS newbie and have troubles getting our NetCDF format data to display band names, which are strings, in QGIS. So my question is it possible to have band labels, which are strings, to be displayed in QGIS?
When I view Symbology -> Band for the layer it is rendered as empty:
Band 1: sensors=
Band 2: sensors=
Band 3: sensors=
Though all three labels are provided in the source NetCDF as “sensors" dimension:
['S1A_S1B', 'S2A_S2B', 'L8_L9’]
Panoply has no problems displaying the band labels.
I am using QGIS Release 3.14 on OS X.
Thanks,
Masha
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220216/7e3118d7/attachment.html>
More information about the Qgis-user
mailing list