#3498: Can't open NetCDF file
---------------------+-------------------------
 Reporter:  mankoff  |      Owner:  grass-dev@…
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  7.4.1
Component:  Default  |    Version:  7.4.0
 Keywords:           |        CPU:  Unspecified
 Platform:  MacOSX   |
---------------------+-------------------------
 In GRASS 7.2.2 I can read a netCDF file:

 {{{
 r.in.gdal -o input=netCDF:${ROOT}/MOD6_2000.nc:gld band=1 output=tmp --o
 WARNING: Over-riding projection check
 Proceeding with import of 366 raster bands...
 Importing raster map <tmp>...
 }}}

 In GRASS 7.4.0, I cannot:

 {{{
 r.in.gdal -o input=netCDF:${ROOT}/MOD6_2000.nc:gld band=1 output=tmp --o
 ERROR 10: Pointer 'hSRS' is NULL in 'OSRIsProjected'.

 ERROR 10: Pointer 'hSRS' is NULL in 'OSRIsGeographic'.

 Input contains an invalid SRS. WKT definition:
 PROJCS[
 WARNING: Unable to convert input map projection information to GRASS
          format.
 }}}

 Same file, same GRASS location.

 Google finds 0 results for the string "Pointer 'hSRS' is NULL in
 'OSRIsProjected'", so I'm not even sure what project (GRASS, proj, gdal)
 might be causing this problem. Sample file is attached.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3498>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to