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

feat!: standardise_validate should allow 1 output from multiple inputs TDE-784 #557

Merged
merged 35 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1ef560e
wip: retile a DEM
amfage Jul 3, 2023
8300bb2
fix: return list of tiffs
amfage Jul 3, 2023
111dbe7
wip: needs refactor
amfage Jul 4, 2023
bcad9ba
fix: tidying up
amfage Jul 6, 2023
c9e5a2d
wip: handle new input from tileindex-validate
amfage Jul 6, 2023
8c6bab3
wip
paulfouquet Jul 6, 2023
121458f
WIP
MDavidson17 Jul 7, 2023
650ce02
WIP
MDavidson17 Jul 7, 2023
65bfafb
WIP
MDavidson17 Jul 7, 2023
3c89523
wip
paulfouquet Jul 10, 2023
a4b6430
WIP
MDavidson17 Jul 10, 2023
3d8652a
WIP
MDavidson17 Jul 10, 2023
4c88a7b
wip
paulfouquet Jul 10, 2023
b8f53a7
Merge branch 'master' into feat/retile-tde-784
paulfouquet Jul 10, 2023
471f6f7
chore: tidy code
MDavidson17 Jul 12, 2023
b0d6338
chore: remove as already raises exception
MDavidson17 Jul 12, 2023
807aeff
fix: revert todo is correct name
MDavidson17 Jul 12, 2023
93107ed
fix: format_source when using script locally fails
paulfouquet Jul 13, 2023
1945240
Merge branch 'feat/retile-tde-784' of github.com:linz/topo-imagery in…
paulfouquet Jul 13, 2023
1f7f595
fix: local input should be list
paulfouquet Jul 16, 2023
b09c894
test: test fails
paulfouquet Jul 16, 2023
7de6699
fix: standardised tiff shows white when using add alpha
paulfouquet Jul 16, 2023
2cd7451
revert: "fix: standardised tiff shows white when using add alpha"
paulfouquet Jul 17, 2023
d9131dc
wip
paulfouquet Jul 18, 2023
06ab7a0
fix: FileTiff comment not complying with list of tiffs
paulfouquet Jul 18, 2023
037d20c
docs: add comment get_build_vrt_command()
paulfouquet Jul 18, 2023
7b1e3e9
docs: add docstring create_vrt()
paulfouquet Jul 18, 2023
6044932
docs: TODO docstring
paulfouquet Jul 18, 2023
c29edfe
wip: tidying
paulfouquet Jul 18, 2023
db98051
feat\!: standardise_validate 1 output from x input (+ retiling) TDE-784
paulfouquet Jul 18, 2023
22c95b1
Merge branch 'feat/retile-tde-784' of github.com:linz/topo-imagery in…
paulfouquet Jul 18, 2023
dbfbb84
Update scripts/cli/cli_helper.py
paulfouquet Jul 19, 2023
1f404c9
Update scripts/cli/cli_helper.py
paulfouquet Jul 19, 2023
2a08c97
Update scripts/standardising.py
paulfouquet Jul 19, 2023
914c682
fix: check_no_data not specific enough about DEM
paulfouquet Jul 20, 2023
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ This script takes a file (or list of files) in input that need to be standardise
1. Example with local files. In this example the source file is in a `/tmp/` directory in your machine, the output will be created in `/tmp/output/`:

```bash
docker run -v ${HOME}/tmp/:/tmp/:rw topo-imagery python standardise_validate.py --preset webp --source /tmp/file_to_standardise.tiff --scale None --collection-id 123 --start-datetime 2023-01-01 --end-datetime 2023-01-01 --target /tmp/output/ --source-epsg 2193 --target-epsg 2193'
docker run -v ${HOME}/tmp/:/tmp/:rw topo-imagery python standardise_validate.py --preset webp --source /tmp/file_to_standardise.tiff --collection-id 123 --start-datetime 2023-01-01 --end-datetime 2023-01-01 --target /tmp/output/ --source-epsg 2193 --target-epsg 2193'
```

2. Example using a source file on AWS, after logging into AWS with [AWS CLI](https://aws.amazon.com/cli/):

```bash
docker run -v ${HOME}/.aws/credentials:/root/.aws/credentials:ro -v ${HOME}/tmp/:/tmp/:rw -e AWS_PROFILE topo-imagery python standardise_validate.py --preset webp --source s3://bucket/file_to_standardise.tiff --scale None --collection-id 123 --start-datetime 2023-01-01 --end-datetime 2023-01-01 --target /tmp/output/ --source-epsg 2193 --target-epsg 2193'
docker run -v ${HOME}/.aws/credentials:/root/.aws/credentials:ro -v ${HOME}/tmp/:/tmp/:rw -e AWS_PROFILE topo-imagery python standardise_validate.py --preset webp --source s3://bucket/file_to_standardise.tiff --collection-id 123 --start-datetime 2023-01-01 --end-datetime 2023-01-01 --target /tmp/output/ --source-epsg 2193 --target-epsg 2193'
```

### In the cloud
Expand Down
Loading