<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Nicolas,
<div class=""><br class="">
</div>
<div class="">Thank you so much for the idea! </div>
<div class="">We are using xarray to create NetCDF files, but I will look into using Gdal to set the band labels.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Masha</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 15, 2022, at 18:08, Nicolas Cadieux <<a href="mailto:njacadieux.gitlab@gmail.com" class="">njacadieux.gitlab@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">Hi again!
<div class=""><br class="">
<div class="">After line 786 in this code <a href="https://urldefense.us/v3/__https://gitlab.com/njacadieux/3dcloud-hyperspectralfusion__;!!PvBDto6Hs4WbVuu7!cNcN3liTe-9BImHjeT1TbqoevvQwq9zr9hLikJY7oCc4PEP2C7W7jQyLgHT3YvDkK6jYsmE$" class="">https://gitlab.com/njacadieux/3dcloud-hyperspectralfusion</a> you
will find various tags that you can add. This can give you ideas.<br class="">
<br class="">
<div dir="ltr" class="">Nicolas Cadieux
<div class=""><a href="https://urldefense.us/v3/__https://gitlab.com/njacadieux__;!!PvBDto6Hs4WbVuu7!cNcN3liTe-9BImHjeT1TbqoevvQwq9zr9hLikJY7oCc4PEP2C7W7jQyLgHT3YvDk1lpl3ZI$" class="">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr" class=""><br class="">
<blockquote type="cite" class="">Le 15 févr. 2022 à 17:48, Liukis, Maria (US 398K) <<a href="mailto:maria.liukis@jpl.nasa.gov" class="">maria.liukis@jpl.nasa.gov</a>> a écrit :<br class="">
<br class="">
</blockquote>
</div>
<blockquote type="cite" class="">
<div dir="ltr" class=""> Hello,
<div class=""><br class="">
</div>
<div class="">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?</div>
<div class="">When I view Symbology -> Band for the layer it is rendered as empty:</div>
<div class=""><br class="">
</div>
<div class="">Band 1: sensors=</div>
<div class="">Band 2: sensors=</div>
<div class="">Band 3: sensors=</div>
<div class=""><br class="">
</div>
<div class="">Though all three labels are provided in the source NetCDF as “sensors" dimension:</div>
<div class=""><br class="">
</div>
<div class="">
<pre style="box-sizing: unset; line-height: var(--jp-code-line-height); border: none; margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; overflow: auto; word-break: break-all; word-wrap: break-word; caret-color: rgba(0, 0, 0, 0.87);" class=""><font face="Helvetica" class="">['S1A_S1B', 'S2A_S2B', 'L8_L9’]</font></pre>
<pre style="box-sizing: unset; line-height: var(--jp-code-line-height); border: none; margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; overflow: auto; word-break: break-all; word-wrap: break-word; caret-color: rgba(0, 0, 0, 0.87);" class=""><font face="Helvetica" class=""><br class=""></font></pre>
<pre style="box-sizing: unset; line-height: var(--jp-code-line-height); border: none; margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; overflow: auto; word-break: break-all; word-wrap: break-word; caret-color: rgba(0, 0, 0, 0.87);" class=""><font face="Helvetica" class="">Panoply has no problems displaying the band labels.</font></pre>
<div class=""><br class="">
</div>
</div>
<div class="">I am using QGIS Release 3.14 on OS X.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Masha</div>
<div class=""><br class="">
</div>
<span class="">_______________________________________________</span><br class="">
<span class="">Qgis-user mailing list</span><br class="">
<span class=""><a href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a></span><br class="">
<span class="">List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" class="">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br class="">
<span class="">Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" class="">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br class="">
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>