-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from ASFHyP3/develop
Release hyp3-rtc-gamma --> hyp3-gamma
- Loading branch information
Showing
18 changed files
with
115 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ FROM ubuntu:18.04 | |
|
||
# For opencontainers label definitions, see: | ||
# https://github.com/opencontainers/image-spec/blob/master/annotations.md | ||
LABEL org.opencontainers.image.title="HyP3 RTC GAMMA" | ||
LABEL org.opencontainers.image.description="HyP3 plugin for radiometric terrain correction using GAMMA" | ||
LABEL org.opencontainers.image.title="HyP3 GAMMA" | ||
LABEL org.opencontainers.image.description="HyP3 plugin for SAR processing with GAMMA" | ||
LABEL org.opencontainers.image.vendor="Alaska Satellite Facility" | ||
LABEL org.opencontainers.image.authors="ASF APD/Tools Team <[email protected]>" | ||
LABEL org.opencontainers.image.licenses="BSD-3-Clause" | ||
LABEL org.opencontainers.image.url="https://github.com/ASFHyP3/hyp3-rtc-gamma" | ||
LABEL org.opencontainers.image.source="https://github.com/ASFHyP3/hyp3-rtc-gamma" | ||
LABEL org.opencontainers.image.url="https://github.com/ASFHyP3/hyp3-gamma" | ||
LABEL org.opencontainers.image.source="https://github.com/ASFHyP3/hyp3-gamma" | ||
# LABEL org.opencontainers.image.documentation="" | ||
|
||
# Dynamic lables to define at build time via `docker build --label` | ||
|
@@ -40,7 +40,7 @@ RUN export CPLUS_INCLUDE_PATH=/usr/include/gdal && \ | |
ARG S3_PYPI_HOST | ||
ARG SDIST_SPEC | ||
|
||
RUN python3 -m pip install --no-cache-dir hyp3_rtc_gamma${SDIST_SPEC} \ | ||
RUN python3 -m pip install --no-cache-dir hyp3_gamma${SDIST_SPEC} \ | ||
--trusted-host "${S3_PYPI_HOST}" \ | ||
--extra-index-url "http://${S3_PYPI_HOST}" | ||
|
||
|
@@ -65,5 +65,5 @@ ENV GAMMA_RASTER=BMP | |
|
||
WORKDIR /home/conda/ | ||
|
||
ENTRYPOINT ["/usr/local/bin/rtc_gamma"] | ||
ENTRYPOINT ["/usr/local/bin/hyp3_gamma"] | ||
CMD ["-h"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
include LICENSE | ||
include README.md | ||
|
||
graft hyp3_rtc_gamma | ||
graft hyp3_gamma | ||
|
||
global-exclude *.py[cod] __pycache__ *.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,37 @@ | ||
# HyP3 RTC GAMMA | ||
# HyP3 GAMMA | ||
|
||
HyP3 plugin for radiometric terrain correction using GAMMA | ||
HyP3 plugin for SAR processing with GAMMA | ||
|
||
## Developer Setup | ||
|
||
Ubuntu 18.0.4 is recommended for GAMMA support. | ||
|
||
1. Install GAMMA | ||
1. Install [conda](https://docs.conda.io/en/latest/miniconda.html) | ||
1. Install hyp3-rtc-gamma | ||
1. Install `hyp3_gamma` | ||
``` | ||
git clone [email protected]:ASFHyP3/hyp3-rtc-gamma.git | ||
cd hyp3-rtc-gamma | ||
git clone [email protected]:ASFHyP3/hyp3-gamma.git | ||
cd hyp3-gamma | ||
conda env create -f conda-env.yml | ||
conda activate hyp3-rtc-gamma | ||
pip install -e . | ||
conda activate hyp3-gamma | ||
pip install -e .[develop] | ||
``` | ||
1. Run It! | ||
1. Check hyp3_gamma is installed | ||
``` | ||
rtc_sentinel.py --help | ||
rtc_sentinel.py S1A_IW_SLC__1SSV_20150621T120220_20150621T120232_006471_008934_72D8.zip | ||
hyp3_gamma --help | ||
``` | ||
|
||
### Radiometric Terrain Correction (RTC) | ||
|
||
To run the RTC science process: | ||
``` | ||
rtc_sentinel.py --help | ||
rtc_sentinel.py S1A_IW_SLC__1SSV_20150621T120220_20150621T120232_006471_008934_72D8.zip | ||
``` | ||
|
||
To run the RTC process through the HyP3 interface: | ||
``` | ||
hyp3_gamma ++process rtc --help | ||
hyp3_gamma ++process rtc --username ${EDL_USERNAME} --password ${EDL_PASSWORD} \ | ||
S1A_IW_SLC__1SSV_20150621T120220_20150621T120232_006471_008934_72D8 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: hyp3-rtc-gamma | ||
name: hyp3-gamma | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
Oops, something went wrong.