<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="PT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Yes, I know that and I also had crossed with that HDF error (nc and HDF libs must be in sync building) but that nc file clearly has its issues. Both Matlab and HDF-Explorer confirm that
and even GDAL touches it. See<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">gdalinfo AROME_OPER_001_FC_SP_PT2_025_RH_2-HTGL_2020102000.nc<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Which is not true. The “Conventions” attribute it’s there but something is wrong with its string value (but not only “Conventions”, at least “long_name” suffers from the same).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Pedro Venâncio <pedrongvenancio@gmail.com>
<br>
<b>Sent:</b> Tuesday, October 20, 2020 4:13 PM<br>
<b>To:</b> Joaquim Manuel Freire Luís <jluis@ualg.pt><br>
<b>Cc:</b> qgis-developer <qgis-developer@lists.osgeo.org>; gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> Re: [gdal-dev] QGIS from OSGeo4W crashes with latest update on NetCDF<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Joaquim Luís,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This is an IPMA NetCDF, it was working before the update.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">And I think it is in fact a HDF5 library version problem: <o:p>
</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">> gdalinfo AROME_OPER_001_FC_SP_PT2_025_RH_2-HTGL_2020102000.nc<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Warning 1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid argument".<br>
Warning! ***HDF5 library version mismatched error***<br>
The HDF5 header files used to compile this application do not match<br>
the version used by the HDF5 library to which this application is linked.<br>
Data corruption or segmentation faults may occur if the application continues.<br>
This can happen when an application was compiled by one version of HDF5 but<br>
linked with a different version of static or shared HDF5 library.<br>
You should recompile the application or check your shared library related<br>
settings such as 'LD_LIBRARY_PATH'.<br>
You can, at your own risk, disable this warning by setting the environment<br>
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.<br>
Setting it to 2 or higher will suppress the warning messages totally.<br>
Headers are 1.10.4, library is 1.10.5<br>
SUMMARY OF THE HDF5 CONFIGURATION<br>
=================================<br>
<br>
General Information:<br>
-------------------<br>
HDF5 Version: 1.10.5<br>
Configured on: 2020-10-19<br>
Configured by: Visual Studio 14 2015 Win64<br>
Host system: Windows-10.0.19041<br>
Uname information: Windows<br>
Byte sex: little-endian<br>
Installation point: D:/src/osgeo4w64/src/hdf5/osgeo4w/install-x86_64<br>
<br>
Compiling Options:<br>
------------------<br>
Build Mode:<br>
Debugging Symbols:<br>
Asserts:<br>
Profiling:<br>
Optimization Level:<br>
<br>
Linking Options:<br>
----------------<br>
Libraries:<br>
Statically Linked Executables: OFF<br>
LDFLAGS: /machine:x64<br>
H5_LDFLAGS:<br>
AM_LDFLAGS:<br>
Extra libraries:<br>
Archiver:<br>
Ranlib:<br>
<br>
Languages:<br>
----------<br>
C: yes<br>
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe 19.0.24215.1<br>
CPPFLAGS:<br>
H5_CPPFLAGS:<br>
AM_CPPFLAGS:<br>
CFLAGS: /DWIN32 /D_WINDOWS /W3<br>
H5_CFLAGS:<br>
AM_CFLAGS:<br>
Shared C Library: YES<br>
Static C Library: YES<br>
<br>
Fortran: OFF<br>
Fortran Compiler:<br>
Fortran Flags:<br>
H5 Fortran Flags:<br>
AM Fortran Flags:<br>
Shared Fortran Library: YES<br>
Static Fortran Library: YES<br>
<br>
C++: ON<br>
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe 19.0.24215.1<br>
C++ Flags: /DWIN32 /D_WINDOWS /W3 /GR /EHsc<br>
H5 C++ Flags:<br>
AM C++ Flags:<br>
Shared C++ Library: YES<br>
Static C++ Library: YES<br>
<br>
JAVA: OFF<br>
JAVA Compiler:<br>
<br>
Features:<br>
---------<br>
Parallel HDF5: OFF<br>
Parallel Filtered Dataset Writes:<br>
Large Parallel I/O:<br>
High-level library: ON<br>
Threadsafety: ON<br>
Default API mapping: v110<br>
With deprecated public symbols: ON<br>
I/O filters (external): DEFLATE DECODE<br>
MPE:<br>
Direct VFD:<br>
dmalloc:<br>
Packages w/ extra debug output:<br>
API Tracing: OFF<br>
Using memory checker: OFF<br>
Memory allocation sanity checks: OFF<br>
Function Stack Tracing: OFF<br>
Strict File Format Checks: OFF<br>
Optimization Instrumentation:<br>
Bye...<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Joaquim Manuel Freire Luís <<a href="mailto:jluis@ualg.pt">jluis@ualg.pt</a>> escreveu no dia terça, 20/10/2020 à(s) 15:36:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">But I do find something strange in that nc file. Mirone (Matlab independent nc loader) errors when trying to load it because of the “Conventions” attribute and
HDF-Explorer says it’s a “4-byte null-terminated ASCII string” when in fact that attribute has 6-bytes</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">“CF-1.5”</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Joaquim Manuel Freire Luís
<br>
<b>Sent:</b> Tuesday, October 20, 2020 3:00 PM<br>
<b>To:</b> 'Pedro Venâncio' <<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>>; qgis-developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>>;
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<b>Subject:</b> RE: [gdal-dev] QGIS from OSGeo4W crashes with latest update on NetCDF</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Pedro,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Probably a netcdf lib related issue. I have a very fresh GDAL build (from yesterday’s master) and can access that file. Either from GDAL or GMT, but my nc lib
has not been updated for some time (which is not so bad as nc has had a couple of issues in recent past).</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> gdal-dev <<a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>>
<b>On Behalf Of </b>Pedro Venâncio<br>
<b>Sent:</b> Tuesday, October 20, 2020 1:58 PM<br>
<b>To:</b> qgis-developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>>;
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<b>Subject:</b> [gdal-dev] QGIS from OSGeo4W crashes with latest update on NetCDF</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Sorry about the cross posting but today, after the update of OSGeo4W to qgis-dev 3.15.0-82, I get a QGIS crash both with qgis-dev, qgis-ltr-dev 3.10.10-3 and qgis-rel-dev 3.14.16-3.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I've only looked at Desktop updates and so I cannot say what libs were updated at the same time.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The crash happens when I try to open some NetCDF file (for instance
<a href="http://mf2.ipma.pt/downloads/?latest=arome.2m.relative_humidity®ion=PT2" target="_blank">
http://mf2.ipma.pt/downloads/?latest=arome.2m.relative_humidity®ion=PT2</a> ) as raster file, as mesh layer or simply when I open a folder with a NetCDF file inside Browser.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">This is something like this one:
<a href="https://issues.qgis.org/issues/21162" target="_blank">https://issues.qgis.org/issues/21162</a>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">As it only happens with QGIS "-dev" versions, I believe it can be related with GDAL 3.2.0dev, but I cannot say what version I had before this update, maybe from one week or two
ago. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Can someone reproduce?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Another issue with QGIS "-dev" versions is related to GRASS. I get this error message on QGIS initialization, and then I cannot, for instance, create a new mapset with GRASS Plugin:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p style="margin:0in;white-space:pre-wrap">GRASS init error: Problem in GRASS initialization, GRASS provider and plugin will not work : Module built against version 8bcecc9a6 but trying to use version d8fbd49af. You need to rebuild GRASS GIS or untangle multiple
installations.<o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap"> <o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap">I can open two different tickets, but I'm not certain about the right place to open them.<o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap"> <o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap">Thanks!<o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap"> <o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap">Best regards,<o:p></o:p></p>
<p style="margin:0in;white-space:pre-wrap">Pedro Venâncio<o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>