* Bump ruff from 0.4.4 to 0.4.5 in /requirements
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.5)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* min version of numpy now supports type hints
* pre-commit: update ruff
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update config files
* Fix deviations
* Update requirements files
* Update CI
* Update devcontainer
* Update pre-commit
* Check Jupyter notebooks too
* Better safe than sorry
* Update docs
* Undo removal of mypy
* Test a bug
* Also format
* pre-commit: fix indentation
* Test a bug
* Fix the bug
* Run format too
* Fix typo
* mypy requires pytest
* Fix docs link
* Skip downloading an entry if it is not in the given pre-sampled list.
* Add warning message when skipping
---------
Co-authored-by: Michiaki Tatsubori <mich@mich-mbp5.local>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Bump mypy from 1.6.1 to 1.8.0 in /requirements
Bumps [mypy](https://github.com/python/mypy) from 1.6.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.6.1...v1.8.0)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix most type hints
* Fix rest of type hints
* Alternative fix
* Remove unused import
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Bump matplotlib from 3.8.0 to 3.8.1 in /requirements
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.8.0...v3.8.1)
---
updated-dependencies:
- dependency-name: matplotlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* plt.show now has type hints
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Bump matplotlib from 3.7.3 to 3.8.0 in /requirements
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.7.3 to 3.8.0.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.7.3...v3.8.0)
---
updated-dependencies:
- dependency-name: matplotlib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use canonical import location
* Use canonical import location
* Use canonical import location
* More type fixes
* More type fixes
* More type fixes
* More type fixes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* fix downloading success check bug
* fix downloading success check bug
* simplify fix
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add script to compute mean/std dev
* Isort fix
* Rename script
* Add multithreading
* Fix type hints
* Fix type hints
* Make chunksize a parameter
* Support uint8, separate band per file
* Ignore mypy
* Add min/max
* Compute using rasterio statistics
* Add license
* Remove unused param
* Reduce memory consumption
* Simpler way to access # bands
* Add progress bar
* Remove unused arg
* Channel-wise min/max
* Better formatting
* linewidth must be int
* Fix docstring, add size arg
* No need for sizes
* Black
* mypy fixes
---------
Co-authored-by: Caleb Robinson <caleb.robinson@microsoft.com>