Skip to content

Errors in warp radar.ipynb #4

@albhasan

Description

@albhasan

Great work. I found some issues in warp radar.ipynb:

  • Cell 3. Replace from rasterio.warp import reproject, RESAMPLING with
    from rasterio.warp import reproject and from rasterio.enums import Resampling
  • Cells 7 & 9 .Use with rasterio.Env(): instead of with rasterio.drivers(): because the latter is now deprecated.
  • Cell 8. Replace dst_shape = (height, width) with dst_shape = (int(height), width) to avoid a data type error in np.zeros
  • Cell 9. Replace resampling=RESAMPLING.nearest with resampling=Resampling.nearest

Bests!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions