<div dir="ltr"><div style class="markdown-here-wrapper"><p style="margin:1.2em 0px!important">Hi - </p>
<p style="margin:1.2em 0px!important">I have some .mdl files from IDL with .hdr header files that I’d like to convert to netcdf.<br>The following code produces a netcdf file with a subdataset for each band in the mdl file. Is there any way to define the bands as the time dimension, in this case 4416 hourly timesteps?</p><p style="margin:1.2em 0px!important">Or is there another tool that can convert this?<br></p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:none repeat scroll 0% 0% rgb(248,248,248)" class="hljs language-bash">gdal_translate -of NetCDF swe.mdl <a href="http://swe.nc">swe.nc</a>
</code></pre>Thanks<br>Dominik</div></div>