https://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-04-08T09:19:38ZQGIS Issue TrackingQGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1037942019-04-08T09:19:38ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>it works as expected here: when you d&d the 3 band raster on the canvas a dialog shows asking what band you want to load. You must select at least one. If you don't select any band then you gets the error.</p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038132019-04-09T04:26:46Zgiu masgiumas@yahoo.it
<ul><li><strong>File</strong> <a href="/attachments/download/14762/qgis-bin_2019-04-09_00-22-03.png">qgis-bin_2019-04-09_00-22-03.png</a> added</li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>I have attempted the same process (d&d the 3 band raster) on different Windows machines.</p>
<p>The result is always the same error (screenshot attached).</p>
<p>Are you running QGIS as it comes from OSGEO4W64? Or do you have active some dev-specific settings? This would explain why it works on your machine.</p>
<p><img src="https://issues.qgis.org/attachments/download/14762/qgis-bin_2019-04-09_00-22-03.png" title="QGIS error" alt="QGIS error" /></p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038262019-04-09T15:38:39ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>giu mas wrote:</p>
<blockquote>
<p>I have attempted the same process (d&d the 3 band raster) on different Windows machines.</p>
</blockquote>
<p>I tried on Linux (Ubuntu 18.04). You should also do (I can't test on Windows right now), so we can say if the problem is platform dependent. <br />It could also depend on the version of GDAL being used.</p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038312019-04-09T17:19:45Zgiu masgiumas@yahoo.it
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li><li><strong>File</strong> <a href="/attachments/download/14769/osgeolive12_qgis-dev.png">osgeolive12_qgis-dev.png</a> added</li></ul><p>My Ubuntu 18.04 steps:</p>
<p>- Download the latest OSGeoLive (12) VM.<br />- Update the software repositories with <a class="external" href="https://qgis.org/ubuntu-nightly">https://qgis.org/ubuntu-nightly</a>.<br />- Install QGIS: sudo apt-get install qgis python3-qgis qgis-plugin-grass<br />- Drag and drop gdal_3bands.nc.</p>
<p>Unfortunately, I got the same error:</p>
<p><img src="https://issues.qgis.org/attachments/download/14769/osgeolive12_qgis-dev.png" title="QGIS error on Ubuntu" alt="QGIS error on Ubuntu" /></p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038322019-04-09T17:30:13ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><blockquote>
<p>Unfortunately, I got the same error (attached).</p>
</blockquote>
<p>what is the GDAL version used (you see it in the QGIS "about")?</p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038332019-04-09T17:40:55Zgiu masgiumas@yahoo.it
<ul><li><strong>File</strong> <a href="/attachments/download/14770/osgeolive12_qgis_about.png">osgeolive12_qgis_about.png</a> added</li></ul><p>2.2.3 on Ubuntu</p>
<p><img src="https://issues.qgis.org/attachments/download/14770/osgeolive12_qgis_about.png" title="QGIS about on Ubuntu" alt="QGIS about on Ubuntu" /></p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038342019-04-09T17:44:34Zgiu masgiumas@yahoo.it
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li><li><strong>File</strong> <a href="/attachments/download/14771/osgeo4w64_qgis_about.png">osgeo4w64_qgis_about.png</a> added</li></ul><p>2.4.0 on Windows</p>
<p><img src="https://issues.qgis.org/attachments/download/14771/osgeo4w64_qgis_about.png" title="QGIS about on Windows 10" alt="QGIS about on Windows 10" /></p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038362019-04-09T19:02:37ZJürgen Fischerjef@norbit.de
<ul><li><strong>Description</strong> updated (<a href="/journals/diff/103836?detail_id=94045" title="View differences">diff</a>)</li></ul> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038902019-04-10T16:40:59ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Error in reading netCDF with multiple bands</i> to <i>Error in reading netCDF with multiple bands on Windows</i></li></ul><p>Yeah I can see it on Windows... but on Linux definitely works here.</p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038942019-04-10T17:03:11Zgiu masgiumas@yahoo.it
<ul></ul><p>Mmm... I disagree since it does not work on my OSGeolive VM (I can share the VM with you).</p>
Furthermore, there are tickets on potentially the same issue:
<ul>
<li><a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/20921" title="Cannot load netcdf files into QGIS 3.4.3 (Closed)">#20921</a> (got closed for lack of feedback) on Linux</li>
<li><a class="issue tracker-1 status-4 priority-4 priority-" href="https://issues.qgis.org/issues/21648" title="Cannot open netCDF file in QGIS 3.4.5 (Feedback)">#21648</a> (waiting for feedback) on Mac</li>
</ul> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038952019-04-10T17:07:32ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>giu mas wrote:</p>
<blockquote>
<p>Mmm... I disagree since it does not work on my OSGeolive VM (I can share the VM with you).</p>
</blockquote>
<p>I can download myself if needed.</p>
<blockquote>
Furthermore, there are tickets on potentially the same issue:
<ul>
<li><a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/20921" title="Cannot load netcdf files into QGIS 3.4.3 (Closed)">#20921</a> (got closed for lack of feedback) on Linux</li>
<li><a class="issue tracker-1 status-4 priority-4 priority-" href="https://issues.qgis.org/issues/21648" title="Cannot open netCDF file in QGIS 3.4.5 (Feedback)">#21648</a> (waiting for feedback) on Mac</li>
</ul>
</blockquote>
<p>just saying that on my linux box(es), with that gdal version, it works.</p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1038982019-04-10T17:14:20Zgiu masgiumas@yahoo.it
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>giu mas wrote:</p>
<blockquote>
<p>Mmm... I disagree since it does not work on my OSGeolive VM (I can share the VM with you).</p>
</blockquote>
<p>I can download myself if needed.</p>
</blockquote>
<p>My VM would have the issue that I am talking about. The default OSGeolive has QGSI 2.18, thus I have installed in it QGIS 3-dev (I have described my steps in a previous post.)</p>
<blockquote><blockquote>
Furthermore, there are tickets on potentially the same issue:
<ul>
<li><a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/20921" title="Cannot load netcdf files into QGIS 3.4.3 (Closed)">#20921</a> (got closed for lack of feedback) on Linux</li>
<li><a class="issue tracker-1 status-4 priority-4 priority-" href="https://issues.qgis.org/issues/21648" title="Cannot open netCDF file in QGIS 3.4.5 (Feedback)">#21648</a> (waiting for feedback) on Mac</li>
</ul>
</blockquote>
<p>just saying that on my linux box(es), with that gdal version, it works.</p>
</blockquote>
<p>I am only afraid that the title modification implies that the issue has been identified as Windows-only. In reality, there is evidence of the contrary after that I have followed your suggestion to run QGIS 3-dev on Linux.</p> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1039002019-04-10T17:15:48ZJürgen Fischerjef@norbit.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-5 priority-" href="/issues/21822">Bug report #21822</a>: Cannot load multivariable netcdf files</i> added</li></ul> QGIS Application - Bug report #21783: Error reading netCDF with multiple bandshttps://issues.qgis.org/issues/21783?journal_id=1039012019-04-10T17:16:57ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Error in reading netCDF with multiple bands on Windows</i> to <i>Error reading netCDF with multiple bands</i></li></ul>