<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Are you also able to load data via the GDAL driver?<br>
      If so you could then try to show nodata using raster styling.<br>
      <br>
      e.g.: make sure that Nodata is not set to transparent: go to the
      raster's layer properties -> transparency, untick nodata value.<br>
      Then style in symbology settings.<br>
      <br>
      Best regards,<br>
      Aron<br>
       <br>
    </p>
    <div class="moz-cite-prefix">On 04-09-2023 09:57, Richard
      Duivenvoorde via QGIS-Developer wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:d0c9e8656b46ab29b3d034e2a97fcdb5@duif.net">Hi,
      <br>
      <br>
      My colleague is creating netcdf as output of some other modelling
      software, and viewing/styling it in QGIS.
      <br>
      <br>
      In some places the modelling software goes awry and produces NaN's
      in de netcdf.
      <br>
      <br>
      Anybody an idea to create a visualisation (in QGIS) to find out
      WHICH part/cell's contain a NaN?
      <br>
      <br>
      output of ncdump:
      <br>
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0,·
      <br>
          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NaNf, NaNf,
      NaNf, 0, 0,·
      <br>
          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0,·
      <br>
          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0,·
      <br>
          0, 0, 0, 0, 0, 0,
      <br>
      <br>
      Found:
<a class="moz-txt-link-freetext" href="https://github.com/lutraconsulting/MDAL/blob/master/mdal/frmts/mdal_netcdf.cpp#L100-L102">https://github.com/lutraconsulting/MDAL/blob/master/mdal/frmts/mdal_netcdf.cpp#L100-L102</a><br>
      <br>
      So apparently in MDAL this becomes
      "std::numeric_limits<double>::quiet_NaN"
      <br>
      <br>
      But how to find these in QGIS?
      <br>
      <br>
      Looking in Layer Styling I could use non-numbes (like None, NaN or
      whatever) in the inputs.
      <br>
      Same in Mesh calculator.
      <br>
      <br>
      Any idea appreciated!
      <br>
      <br>
      Regards,
      <br>
      <br>
      Richard Duivenvoorde
      <br>
      <br>
      _______________________________________________
      <br>
      QGIS-Developer mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
      <br>
      List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
      <br>
      Unsubscribe:
      <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
      <br>
    </blockquote>
    <div class="moz-signature">-- <br>
      <title>Email Signature</title>
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Kind Regards,<br>
      <br>
      Aron Gergely<br>
      +31 (0) 6 38 70 97 66<br>
      <br>
      <b>Rasterra</b> | <ahref="https: www.rasterra.nl"=""><a class="moz-txt-link-abbreviated" href="http://www.rasterra.nl">www.rasterra.nl</a><a><br>
        </a></ahref="https:></div>
  </body>
</html>