Hi,
I’m trying to import some points from Postgres and convert it into raster using v.in.ogr and v.surf.idw
v.in.ogr dsn=“PG:host=tsf.noblis.org dbname=gis port=5433” layer=regcm.huss_monavg_2038 output=huss_monavg_2038_395_875 where=‘timestamp=395.875’
v.surf.idw input=huss_monavg_2038_395_875 column=huss output=rast_huss_monavg_2038_huss395_875
When I run the v.surf.idw, I get
13936 records selected from table
0 points loaded
ERROR: No data points found
When I try to view it in the map display, I see nothing yet I do see 13936 points which is the right number of points when I do v.info.
v.info huss_monavg_2038_395_875
Layer: huss_monavg_2038_395_875 |
| Mapset: PERMANENT |
| Location: RegCM-4269 |
| Database: /data/grassdata/echang |
| Title: |
| Map scale: 1:1 |
| Map format: native |
| Name of creator: echang |
| Organization: |
| Source date: Tue Jul 13 15:44:59 2010 |
|----------------------------------------------------------------------------|
| Type of Map: vector (level: 2) |
| |
| Number of points: 13936 Number of areas: 0 |
| Number of lines: 0 Number of islands: 0 |
| Number of boundaries: 0 Number of faces: 0 |
| Number of centroids: 0 Number of kernels: 0 |
| |
| Map is 3D: No |
| Number of dblinks: 1 |
| |
| Projection: Lat/Lon |
| N: 70:15:29.96521N S: 19:27:00.387268N |
| E: 35:43:20.669862W W: 157:42:49.097902W |
| |
| Digitization threshold: 0 |
| Comments: |
|
It is a large file so I tried making the region quite small
zone: 0
datum: nad83
ellipsoid: grs80
north: 70:15:29.96521N
south: 69N
west: 120W
east: 110W
nsres: 0:15:05.993042
ewres: 0:20
rows: 5
cols: 30
cells: 150
Is there a problem with the resolution? Any ideas?
Thanks,
Elizabeth
Elizabeth Chang
Lead
Noblis
3150 Fairview Park Drive Sourth
Falls Church, VA 22042
703-610-2321 (office)
Noblis
For the best of reasons