#25734: Nodata value not excluded when computing GDALBand min/max values
-------------------------------------+-------------------------------------
     Reporter:  yellowcap            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  GIS                  |                  Version:  1.8
     Severity:  Normal               |               Resolution:
     Keywords:  raster gdal gis      |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by bmispelon):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 I'm getting a test failure on my local machine (Python 3.5.0, not sure
 what other versions would be relevant):
 {{{
 ======================================================================
 FAIL: test_band_data (gis_tests.gdal_tests.test_raster.GDALBandTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "./django/tests/gis_tests/gdal_tests/test_raster.py", line 323, in
 test_band_data
     (0.0, 9.0, 2.842331288343558, 2.3965567248965356)
 AssertionError: Tuples differ: (0.0, 9.0, 2.8423312883435643,
 2.396556724896537) != (0.0, 9.0, 2.842331288343558, 2.3965567248965356)

 First differing element 2:
 2.8423312883435643
 2.842331288343558

 - (0.0, 9.0, 2.8423312883435643, 2.396556724896537)
 ?                           ^^^                  ^

 + (0.0, 9.0, 2.842331288343558, 2.3965567248965356)
 ?                           ^^                  ^^


 ----------------------------------------------------------------------
 Ran 5 tests in 0.039s
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25734#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.f482f9066e57a8e239eea2cd8eae19c1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to