Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
abf48e5
update date queue, minimal covering, comments
cmarshak Jan 4, 2023
c1cac6c
comments and exceptions
cmarshak Jan 4, 2023
beca085
ignore json
cmarshak Jan 4, 2023
1b322da
line length
cmarshak Jan 4, 2023
955340f
add basic demo
cmarshak Jan 4, 2023
d8df908
provide basic docs in readme
cmarshak Jan 4, 2023
58bde18
fix repeat pass grouping and remove minimal image coverage
cmarshak Jan 4, 2023
c8b65d2
update notebook
cmarshak Jan 4, 2023
5f13fc2
fix comment typo
cmarshak Jan 4, 2023
eea772d
Update order of double loop to ensure better order.
cmarshak Feb 1, 2023
b488597
update intersection to improve speed
cmarshak Feb 1, 2023
dba0885
include date in output
cmarshak Feb 1, 2023
1db9d69
new frames with 8 burst, 1 overlap
cmarshak Feb 2, 2023
fa79430
remove extra notebook
cmarshak Feb 2, 2023
6d4bfb0
use python >=3.8
cmarshak Feb 2, 2023
3e6fec7
flexible shapely intersection
cmarshak Feb 2, 2023
dcfcd46
update with latitude aligned frames
cmarshak Feb 23, 2023
e1004ce
add pip
cmarshak Feb 24, 2023
fe2e025
expand path to two lines
cmarshak Feb 24, 2023
6d3edd7
rerun notebook
cmarshak Feb 24, 2023
e735c1c
first tests for stack
cmarshak Mar 7, 2023
4373ecb
add tox for flake8
cmarshak Mar 7, 2023
c291191
update api for easier testing
cmarshak Mar 7, 2023
26701d1
only 311 and update api for enum by track
cmarshak Mar 7, 2023
5a7f8cb
update docs
cmarshak Mar 7, 2023
3ac256d
actions 0
cmarshak Mar 8, 2023
98e1224
more tests
cmarshak Mar 8, 2023
91fb71e
include json and actions
cmarshak Mar 8, 2023
52cd870
update api for submission
cmarshak Mar 8, 2023
deb5912
custom frame and api updates
cmarshak Mar 8, 2023
8a0f168
trufflehog ignore json
cmarshak Mar 8, 2023
52f215a
update static analysis
cmarshak Mar 8, 2023
d2041b4
lint
cmarshak Mar 8, 2023
02f75c0
update env name
cmarshak Mar 8, 2023
e0bd01e
remove tagging
cmarshak Mar 8, 2023
9c04d7c
update package in static analysis
cmarshak Mar 8, 2023
3f4d080
add data files
cmarshak Mar 8, 2023
8b9c880
remove duplicates from track list
cmarshak Mar 8, 2023
c8bfb05
update sequential track test
cmarshak Mar 8, 2023
5b6c44c
explain 3.11 req
cmarshak Mar 8, 2023
80978e5
remove extra notebook
cmarshak Mar 8, 2023
1ef7397
rename notebook
cmarshak Mar 8, 2023
5b368ad
readme update
cmarshak Mar 9, 2023
fe280d7
ensure frames are contained in extents
cmarshak Mar 9, 2023
e65ee1a
lint
cmarshak Mar 9, 2023
6cd14ba
invalidstack
cmarshak Mar 10, 2023
6672b66
invalidstack with s1_columns
cmarshak Mar 10, 2023
6e53e86
finish date enum test
cmarshak Mar 10, 2023
36f8060
ifg date pair selection tests
cmarshak Mar 10, 2023
c4dc06c
types for selection
cmarshak Mar 10, 2023
5706c64
lint
cmarshak Mar 10, 2023
38680cf
update date to pd.timestamp
cmarshak Mar 13, 2023
e7f7eff
update to pd.Timestamp for tests
cmarshak Mar 13, 2023
7013fce
ensure basic example works
cmarshak Mar 13, 2023
315f77a
include tz in readme
cmarshak Mar 13, 2023
dd8f766
exclude readme
cmarshak Mar 13, 2023
e22a04e
update types
cmarshak Mar 13, 2023
e7f2809
finish ifg_enum tests
cmarshak Mar 14, 2023
93bf1df
better variable names
cmarshak Mar 16, 2023
f01bf6f
include some stack discussion
cmarshak Mar 17, 2023
fc756a3
remove coverage geometry and use footprint
cmarshak Mar 17, 2023
05b349d
update tests
cmarshak Mar 17, 2023
35a061e
CA example and updates to comments
cmarshak Mar 17, 2023
742230a
control flow near dateline and explode footprints
cmarshak Mar 20, 2023
50a8501
fix typo
cmarshak Mar 20, 2023
3ab9b18
tests near dateline
cmarshak Mar 20, 2023
9080cd3
clean up of CA
cmarshak Mar 20, 2023
e32417a
filter tests
cmarshak Mar 21, 2023
5e99a3c
simplified geometry
cmarshak Mar 21, 2023
79649f0
temporarily stop tracking geojson
cmarshak Mar 21, 2023
0bd8150
add data back
cmarshak Mar 21, 2023
8299b16
lint imports
cmarshak Mar 21, 2023
b136967
add more aois
cmarshak Mar 22, 2023
6eaca52
resubmit failed jobs
cmarshak Mar 23, 2023
ce0dfda
better explanations and fixed double counting
cmarshak Mar 31, 2023
6c29281
update logic for HRRR checks on sample sites
cmarshak Mar 31, 2023
362c155
include hemisphere as frame attr
cmarshak Apr 4, 2023
8a985b6
include wax lake
cmarshak Apr 4, 2023
20c8ee5
include wax lake
cmarshak Apr 4, 2023
4e33889
add high lat CONUS
cmarshak Apr 5, 2023
d7abefe
remove dem_stitcher
cmarshak May 2, 2023
c7f34c0
use string tz due to changes in pandas
cmarshak May 2, 2023
8e500ff
fix hemisphere selection
cmarshak May 2, 2023
b646945
lower per frame threshold
cmarshak May 2, 2023
84ca8c2
lint
cmarshak May 2, 2023
9f60105
changelog
cmarshak May 2, 2023
5038cd7
remove submitting CA
cmarshak May 2, 2023
c838252
include version
cmarshak May 2, 2023
b25c3f4
Merge pull request #1 from ACCESS-Cloud-Based-InSAR/latest-updates
cmarshak May 2, 2023
7fb51f9
more aois
cmarshak May 30, 2023
bff4032
introduce seed points
cmarshak Aug 24, 2023
b905a5f
show more ifgs in test
cmarshak Aug 24, 2023
a4905e8
lint
cmarshak Aug 24, 2023
ce2616a
update geometry when frame is None
cmarshak Nov 21, 2023
00ac665
more AOIs
cmarshak Jan 23, 2024
63c38bf
ignore random notebooks
cmarshak Jan 23, 2024
1a93226
move to src and pyproject.toml
cmarshak Jan 23, 2024
8eac2e5
remove 3.10
cmarshak Jan 23, 2024
77c6080
update static analysis
cmarshak Jan 23, 2024
4e37f40
update static versions
cmarshak Jan 23, 2024
8733a86
ruff ruff
cmarshak Jan 23, 2024
950925b
ruff ruff
cmarshak Jan 23, 2024
46bf8a6
update asf_search
cmarshak Jan 23, 2024
a735e50
ruff ruff
cmarshak Jan 23, 2024
e67b045
readme name
cmarshak Jan 23, 2024
2bf6095
remove egg
cmarshak Jan 23, 2024
16ba43f
fix warning filter
cmarshak Jan 23, 2024
cf50289
release workflows
cmarshak Jan 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# These people will be requested for review when someone opens a pull request.
@ACCESS-Cloud-Based-InSAR/enumerator
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

### The bug
<!-- Please include a clear and concise description of what the bug is. Describe
what actually happened *and* what you expected to happen. -->

### To Reproduce
<!-- Please include the steps to reproduce the behavior. E.g.,
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error -->

### Additional context
<!-- Add any other context or screenshots about the bug here. -->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---
### Background
<!-- Please include a clear and concise description of *the problem* this feature would solve. -->

### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->

### Alternatives
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

### Additional context
<!-- Add any other context or screenshots about the feature request here. -->
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--
Please provide any additional description/context not captured in `CHANGELOG.md`
and indicate any other packages/projects this is relevant to, including their
associated issues and/or pull requests
-->

### Developer checklist

- [ ] Assigned a reviewer
- [ ] Indicated the level of changes to this package by affixing one of these labels:
* major -- Major changes to the API that may break current workflows
* minor -- Minor changes to the API that do not break current workflows
* patch -- Patches and bugfixes for the current version that do not break current workflows
* bumpless -- Changes to documentation, CI/CD pipelines, etc. that don't affect the software's version
- [ ] (If applicable) Added/updated documentation for these changes
- [ ] (If applicable) Added/updated tests for these changes
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "bumpless"
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!--
If this is a pull request for a new release, please use the release template:
{{ cookiecutter.public_url }}/compare/main...develop?template=release.md

If this PR does not include changes that should be reflected in CHANGELOG.md,
please indicate so by affixing the `bumpless` label to this PR.

NOTE: Pull requests should only be opened for merges to protected branches (required) and any
changes which you'd like reviewed. Do not open a pull request to update a feature or personal
branch -- simply merge with `git`.
-->
26 changes: 26 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Changelog updated?

on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
branches:
- main
- dev

jobs:
changelog-udated:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Changelog check
uses: Zomzog/changelog-checker@v1.0.0
with:
fileName: CHANGELOG.md
noChangelogLabel: bumpless
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/labeled-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Is PR labeled?

on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
branches:
- main

jobs:
bump-labeled:
runs-on: ubuntu-latest
steps:
- name: Require Labels
uses: mheap/github-action-required-labels@v1
with:
mode: exactly
count: 1
labels: "major, minor, patch, bumpless"
16 changes: 16 additions & 0 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Create Release on Github

on:
push:
tags:
- 'v*'

jobs:
call-release-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.0
with:
release_prefix: s1_frame_enumerator
develop_branch: dev
sync_pr_label: team-bot
secrets:
USER_TOKEN: ${{ secrets.ACCESS_GITHUB_TOKEN }}
37 changes: 37 additions & 0 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Distribute to PyPI

on:
push:
tags:
- v*

jobs:
distribute:
runs-on: ubuntu-latest
outputs:
SDIST_VERSION: ${{ steps.build.outputs.version }}
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools build "setuptools-scm[toml]"

- name: Build distribuion
id: build
run: |
git fetch origin +refs/tags/*:refs/tags/*
export SDIST_VERSION=$(python -m setuptools_scm)
echo "::set-output name=version::${SDIST_VERSION}"
python -m build

- name: upload to PyPI.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Static Analysis (Flake8/Ruff)

on: push

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

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

call-ruff-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-ruff.yml@v0.11.0
15 changes: 15 additions & 0 deletions .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Tag Version on Main

on:
push:
branches:
- main

jobs:
call-bump-version-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.0
with:
user: access-cloud-insar-team
email: access-cloud-insar-team@jpl.nasa.gov
secrets:
USER_TOKEN: ${{ secrets.ACCESS_GITHUB_TOKEN }}
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v2

- uses: mamba-org/provision-with-micromamba@main
with:
environment-name: s1-frame-enumerator
environment-file: environment.yml
extra-specs: |
python=${{ matrix.python-version }}
- name: Pytest in conda environment
shell: bash -l {0}
run: |
python -m pip install .
pytest .
16 changes: 7 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ deprecated/
# Vim files
*.sw[mnop]


# Data Files
*.zip
*.tar.gz

# .pyenv files
.python-version

Expand All @@ -43,7 +38,7 @@ __pycache__/
/dist/

# Python egg metadata, regenerated from source files by setuptools.
/*.egg-info
**/*.egg-info

# Environments
.env
Expand All @@ -64,10 +59,13 @@ __pycache__/
*.kmz
*.jpg
*.wld
notebooks/*.geojson
notebooks/**/*.geojson
notebooks/**/*.json
s1_frame_enumerator/**/*.geojson

# Ignore logs
*.log

# Ignore until we have tests to run
.github/
# Ignore site specific notebooks
notebooks/Submitting_to_Hyp3-*.ipynb
notebooks/Untitled*.ipynb
2 changes: 2 additions & 0 deletions .trufflehog.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CHANGELOG.md
README.md
.*.ipynb$
.*.json$
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ 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.1]
## [0.0.0]

Initial release of s1-frame-enumerator, a package for enumerating Sentinel-1 A/B pairs
for interferograms using burst-derived frames.

### Added
* All frame instances are initialized with hemisphere property depending whether centroid is smaller than 0 deg lat.
* Minimum frame coverage ratio (computed in epsg:4326) during enumeration is .2
Loading