Hi Martin,<div><br></div><div>I'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'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't get written correctly, when I edited it and added the missing info it rendered just fine. So the only issue I'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 "gridToCRS" 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["Affine", </div><div> PARAMETER["num_row", 3], </div>
<div> PARAMETER["num_col", 3], </div><div> PARAMETER["elt_0_0", 50.0], </div><div> PARAMETER["elt_0_2", 422985.2775983825], </div><div> PARAMETER["elt_1_1", -50.0], </div><div> PARAMETER["elt_1_2", 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["Affine", </div><div> PARAMETER["num_row", 3], </div><div> PARAMETER["num_col", 3], </div>
<div> PARAMETER["elt_0_0", 50.0], </div><div> PARAMETER["elt_0_2", 422985.2775983825], </div><div> PARAMETER["elt_1_1", -50.0], </div><div> PARAMETER["elt_1_2", 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["z"]]</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>