<div dir="ltr">OK, I get it now.<div><br></div><div>So the "filename" to open is the exact SUBDATASET_X_NAME string from the metadata. It seems you can safely omit the quotes (at least in the case of this file), which is perhaps part of my confusion.<div><br></div><div>Sorry, that makes sense in hindsight.</div><div><br></div><div>Thank you, as ever, for your prompt assistance!</div><div><br></div><div>Simon<br><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 21, 2023 at 3:35 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
<div>This seems like a bug. It should still be able to
recognize and open the file without the type hint, whether
or not you provide a sub-dataset suffix.</div>
</div>
</div>
</blockquote>
This is not a bug. This is intended. Subdatasets have a specific
syntax. Valid subdataset names are the ones reported under the
SUBDATASET metadata domain.<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
<div>Our system generally relies heavily on GDAL's
usually-reliable ability to recognize file types and load
anything without such hints, so having to provide that as
well will be undesirable.</div>
</div>
</div>
</blockquote>
This is generally true for the first level of access to a file, but
once you want a specific part (name it "variable", etc), you have to
comply with the nomenclature of each driver.<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Simon Eves
<div>Senior Rendering Engineer</div>
<div>+1 (415) 902-1996<br>
<a href="mailto:simon.eves@heavy.ai" target="_blank">simon.eves@heavy.ai</a></div>
<div><span>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><a href="http://www.heavy.ai" target="_blank"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(17,85,204);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:156px;height:29px"><img src="https://lh4.googleusercontent.com/mzi9GaXA9r6isEqIx5nIYx0oQnpZtzBnF19Pu83MUBPDvp_rpcQXv55z-IZcQrybunkhKf6mXNJjIQinIbkHTigssDxIks_tXAaV1aDQzVT8FpE1wOn3MW0W_iiTnDjVZzMUNgs" style="margin-left: 0px; margin-top: 0px;" width="156" height="29"></span></span></a></p>
</span></div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div>