Skip to content

Commit

Permalink
Merge pull request #154 from NASA-IMPACT/lasrc_3.5.1
Browse files Browse the repository at this point in the history
Update to LaSRC 3.5.1.
  • Loading branch information
sharkinsspatial authored Feb 6, 2024
2 parents 241d4e0 + e9c6758 commit 5eaaba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM 018923174646.dkr.ecr.us-west-2.amazonaws.com/hls-base-3.2.0
FROM 018923174646.dkr.ecr.us-west-2.amazonaws.com/hls-base-3.5.1
ENV PREFIX=/usr/local \
SRC_DIR=/usr/local/src \
GCTPLIB=/usr/local/lib \
Expand Down Expand Up @@ -110,8 +110,7 @@ COPY ./hls_libs/L8like/bandpass_parameter.S2B.txt ${PREFIX}/bandpass_parameter.S
RUN pip3 install --upgrade awscli
RUN pip3 install click==7.1.2
RUN pip3 install rio-cogeo==1.1.10 --no-binary rasterio --user

RUN pip3 install git+https://github.com/NASA-IMPACT/[email protected]
RUN pip3 install git+https://github.com/NASA-IMPACT/[email protected]

RUN pip3 install git+https://github.com/NASA-IMPACT/[email protected]

Expand All @@ -121,11 +120,10 @@ RUN pip3 install wheel
RUN pip3 install git+https://github.com/NASA-IMPACT/[email protected]
RUN pip3 install libxml2-python3
RUN pip3 install git+https://github.com/NASA-IMPACT/[email protected]
RUN pip3 install git+https://github.com/NASA-IMPACT/hls-utilities@v1.8
RUN pip3 install git+https://github.com/NASA-IMPACT/hls-utilities@v1.9
RUN pip3 install git+https://github.com/NASA-IMPACT/[email protected]

COPY ./scripts/* ${PREFIX}/bin/
ENV OMP_NUM_THREADS=4
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["sentinel.sh"]

2 changes: 1 addition & 1 deletion scripts/sentinel_granule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ hls_espa_two_xml="${espa_id}_2_hls.xml"
sr_hdf_one="${espa_id}_sr_1.hdf"
sr_hdf_two="${espa_id}_sr_2.hdf"
hls_sr_combined_hdf="${espa_id}_sr_combined.hdf"
aerosol_qa="${espa_id}_sr_aerosol.img"
aerosol_qa="${espa_id}_sr_aerosol_qa.img"
# Surface reflectance is current final output
hls_sr_output_hdf="$granuleoutput"

Expand Down

0 comments on commit 5eaaba2

Please sign in to comment.