Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump rasterio from 1.0.13 to 1.0.14 #84

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 27, 2019

Bumps rasterio from 1.0.13 to 1.0.14.

Changelog

Sourced from rasterio's changelog.

1.0.14 (2019-01-22)

  • The _CRS class has been refactored so that a WKT representation, rather than
    PROJ4 representation, is the canonical form. This resolves issues #1397 and
    #1587 specifically, and an entire category of issues discussed in
    https://rasterio.groups.io/g/dev/message/68.
  • Native support for Google Cloud Storage using "gs://" URLs has been added
    (#1577).
  • On entering a dataset context (DatasetBase.enter) a new anonymous GDAL
    environment is created if needed and is entered. This makes with rasterio.open(...) as dataset: roughly equivalent to with rasterio.open(...) as dataset, Env():. This helps prevent bugs when datasets
    are created and then used later or are used in different scopes.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 27, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #88.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/rasterio-1.0.14 branch February 3, 2019 23:22
weiji14 added a commit that referenced this pull request Feb 11, 2019
Revert #89 to fix broken unit tests on the get_window_bounds and selective_tile functions in data_prep.ipynb. I've tracked it down to an incorrect affine output from dataset.transform. Seems to be a 'bug' introduced in rasterio version 1.0.14 (see #84), something with how the GDAL env is now set?

Also smallfix to remove read_table deprecation warning in pandas 0.24 (see #89), replacing with read_csv instead.
weiji14 added a commit that referenced this pull request Feb 11, 2019
Revert #90 to fix broken unit tests on the get_window_bounds and selective_tile functions in data_prep.ipynb. I've tracked it down to an incorrect affine output from dataset.transform. Seems to be a 'bug' introduced in rasterio version 1.0.14 (see #84), something with how the GDAL env is now set?

Also smallfix to remove read_table deprecation warning in pandas 0.24 (see #89), replacing with read_csv instead.
weiji14 added a commit that referenced this pull request Jun 4, 2019
Adjusting the bounding box positions of (some) tiles by half a pixel (roughly 500m). Fixed a poorly written unit test for the data_prep.get_window_bounds function introduced in ab0295e right before release v0.4.0, and refactored the function to make it work correctly with newer libraries. Strangely enough, after recreating the geojson tiles, the coordinate changes are only for the Operation Ice Bridge/CRESIS Basler and TO grids, and we still have exactly 2347 tiles!

Specifically, we've switched from using xarray.open_rasterio to xarray.open_dataarray as xarray's rasterio backend fails to read NetCDF georeferencing information properly with rasterio >= 1.0.14 (see #84). The projection information is monkey-patched into the xarray grid using salem. Most important bit is to ensure that we go from xarray's centre-based pixel coordinate system to rasterio's corner-based pixel coordinate system (accomplished with dataset.salem.grid.corner_grid) via a manually set Affine transformation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants