test_r_in_gdal

./raster/r.in.gdal – test_r_in_gdal

Test failed

Testtest_r_in_gdal
Testsuite./raster/r.in.gdal
Test file./raster/r.in.gdal/testsuite/test_r_in_gdal.py
StatusFAILED
Return code1
Number of tests11
Successful tests7
Failed tests4
Percent successful64%
Test duration0:00:02.263112
Tested modulesr.in.gdal

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
FFFF.......
======================================================================
FAIL: test_1 (__main__.TestGdalImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.gdal/testsuite/test_r_in_gdal.py", line 29, in test_1
    output="test_gdal_import_map")
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Import GTiff Format 
Running <r.in.gdal> module ended with non-zero return code (1)
Called: r.in_gdal(input='data/elevation.tif', output='test_gdal_import_map', memory=300, offset=0, num_digits=0)
See the following errors:
ERROR: Projection of dataset does not appear to match current location.

Location PROJ_INFO is:
name: Universal Transverse Mercator
proj: utm
datum: wgs84
ellps: wgs84
zone: 32
no_defs: defined

Dataset PROJ_INFO is:
name: Lambert Conformal Conic
datum: nad83
ellps: grs80
proj: lcc
lat_1: 36.16666666666666
lat_2: 34.33333333333334
lat_0: 33.75
lon_0: -79
x_0: 609601.22
y_0: 0
no_defs: defined

ERROR: 
In case of no significant differences in the projection definitions, use the -o flag to ignore them and use current location definition.
Consider generating a new location from the input dataset using the 'location' parameter.



======================================================================
FAIL: test_2 (__main__.TestGdalImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.gdal/testsuite/test_r_in_gdal.py", line 54, in test_2
    output="test_gdal_import_map")
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Import GTiff Format 
Running <r.in.gdal> module ended with non-zero return code (1)
Called: r.in_gdal(input='data/elevation.tiff', output='test_gdal_import_map', memory=300, offset=0, num_digits=0)
See the following errors:
ERROR: Projection of dataset does not appear to match current location.

Location PROJ_INFO is:
name: Universal Transverse Mercator
proj: utm
datum: wgs84
ellps: wgs84
zone: 32
no_defs: defined

Dataset PROJ_INFO is:
name: Lambert Conformal Conic
datum: nad83
ellps: grs80
proj: lcc
lat_1: 36.16666666666666
lat_2: 34.33333333333334
lat_0: 33.75
lon_0: -79
x_0: 609601.22
y_0: 0
no_defs: defined

ERROR: 
In case of no significant differences in the projection definitions, use the -o flag to ignore them and use current location definition.
Consider generating a new location from the input dataset using the 'location' parameter.



======================================================================
FAIL: test_3 (__main__.TestGdalImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.gdal/testsuite/test_r_in_gdal.py", line 79, in test_3
    output="test_gdal_import_map")
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Import AAIGrid Format 
Running <r.in.gdal> module ended with non-zero return code (1)
Called: r.in_gdal(input='data/elevation.asc', output='test_gdal_import_map', memory=300, offset=0, num_digits=0)
See the following errors:
ERROR: Projection of dataset does not appear to match current location.

Location PROJ_INFO is:
name: Universal Transverse Mercator
proj: utm
datum: wgs84
ellps: wgs84
zone: 32
no_defs: defined

Dataset PROJ_INFO is:
name: Lambert_Conformal_Conic
datum: nad83
ellps: grs80
proj: lcc
lat_1: 36.16666666666666
lat_2: 34.33333333333334
lat_0: 33.75
lon_0: -79
x_0: 609601.22
y_0: 0
no_defs: defined

ERROR: 
In case of no significant differences in the projection definitions, use the -o flag to ignore them and use current location definition.
Consider generating a new location from the input dataset using the 'location' parameter.



======================================================================
FAIL: test_4 (__main__.TestGdalImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.gdal/testsuite/test_r_in_gdal.py", line 104, in test_4
    output="test_gdal_import_map")
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Import netCDF Format 
Running <r.in.gdal> module ended with non-zero return code (1)
Called: r.in_gdal(input='data/elevation.nc', output='test_gdal_import_map', memory=300, offset=0, num_digits=0)
See the following errors:
ERROR: Projection of dataset does not appear to match current location.

Location PROJ_INFO is:
name: Universal Transverse Mercator
proj: utm
datum: wgs84
ellps: wgs84
zone: 32
no_defs: defined

Dataset PROJ_INFO is:
name: Lambert Conformal Conic
datum: nad83
ellps: grs80
proj: lcc
lat_1: 36.16666666666666
lat_2: 34.33333333333334
lat_0: 33.75
lon_0: -79
x_0: 609601.22
y_0: 0
no_defs: defined

ERROR: 
In case of no significant differences in the projection definitions, use the -o flag to ignore them and use current location definition.
Consider generating a new location from the input dataset using the 'location' parameter.



----------------------------------------------------------------------
Ran 11 tests in 1.492s
FAILED (failures=4)