<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle22
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Please note, this thread is continued at
<a href="https://protect-au.mimecast.com/s/RMxeC0YKPviMkRr1CwolGl?domain=discourse.gplates.org">
https://discourse.gplates.org/t/exporting-high-resolution-reconstructed-rasters/109?u=john.cannon</a><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"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> GPlates-discuss <gplates-discuss-bounces@mailman.sydney.edu.au>
<b>On Behalf Of </b>John Cannon<br>
<b>Sent:</b> Thursday, 20 February 2020 8:15 PM<br>
<b>To:</b> Thomas Schaap <thomas.schaap@utas.edu.au>; GPlates general discussion mailing list <gplates-discuss@mailman.sydney.edu.au><br>
<b>Subject:</b> Re: [GPlates-discuss] Exporting high-resolution reconstructed rasters<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Might be graphics driver related. Can you send me a repro privately (the original raster, export bounds, etc; and your OS version and graphics card model)?  I can look into it next week
 when back from hols, just to be sure it's not a GPlates bug.<o:p></o:p></span></p>
<div id="ms-outlook-mobile-signature">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Sent while away from keyboard<o:p></o:p></p>
</div>
<div id="id-33863c60-3b44-449c-bc8a-d52cdad6e3af">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><strong><span style="font-family:"Calibri",sans-serif">From:</span></strong> Thomas Schaap <<a href="mailto:thomas.schaap@utas.edu.au">thomas.schaap@utas.edu.au</a>><br>
<strong><span style="font-family:"Calibri",sans-serif">Sent:</span></strong> Wednesday, 19 February 2020, 10:55 am<br>
<strong><span style="font-family:"Calibri",sans-serif">To:</span></strong> John Cannon; GPlates general discussion mailing list<br>
<strong><span style="font-family:"Calibri",sans-serif">Subject:</span></strong> Re: Exporting high-resolution reconstructed rasters<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Hi again,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Thank you for your inputs. As always when I ask for help on these problems I found that I hadn't been doing it properly. I wasn't properly setting the exported region (it's
 not a global dataset). This significantly cut down the size of the export to the point where GPlates will now allow me to export the data at its original resolution. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">The trouble I'm having now is that the exported raster looks to contain only certain parts of the data, as if the export process has cut the raster into segments and then
 left some of them out. It's hard to describe so I've attached a screenshot to describe what I'm talking about. The grayscale area is the reconstructed raster I'm trying to export as displayed in GPlates, and the green areas are the exported raster when I import
 it back in (it's the same result when I look at it in other GIS packages). This doesn't happen for lower resolution exports.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Has anyone seen this behaviour before? Any advice? <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Tom<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper">
<div id="divtagdefaultwrapper">
<p><b><span style="font-size:8.0pt;color:#006FC9">Thomas Schaap</span></b><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">PhD Candidate | Casual Academic Staff</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">CODES | Earth Sciences | Rm. 460</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">School of Natural Sciences</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">University of Tasmania</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><img border="0" width="150" height="143" style="width:1.5625in;height:1.4895in" id="f7f6a15c-069a-473e-aa7f-9f4af8f99027" src="cid:image001.gif@01D609FD.6C2A0F80"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> GPlates-discuss <<a href="mailto:gplates-discuss-bounces@mailman.sydney.edu.au">gplates-discuss-bounces@mailman.sydney.edu.au</a>> on behalf of Michael Chin <<a href="mailto:michael.chin@sydney.edu.au">michael.chin@sydney.edu.au</a>><br>
<b>Sent:</b> 19 February 2020 13:24<br>
<b>To:</b> John Cannon <<a href="mailto:john.cannon@sydney.edu.au">john.cannon@sydney.edu.au</a>>; GPlates general discussion mailing list <<a href="mailto:gplates-discuss@mailman.sydney.edu.au">gplates-discuss@mailman.sydney.edu.au</a>><br>
<b>Subject:</b> Re: [GPlates-discuss] Exporting high-resolution reconstructed rasters</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Hi Tom,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Could you please double check the resolution of your original raster? If the tif file is only 43M, it is unlikely the resolution can be so high as 0.0005 degree, which is a 720000x360000 raster,
 unless the raster contains very sparse data. If the resolution of the original raster is not that high, it is not necessary to export it as <span style="background:white">0.0005 degree. The export can only be as good as the original one.</span><o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> GPlates-discuss <<a href="mailto:gplates-discuss-bounces@mailman.sydney.edu.au">gplates-discuss-bounces@mailman.sydney.edu.au</a>> on behalf of John Cannon <<a href="mailto:john.cannon@sydney.edu.au">john.cannon@sydney.edu.au</a>><br>
<b>Sent:</b> Wednesday, 19 February 2020 11:53 AM<br>
<b>To:</b> GPlates general discussion mailing list <<a href="mailto:gplates-discuss@mailman.sydney.edu.au">gplates-discuss@mailman.sydney.edu.au</a>><br>
<b>Subject:</b> Re: [GPlates-discuss] Exporting high-resolution reconstructed rasters</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Hi Tom,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Wow, that's a big raster!  I'm surprised GPlates didn't trip up reconstructing that.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">When exporting rasters we currently pass raster data to the image drivers as a single 'uncompressed' memory buffer. Hence the terabyte. Whereas the original tiff is highly compressed.
 Maybe with some of the 'tiled' image formats we could export differently in GPlates in the future, but that would involve some rearranging of things and would be quite low priority.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">The 0.01 degree you successfully exported is near the 32-bit limit. You might be able to go higher with a 64-bit Windows build (assuming you're using a 32-bit build; Mac and Linux are
 already 64-bit).<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">John<o:p></o:p></span></p>
<div id="x_x_ms-outlook-mobile-signature">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Sent while away from keyboard<o:p></o:p></p>
</div>
<div id="x_x_id-c24a258c-8722-4774-a2c7-d0ea7da60a2e">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_x_divRplyFwdMsg">
<p class="MsoNormal"><strong><span style="font-family:"Calibri",sans-serif">From:</span></strong> GPlates-discuss <<a href="mailto:gplates-discuss-bounces@mailman.sydney.edu.au">gplates-discuss-bounces@mailman.sydney.edu.au</a>> on behalf of Thomas Schaap <<a href="mailto:thomas.schaap@utas.edu.au">thomas.schaap@utas.edu.au</a>><br>
<strong><span style="font-family:"Calibri",sans-serif">Sent:</span></strong> Tuesday, 18 February 2020, 9:08 am<br>
<strong><span style="font-family:"Calibri",sans-serif">To:</span></strong> GPlates general discussion mailing list<br>
<strong><span style="font-family:"Calibri",sans-serif">Subject:</span></strong> [GPlates-discuss] Exporting high-resolution reconstructed rasters<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Hi everyone,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">I am trying to export a high-resolution (0.0005 degree cellsize) numerical raster which I have reconstructed using GPlates. I would ideally like to keep this resolution,
 but the GPlates console gives me this:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<blockquote style="margin-left:30.0pt;margin-right:0cm">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">ERROR 2: Cannot allocate 1036800000000 bytes on this platform.<o:p></o:p></span></p>
</div>
</blockquote>
<blockquote style="margin-left:30.0pt;margin-right:0cm">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">[Warning] Unable to create in-memory dataset for writing rasters.<o:p></o:p></span></p>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Now please correct me if I misunderstand what's going on here, but the original TIF file was only 43 megabytes, yet GPlates is asking for 1
<i>terabyte</i> of memory? The lowest cellsize I have been allowed to export is 0.01 degrees.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Is there something I am misunderstanding about the raster export process? Is there some way around this?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Thanks in advance!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Tom<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div id="x_x_Signature">
<div id="x_x_divtagdefaultwrapper">
<div id="x_x_divtagdefaultwrapper">
<p><b><span style="font-size:8.0pt;color:#006FC9">Thomas Schaap</span></b><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">PhD Candidate | Casual Academic Staff</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">CODES | Earth Sciences | Rm. 460</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">School of Natural Sciences</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;color:#006FC9">University of Tasmania</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><img border="0" width="150" height="143" style="width:1.5625in;height:1.4895in" id="_x0036_1edcbe5-98cd-4e87-bdbb-923fb84c13bf" src="cid:image001.gif@01D609FD.6C2A0F80"><o:p></o:p></span></p>
</div>
</div>
<p style="line-height:10.0pt"><span style="font-size:10.0pt"><br>
<br>
University of Tasmania Electronic Communications Policy (December, 2014). <br>
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained
 in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>