[GRASS-user] netCDF import via r.in.gdal

Markus Neteler neteler at osgeo.org
Fri Apr 10 12:13:26 EDT 2009


Hi Luigi,

On Fri, Apr 10, 2009 at 4:39 PM, Luigi Ponti <lponti at infinito.it> wrote:
> Hi there,
>
> I don't seem to be able to import netCDF via r.in.gdal in grass-6.4.0RC3
> osgeo4w version running on XP sp3.
>
> GRASS 6.4.0RC3 (UTM32):C:\ >r.in.gdal input=SRF_1958.AVG.NC
> output=SRF_1958.AVG location=ERA40_SRF
> Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute
> Location <ERA40_SRF> created
> ERROR: Selected band (1) does not exist
>
> Is this something that I should be able to manage to do? GRASS complains
> about bands -- the file includes georeferenced daily climate variables. The
> file opens OK in viewers such as Panoply
> <http://www.giss.nasa.gov/tools/panoply/>. Is there anything I am missing?

The netCDF support depends on GDAL (not on GRASS). I had limited
success so far.. Is the map in question available?

Here are a series of issues listed:
http://trac.osgeo.org/gdal/wiki/NetCDF

Perhaps it is worthwhile to report the problem in the appropriate ticket
if reproducible.

Markus


More information about the grass-user mailing list