Hi Martin,<div><br></div><div>I&#39;ve attached the output below. Looks pretty good to me; let me know if something is amiss. Also, I dumped a GRD file that you can play with at <a href="http://www.mbari.org/staff/brian/pub/Monterey_UTM50.grd.zip">http://www.mbari.org/staff/brian/pub/Monterey_UTM50.grd.zip</a> . You can unzip it and try it out. You&#39;ll have to change the extension to .nc so that geotoolkit will read it.</div>
<div><br></div><div>Also, although the header on the ASC file didn&#39;t get written correctly, when I edited it and added the missing info it rendered just fine. So the only issue I&#39;m having is with the header.<br><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Its look like that the &quot;gridToCRS&quot; information is missing for some reason... Could you try the following please?<br>

<br>
System.out.println(gridGeometry);<br></blockquote><div><br></div><div><div><b>GridGeometry:</b></div><div>GridGeometry2D[GeneralGridEnvelope[0..5082, 0..4066], PARAM_MT[&quot;Affine&quot;, </div><div>  PARAMETER[&quot;num_row&quot;, 3], </div>
<div>  PARAMETER[&quot;num_col&quot;, 3], </div><div>  PARAMETER[&quot;elt_0_0&quot;, 50.0], </div><div>  PARAMETER[&quot;elt_0_2&quot;, 422985.2775983825], </div><div>  PARAMETER[&quot;elt_1_1&quot;, -50.0], </div><div>  PARAMETER[&quot;elt_1_2&quot;, 4118864.9067777675]]]</div>
</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
System.out.println(gridGeometry.gridToCRS);<br></blockquote><div><br></div><div><div><b>GridGeometry.gridToCRS:</b></div><div>PARAM_MT[&quot;Affine&quot;, </div><div>  PARAMETER[&quot;num_row&quot;, 3], </div><div>  PARAMETER[&quot;num_col&quot;, 3], </div>
<div>  PARAMETER[&quot;elt_0_0&quot;, 50.0], </div><div>  PARAMETER[&quot;elt_0_2&quot;, 422985.2775983825], </div><div>  PARAMETER[&quot;elt_1_1&quot;, -50.0], </div><div>  PARAMETER[&quot;elt_1_2&quot;, 4118864.9067777675]]</div>
</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
System.out.println(gridCoverage.sampleDimensions);<br></blockquote><div><br></div><div><b>GridCoverage.sampleDimensions</b>:</div><div>[RenderedSampleDimension[&quot;z&quot;]]</div><div> </div><div>Cheers</div></div>-- B<br>
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <br>Brian Schlining<br><a href="mailto:bschlining@gmail.com">bschlining@gmail.com</a><br>
</div>