<div class="gmail_quote">On Thu, Nov 4, 2010 at 10:42 AM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, <br><br><div class="gmail_quote"><div class="im">On Thu, Nov 4, 2010 at 11:34 AM, Joey Mukherjee <span dir="ltr"><<a href="mailto:joeymu@gmail.com" target="_blank">joeymu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for posting this example Aashish! <br><br>I have some NetCDF data files that I would like to overlay over the Earth and be able to extract subsets from them and the like. To get this same type of visualization, can I make use of the Geo classes? </blockquote>
<div><br></div></div><div>Probably need more detail on exactly what you are trying to do but in general you should be able to use Geo* classes for the purpose above.</div><div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does the have to be a texture map or can I use any kind of regularized image data?<div>
<br></div></blockquote></div><div>Can you elaborate this? </div></div></blockquote><div><br></div><div>I have some NetCDF files which are described as follows:</div><div><br></div><div>netcdf test {</div><div>dimensions:</div>
<div> x = 5760 ;</div><div> y = 2880 ;</div><div>variables:</div><div> float x(x) ;</div><div> x:long_name = "x" ;</div><div> x:actual_range = 0., 360. ;</div><div>
float y(y) ;</div><div> y:long_name = "y" ;</div><div> y:actual_range = -90., 90. ;</div><div> float z(y, x) ;</div><div> z:long_name = "z" ;</div>
<div> z:_FillValue = NaNf ;</div><div> z:actual_range = -9.04707336425781, 10.6143484115601 ;</div><div><br></div><div>// global attributes:</div><div> :Conventions = "COARDS/CF-1.0" ;</div>
<div> :GMT_version = "4.3.1 [64-bit]" ;</div><div> :node_offset = 1 ; </div><div><br></div><div>The X/Y are long/lat respectively, with the z being the scalar values. I would like to overlay this file and others onto a globe and specify just portions of the map to view. vtkNetCDFCFReader will output an image (I believe), but its the part of mapping it to the globe which gets me. I can't just convert an image to a texture map, can I? </div>
<div><br></div><div>You can see that this is a pretty high resolution (5760x2880) dataset so I'd like to just look at portions of the dataset to save time.</div><div><br></div><div>Thanks,</div><div>Joey</div></div>