Skip to content

Commit

Permalink
Merge pull request #35 from OPERA-Cal-Val/dev
Browse files Browse the repository at this point in the history
v0.0.10
  • Loading branch information
cmarshak authored Jun 19, 2024
2 parents a94f293 + 8d07db3 commit 7c09429
Show file tree
Hide file tree
Showing 14 changed files with 731 additions and 20 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ on:

jobs:
call-changelog-check-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.0
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.1
2 changes: 1 addition & 1 deletion .github/workflows/labeled-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ on:

jobs:
call-labeled-pr-check-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.1
2 changes: 1 addition & 1 deletion .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-release-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.1
with:
release_prefix: tile-stitcher
develop_branch: dev
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on: push

jobs:
call-flake8-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-flake8.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-flake8.yml@v0.11.1
with:
local_package_names: tile_mate

call-secrets-analysis-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.11.1

call-ruff-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-ruff.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-ruff.yml@v0.11.1
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-bump-version-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.1
with:
user: opera-pst-dev
email: opera-pst-dev@jpl.nasa.gov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
call-pytest-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.11.0
uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.11.1
with:
local_package_name: tile_mate
python_versions: >-
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.10]

### Added
* Added GLAD landcover and change from here: https://storage.googleapis.com/earthenginepartners-hansen/GLCLU2000-2020/v2/download.html
* Updated tests to check all datasets with years will fail with value error.
* Cap numpy at 2.0 due to this issue: https://github.com/unionai-oss/pandera/issues/1656 - here is the relevant PR: https://github.com/unionai-oss/pandera/pull/1690


## [0.0.9]

### Added
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ For development, use `pip` with `-e` (editable) mode:
python -m pip install -e .
```

Python 3.10+ is supported.
Python 3.9+ is supported.

# Notebooks

Expand Down Expand Up @@ -83,13 +83,14 @@ Out[2]: 'pekel_water_occ_2021',
'radd_deforestation_alerts_2022',
'hand'
```
These correspond to
+ Pekel: https://global-surface-water.appspot.com/download
More information about these datasets can be found below
+ Pekel water occurence: https://global-surface-water.appspot.com/download
+ ESA World Cover (10 m) for 2020 and 2021: https://aws.amazon.com/marketplace/pp/prodview-7oorylcamixxc
+ Hansen annual mosaic, treecover 2000, gain, and loss year: https://data.globalforestwatch.org/documents/941f17325a494ed78c4817f9bb20f33a/explore
+ S1 Coherence from December 2019 - Nov 2020: https://aws.amazon.com/marketplace/pp/prodview-iz6lnjbdlgcwa#resources
+ The copernicus 100 m LULC dataset from 2015 - 2019: https://land.copernicus.eu/global/content/annual-100m-global-land-cover-maps-available
+ Height above nearest drainage (distributed and generated by ASF) in 2021: https://github.com/asjohnston-asf/agu-2022-notebooks/blob/main/hand-notebook.ipynb (and their [tool](https://github.com/HydroSAR/HydroSAR/blob/develop/src/hydrosar/hand/prepare.py) to do the exact same thing)
+ RADD Deforestation alerts: https://data.globalforestwatch.org/datasets/gfw::deforestation-alerts-radd/about

See these [notebooks](notebooks/tile_creation) to see how these tiles are generated and organized.

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- ipykernel
- rasterio
- shapely
- numpy
- numpy<2.0
- matplotlib
- fiona
- geopandas
Expand Down
281 changes: 280 additions & 1 deletion notebooks/Basic_Demo.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 7c09429

Please sign in to comment.