[GRASS-user] Problems importing esri grids
Johannes Signer
j.m.signer at gmail.com
Thu Jun 9 09:23:50 EDT 2011
Dear All,
I am experiencing problems importing ESRI GRIDS into GRASS 6.4.0. I has
worked well before. Now when import (r.in.gdal) the the rasters the only
warning I get is:
WARNING: Fixing subtle input data rounding error of north boundary
(1.19996e-10>2.77778e-07)
but when I look at the rasters afterwards, they contain only nulls.
I checked the grids:
> gdalinfo A1B_2020_2049_cccma_cgcm3_1_t63_prec_2
Driver: AIG/Arc/Info Binary Grid
Files: A1B_2020_2049_cccma_cgcm3_1_t63_prec_2
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/w001001.adf
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/dblbnd.adf
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/w001001x.adf
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/log
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/prj.adf
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/hdr.adf
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/vat.adf
A1B_2020_2049_cccma_cgcm3_1_t63_prec_2/sta.adf
Size is 8640, 3600
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
Origin = (-180.000000000000000,90.000000000119996)
Pixel Size = (0.041666666666700,-0.041666666666700)
Corner Coordinates:
Upper Left (-180.0000000, 90.0000000) (180d 0' 0.00"W, 90d 0' 0.00"N)
Lower Left (-180.0000000, -60.0000000) (180d 0' 0.00"W, 60d 0' 0.00"S)
Upper Right ( 180.0000000, 90.0000000) (180d 0' 0.00"E, 90d 0' 0.00"N)
Lower Right ( 180.0000000, -60.0000000) (180d 0' 0.00"E, 60d 0' 0.00"S)
Center ( 0.0000000, 15.0000000) ( 0d 0' 0.00"E, 15d 0' 0.00"N)
Band 1 Block=256x4 Type=Int16, ColorInterp=Undefined
Min=0.000 Max=810.000
NoData Value=-32768
My grass environment:
g.proj -p
-PROJ_INFO-------------------------------------------------
name : Latitude-Longitude
datum : wgs84
towgs84 : 0.000,0.000,0.000
proj : ll
ellps : wgs84
-PROJ_UNITS------------------------------------------------
unit : degree
units : degrees
meters : 1.0
g.region -p
projection: 3 (Latitude-Longitude)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 90N
south: 60S
west: 180W
east: 180E
nsres: 0:02:30
ewres: 0:02:30
rows: 3600
cols: 8640
cells: 31104000
The grids display flawlessly in QGIS. Also converting them to *.asc or *.tif
using gdal_translate did not help to resolve the import problem into GRASS.
If any one has a hint where the problem could be, I would greatly appreciate
it.
Thanks
Johannes
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-importing-esri-grids-tp6457793p6457793.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list