我正在准备一个与天气可视化相关的项目。 我有一些.csv文件(100行,120列),其中包含我国测量的天气数据,每个单元代表具有某些特定值(例如温度或风速)的点。 这些文件可能被视为覆盖我整个国家的经纬度点集合(事实上,每隔5英里测量一次)。 我想转换数据并将地图上的值放在一些天气可视化图像中,包括2d和3d,尤其是热图或hightmaps。 我想知道哪种技术是最好的。 我正在考虑openGL,但所有纹理映射和绘制操作对我来说都显得有些困难(但也许它们不是)。 我也在考虑制作Java小程序,但有许多Java图形库,我不知道最适合我的要求。 也许所有这些事情都可以在XNA中完成,这很好,因为我主要是用C#编程的。 如果一些更有经验的程序员可以推荐我适当的语言和库,我会很高兴。 您将如何使工作变得简单高效?
I'm preparing for a project related to weather visualization. I have some .csv files (100 rows, 120 colums) that contain weather data measured in my country where each cell represents a point with some specific values e.g. temperature or wind speed. Those files may be perceived as sets of points of latitude and longitude that covers my whole country (in fact the values are measured every 5 miles). I'd like to transformed the data and put the values on maps to make some weather visualizations, both 2d and 3d, especially heatmaps or hightmaps. I'm wondering which technology is the best for that. I was thinking of openGL, but all the textures mapping and drawing operations seem a bit difficult to me (but maybe they're not). I'm also considering making Java applets but there are many Java graphics libraries and I don't know wich one is the best for my requirements. Maybe all those things are possible to do in XNA, whcih would be great, because I'm programming mainly in C#. I'd be glad if some more experienced programmers could recommend me an appropriate language and libraries. What would you use to make the work easy and efficient?
最满意答案
OpenGL只是绘制程序的铅笔和纸张。 虽然当然可以使用OpenGL,但我强烈建议使用现成的可视化工具,如Origin,Matlab Visualization,R的可视化模块等。
如果您更关注可视化编程工具包的方向,请查看VTK http://www.vtk.org/
但是对于该任务而言,裸露的OpenGL:只有在您“流利地说OpenGL”时才值得推荐。
OpenGL is just the pencil and paper for program to draw things with. While it certainly is possible to use OpenGL for this, I strongly suggest using an off the shelf visualization tool, like Origin, Matlab Visualization, visualization modules of R, etc.
If you're more looking in the direction of a visualization programming toolkit, have a look at VTK http://www.vtk.org/
But naked OpenGL for that task: Only recommendable if you "speak OpenGL fluently".
更多推荐
发布评论