Skip to content
Prev 22115 / 29559 Next

Raster projection alignment issues

Wade,

I was able to import the data into GRASS GIS (which uses gdal) without any
problems (ultimately); the issue you're having is that the ACTUAL map
projection is either not specified -OR- is specified as 'unprojected',
which is what I think is the case. In reality, the map projection is
latitude-longitude and the data is written that way within the netcdf file.
In GRASS GIS I simply imported the data (a 1-commandline step) directly
into a latitude-longitude GRASS GIS LOCATION, which I already had setup. I
tested by over-laying U.S. state boundaries, which align perfectly. That
the crs is defined as Albers Equal Area in the data set is CLEARLY an error.

Personally, I think you would be far better served to use something like
GRASS GIS for this kind of work; I have had a lot of success doing this.
One very nice feature is that GRASS GIS plays together with R wonderfully,
through the spgrass6 contributed package. Going this direction, allows one
to read/write GRASS raster and vector files into/from R and do any and all
the statistical manipulations you want. Additionally, I think for many
things, you'll find you don't need R, like simple data visualization and
most raster arithmetic.

Best,
Tom


On Fri, Dec 19, 2014 at 7:34 AM, Wall, Wade A ERDC-RDE-CERL-IL <
Wade.A.Wall at usace.army.mil> wrote: