Skip to content

Commit

Permalink
Release version 1.4.1, Merge pull request #623 from sentinel-hub/develop
Browse files Browse the repository at this point in the history
Release version 1.4.1
  • Loading branch information
zigaLuksic authored Mar 14, 2023
2 parents 7d6af0d + 876b243 commit c796a8e
Show file tree
Hide file tree
Showing 160 changed files with 3,328 additions and 2,406 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ jobs:

- name: Run mypy
run: |
mypy core/eolearn/core
mypy coregistration/eolearn/coregistration
mypy geometry/eolearn/geometry
mypy features/eolearn/features
mypy mask/eolearn/mask
mypy ml_tools/eolearn/ml_tools
mypy visualization/eolearn/visualization
mypy \
core/eolearn/core \
coregistration/eolearn/coregistration \
geometry/eolearn/geometry \
features/eolearn/features \
io/eolearn/io \
mask/eolearn/mask \
ml_tools/eolearn/ml_tools \
visualization/eolearn/visualization
test-on-github:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -116,7 +118,7 @@ jobs:
pytest -m "not sh_integration"
- name: Upload code coverage
if: ${{ matrix.full_test_suite }}
if: ${{ matrix.full_test_suite && github.event_name == 'push' }}
uses: codecov/codecov-action@v2
with:
files: coverage.xml
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ docs/_build/
# PyBuilder
target/

# Jupyter Notebook
# Jupyter Notebook, Jupyter Lab
.ipynb_checkpoints
.jupyter

# pyenv
.python-version
Expand Down
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ repos:
- id: debug-statements

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/pycqa/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
name: isort (python)

- repo: https://github.com/PyCQA/autoflake
rev: v2.0.0
rev: v2.0.1
hooks:
- id: autoflake
args:
Expand All @@ -40,13 +40,13 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-comprehensions
- flake8-simplify
- flake8-typing-imports
- flake8-bugbear==23.2.13
- flake8-comprehensions==3.10.1
- flake8-simplify==0.19.3
- flake8-typing-imports==1.14.0

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.6.0
rev: 1.6.3
hooks:
- id: nbqa-black
- id: nbqa-isort
Expand Down
210 changes: 210 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
{
"title": "eo-learn",
"description": "eo-learn makes extraction of valuable information from satellite imagery easy.\\nThe availability of open Earth observation (EO) data through the Copernicus and Landsat programs represents an unprecedented resource for many EO applications, ranging from ocean and land use and land cover monitoring, disaster control, emergency services and humanitarian relief. Given the large amount of high spatial resolution data at high revisit frequency, techniques able to automatically extract complex patterns in such spatio-temporaldata are needed.\\neo-learn is a collection of Python packages that have been developed to seamlessly access and process spatio-temporal image sequences acquired by any satellite fleet in a timely and automatic manner. eo-learn is easy to use, it's design modular, and encourages collaboration -- sharing and reusing of specific tasks in a typical EO-value-extraction workflows, such as cloud masking, image co-registration, feature extraction, classification, etc. Everyone is free to use any of the available tasks and is encouraged to improve the, develop new ones and share them with the rest of the community.",
"keywords": [
"Earth Observation",
"Python",
"Workflows",
"Remote sensing",
"Data Processing",
"Machine Learning"
],
"creators": [
{
"affiliation": "Sinergise",
"name": "EO Research Team"
}
],
"contributors": [
{
"name": "Matej Batič",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Sabina Dolenc",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Jan Geršak",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Chung-Xiang Hong",
"affiliation": "Sentinel Hub",
"type": "ProjectMember"
},
{
"name": "Domagoj Korais",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Matic Lubej",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Žiga Lukšič",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Grega Milčinski",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Nika Oman Kadunc",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Devis Peressutti",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Tomi Sljepčević",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Tamara Šuligoj",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Jovan Višnjić",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Anže Zupanc",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Matej Aleksandrov",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Andrej Burja",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Eva Erzin",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Jernej Puc",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Blaž Sovdat",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Lojze Žust",
"affiliation": "Sinergise",
"type": "ProjectMember"
},
{
"name": "Drew Bollinger",
"affiliation": "DevelopmentSeed",
"type": "Other"
},
{
"name": "Peter Fogh",
"type": "Other"
},
{
"name": "Hugo Fournier",
"affiliation": "Magellium",
"type": "Other"
},
{
"name": "Ben Huff",
"type": "Other"
},
{
"name": "Filip Koprivec",
"affiliation": "Jožef Stefan Institute",
"type": "Other"
},
{
"name": "Colin Moldenhauer",
"type": "Other"
},
{
"name": "William Ouellette",
"affiliation": "TomTom",
"type": "Other"
},
{
"name": "Radoslav Pitoňák",
"type": "Other"
},
{
"name": "Johannes Schmid",
"affiliation": "GeoVille",
"type": "Other"
},
{
"name": "Nour Soltani",
"type": "Other"
},
{
"name": "Beno Šircelj",
"affiliation": "Jožef Stefan Institute",
"type": "Other"
},
{
"name": "Andrew Tedstone",
"type": "Other"
},
{
"name": "Raaj Tilak Sarma",
"type": "Other"
},
{
"name": "Zhuangfang Yi 依庄防",
"type": "Other"
},
{
"name": "Patrick Zippenfenig",
"affiliation": "meteoblue",
"type": "Other"
},
{
"name": "fred-sch",
"type": "Other"
},
{
"name": "Gnilliw",
"type": "Other"
},
{
"name": "theirix",
"type": "Other"
}
],
"license": {
"id": "MIT"
},
"grants": [
{
"id": "776115"
},
{
"id": "101004112"
}
]
}
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [Version 1.4.1] - 2023-3-14

- The codebase is now fully annotated and type annotations are mandatory for all new code.
- In the future `EOPatch` objects will **require** a valid `bbox`. For now the users are warned when no such value is provided.
- `SaveTask` and `LoadTask` now automatically save/load the bounding box whenever possible, even if not specified in `features` parameter. `CopyTask` and `MergeEOPatchesTask` also always include the bounding box when possible.
- The `EOPatch` attribute `bbox` can no longer be deleted via the `del` command.
- The `EOPatch` attribute `timestamp` was renamed into `timestamps`. The old name still works, but the users are notified. Similarly for `FeatureType.TIMESTAMP` which was renamed to `FeatureType.TIMESTAMPS`.
- Feature parsers from `eolearn.core.utils.parsers` now support callables as input for `allowed_feature_types`, which are used for filtration over all feature types. Due to this improvement the class `FeatureTypeSet` was deprecated.
- Certain rarely used methods of `FeatureType` were deprecated. Method `is_raster` has been renamed to `is_array` and designates feature types that contain numpy arrays. We also added `is_image` for types that denote temporal and timeless imagery.
- Contributors are no longer listed in file headers, but are instead listed in the `CREDITS.md` file in the root of the repository.
- Updated `CONTRIBUTING.md` instructions.
- Various other minor improvements and deprecations.


## [Version 1.4.0] - 2023-1-20

- (**codebreaking**) Complete overhaul of `eolearn.coregistration`. See documentation for details.
Expand All @@ -15,7 +29,7 @@

## [Version 1.3.1] - 2022-11-23

- Sentinel Hub IO tasks now support a custom timestamp filtration via `timestamp_filter` parameter.
- Sentinel Hub IO tasks now support a custom timestamp filtration via `timestamp_filter` parameter, contributed by @ColinMoldenhauer.
- `MergeFeatureTask` now supports the `axis` parameter.
- Fix minor issues with the coregistration module.
- Prepare for future removal of `sentinelhub.os_utils`.
Expand Down
Loading

0 comments on commit c796a8e

Please sign in to comment.