Re: [GRASS-user] Issue with netcdf import into GRASS 7

2015-06-09 Thread Markus Neteler
On Tue, Jun 9, 2015 at 4:47 AM, Thomas Adams tea...@gmail.com wrote: All: Using the help found here: http://grasswiki.osgeo.org/wiki/NetCDF I have been able to import a netcdf file into GRASS 7, but the data is not scaled correctly. ... This is my import command: r.in.gdal

Re: [GRASS-user] Issue with netcdf import into GRASS 7

2015-06-09 Thread Thomas Adams
Markus, Thank you for the suggestion. Best, Tom On Tue, Jun 9, 2015 at 3:45 AM, Markus Neteler nete...@osgeo.org wrote: On Tue, Jun 9, 2015 at 4:47 AM, Thomas Adams tea...@gmail.com wrote: All: Using the help found here: http://grasswiki.osgeo.org/wiki/NetCDF I have been able to

Re: [GRASS-user] Issue with netcdf import into GRASS 7

2015-06-09 Thread Micha Silver
Hi Tom: These geo_em* netcdf files do not have any "proper" CRS information in the headers. So you indeed get a simple X-Y matrix with cellsize 1 when you try to import directly using GDAL. One of the ways to work around this (explained in NCAR's user

Re: [GRASS-user] Issue with netcdf import into GRASS 7

2015-06-09 Thread Thomas Adams
Micha, Thank you very much for your detailed help; I'll give these approaches a try and I'll let you know what I get. This is very helpful; thank you! I hope all is well. BTW, thank you for the book contribution!! Best, Tom On Tue, Jun 9, 2015 at 4:22 PM, Micha Silver mi...@arava.co.il wrote:

Re: [GRASS-user] Issue with netcdf import into GRASS 7

2015-06-09 Thread Thomas Adams
Micha, It looks like your first suggestion worked. I did, however, have to add -b 1 to the end of your line: gdal_translate -of AAIGrid NETCDF:geo_em.d02.nc:GREENFRAC greenfrac.asc -b 1 because I was getting the error: Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute Input file size is

[GRASS-user] Issue with netcdf import into GRASS 7

2015-06-08 Thread Thomas Adams
All: Using the help found here: http://grasswiki.osgeo.org/wiki/NetCDF I have been able to import a netcdf file into GRASS 7, but the data is not scaled correctly. My file is found here: https://drive.google.com/file/d/0B-Dmtz0DFEiubG5aYTk4TDZERXc/view?usp=sharing I created a GRASS LOCATION