Hi,<div><br></div><div>The netCDF is read using scipy.io.netcdf and each coordinate pair and "pixel" value is inserted into a table.</div><div>Then the user can add a geometry column and update it according to coordinate pair.</div>
<div>I would love to be able to read netcdf using the raster2pgsql.py, but i am not sure if that will be implemented though.</div><div><br></div><div>Andreas<br><br><div class="gmail_quote">2011/11/15 Mateusz Łoskot <span dir="ltr"><<a href="mailto:mateusz@loskot.net">mateusz@loskot.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>It looks like a custom structure, not PostGIS really.<br></p>
<p>cur.execute("CREATE TABLE precipud19002008 (gid serial PRIMARY KEY not null, year int, month int, lon decimal, lat decimal, prec decimal);")</p>
<p>-- <br><font color="#888888">
Mateusz Łoskot<br>
Sent from my mobile (excuse me for not quoting or top-posting possible)</font></p>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br></div>