Ryan Grout

Results 106 comments of Ryan Grout
trafficstars

@sgillies The `Extent` idea seems interesting. I want to think on it a little more, but my initial thought is what if rasterio went a step further and superseded BoundingBox...

Does this mean that rasterio merge should return a MemoryDataset instead of ndarray?

@sgillies I totally understand the desire to make the API small and functional. These functions emerged after writing several raster processing utilities where it was critical to process the raster...

The most useful functionality here, `subdivide` is now in rasterio. Closing this for now.

I've been investigating my thoughts for a VirtualDataset over the last couple of days. @sgillies I hope I'm not misunderstanding the goal of such a class. I gather that you...

@MattReimer this is strange indeed. The ValueError seems to indicate that 'float32' is trying to be interpreted as an integer. What is puzzling is that this `in_dtype_range` function exists in...

Original Cython generated code (this is executed for each iteration): ``` /* "fiona/_geometry.pyx":135 * part = OGR_G_GetGeometryRef(geom, j) * code = base_geometry_type_code(OGR_G_GetGeometryType(part)) * if code in ( #

I was able to build my own version of richdem and produce a coredump with a generated test case. The backtrace is pointing to this particular line. https://github.com/r-barnes/richdem/blob/c5a183ada30fbd1b8587121e0d313b4cda9390c0/include/richdem/flowmet/OCallaghan1984.hpp#L26C3-L26C29 ``` #0...

Test case: ```python import numpy as np import richdem k = np.random.rand(11999, 20000).astype('float32') rd = richdem.rdarray(k, no_data=-999) rd.geotransform = (1.0, 0, 0, 0, 1.0, 0) richdem.FlowProportions(rd, method='D8') ```

After playing with this some more, I'm wondering if maybe the culprit is in the python bindings. I'm able to process my DEM with the standalone executables that richdem builds.