[GRASS-dev] [GRASS GIS] #3498: Can't open NetCDF file

GRASS GIS trac at osgeo.org
Sat Feb 17 03:53:53 PST 2018


#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
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------

Comment (by mankoff):

 And the reason the projection is slightly different than your `gdalinfo`
 output is because since I posted the file I realized I need to set the
 `-a` flag to `g.region` so that the resolution is not rounded to a strange
 number. My `gdalinfo` output contains:

 {{{
   polar_stereographic#false_easting=0
   polar_stereographic#false_northing=0
   polar_stereographic#GeoTransform=-655000 5000 0 -630000 0 -5000
   polar_stereographic#grid_mapping_name=polar_stereographic
   polar_stereographic#inverse_flattening=298.257223563
   polar_stereographic#latitude_of_projection_origin=90
   polar_stereographic#longitude_of_prime_meridian=0
   polar_stereographic#long_name=CRS definition
   polar_stereographic#semi_major_axis=6378137
   polar_stereographic#spatial_ref=PROJCS[
   polar_stereographic#standard_parallel=70
   polar_stereographic#straight_vertical_longitude_from_pole=-45
 }}}

 Note that regardless of this, I'm using the `-o` flag to `r.in.gdal`, and
 it works in grass 7.2.0. I thought the `-o` flag means the projection
 information, which may or may not be present and/or correct, is ignored.

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



More information about the grass-dev mailing list