Hi,

The netCDF is read using scipy.io.netcdf and each coordinate pair and
"pixel" value is inserted into a table.
Then the user can add a geometry column and update it according to
coordinate pair.
I would love to be able to read netcdf using the raster2pgsql.py, but i am
not sure if that will be implemented though.

Andreas

2011/11/15 Mateusz Łoskot <[email protected]>

> It looks like a custom structure, not PostGIS really.
>
> cur.execute("CREATE TABLE precipud19002008 (gid serial PRIMARY KEY not
> null, year int, month int, lon decimal, lat decimal, prec decimal);")
>
> --
> Mateusz Łoskot
> Sent from my mobile (excuse me for not quoting or top-posting possible)
>
> _______________________________________________
> postgis-users mailing list
> [email protected]
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to