diff --git a/applications/SConscript b/applications/SConscript index 18326c2..4f8eddb 100644 --- a/applications/SConscript +++ b/applications/SConscript @@ -79,8 +79,7 @@ listFiles = ['mdx.py', 'downsampleDEM.py', 'gdal2isce_xml.py', 'alos2App.py', - 'alos2burstApp.py', - 'wbd_with_correction.py'] + 'alos2burstApp.py'] # 'isce2he5.py'] envapplications.Install(install, listFiles) diff --git a/applications/wbd.py b/applications/wbd.py index 74163f3..b026a6b 100755 --- a/applications/wbd.py +++ b/applications/wbd.py @@ -1,60 +1,66 @@ #!/usr/bin/env python3 - -#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Copyright 2012 California Institute of Technology. ALL RIGHTS RESERVED. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# United States Government Sponsorship acknowledged. This software is subject to -# U.S. export control laws and regulations and has been classified as 'EAR99 NLR' -# (No [Export] License Required except when exporting to an embargoed country, -# end user, or in support of a prohibited end use). By downloading this software, -# the user agrees to comply with all applicable U.S. export laws and regulations. -# The user has the responsibility to obtain export licenses, or other export -# authority as may be required before exporting this software to any 'EAR99' -# embargoed foreign country or citizen of those countries. # -# Author: Eric Gurrola -#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Author: Cunren Liang +# Copyright 2020 +# import sys import isce -from isceobj.InsarProc.runCreateWbdMask import runCreateWbdMask +from isceobj.Alos2Proc.runDownloadDem import download_wbd -class INSAR: - def __init__(self): - self.applyWaterMask = True - self.wbdImage = None -class SELF: - def __init__(me, snwe): - me.geocode_bbox = snwe - me.insar = INSAR() +def download_wbd_old(snwe): + ''' + for keeping the option of the old wbd.py + ''' -class INFO: - def __init__(self, snwe): - self.extremes = snwe - def getExtremes(x): - return self.extremes + from isceobj.InsarProc.runCreateWbdMask import runCreateWbdMask + + class INSAR: + def __init__(self): + self.applyWaterMask = True + self.wbdImage = None + + class SELF: + def __init__(me, snwe): + me.geocode_bbox = snwe + me.insar = INSAR() + + class INFO: + def __init__(self, snwe): + self.extremes = snwe + def getExtremes(x): + return self.extremes -if __name__=="__main__": - if len(sys.argv) < 5: - print("Usage: wbd.py s n w e") - print("where s, n, w, e are latitude, longitude bounds in degrees") - sys.exit(0) - snwe = list(map(float,sys.argv[1:])) self = SELF(snwe) info = INFO(None) runCreateWbdMask(self,info) + + +if __name__=="__main__": + + if len(sys.argv) < 5: + print() + print("usage: wbd.py s n w e [c]") + print(" s: south latitude bounds in degrees") + print(" n: north latitude bounds in degrees") + print(" w: west longitude bounds in degrees") + print(" e: east longitude bounds in degrees") + print(" c: whether correct missing water body tiles problem") + print(" 0: False") + print(" 1: True (default)") + sys.exit(0) + + doCorrection = True + if len(sys.argv) >= 6: + if int(sys.argv[5]) == 0: + doCorrection = False + + snwe = list(map(float,sys.argv[1:5])) + + if doCorrection: + download_wbd(snwe[0], snwe[1], snwe[2], snwe[3]) + else: + download_wbd_old(snwe) diff --git a/applications/wbd_with_correction.py b/applications/wbd_with_correction.py deleted file mode 100755 index 5ceccf0..0000000 --- a/applications/wbd_with_correction.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env python3 - -# -# Author: Cunren Liang -# Copyright 2020 -# - - -import sys -import isce -from isceobj.Alos2Proc.runDownloadDem import download_wbd - - -if __name__=="__main__": - - if len(sys.argv) < 5: - print("usage: wbd_with_correction.py s n w e") - print("where s, n, w, e are latitude, longitude bounds in degrees") - sys.exit(0) - - snwe = list(map(float,sys.argv[1:])) - - download_wbd(snwe[0], snwe[1], snwe[2], snwe[3]) diff --git a/examples/input_files/alos2/alos2App.xml b/examples/input_files/alos2/alos2App.xml index e11558b..8674070 100644 --- a/examples/input_files/alos2/alos2App.xml +++ b/examples/input_files/alos2/alos2App.xml @@ -21,7 +21,10 @@ [3055] [3055] - + ../../../z_common_data/insarzd_test_dataset/gorkha/dem/demLat_N22_N33_Lon_E078_E092.dem.wgs84 ../../../z_common_data/insarzd_test_dataset/gorkha/dem/3/demLat_N22_N33_Lon_E078_E092.dem.wgs84 /net/kraken/nobak/cunrenl/z_common_data/insarzd_test_dataset/gorkha/wbd/swbdLat_N22_N33_Lon_E078_E092.wbd @@ -103,10 +106,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/alos2_tutorial.txt b/examples/input_files/alos2/alos2_tutorial.txt index daba993..77099e6 100644 --- a/examples/input_files/alos2/alos2_tutorial.txt +++ b/examples/input_files/alos2/alos2_tutorial.txt @@ -115,13 +115,18 @@ process all kinds of InSAR combinations. [3055] [3055] + ../../../z_common_data/insarzd_test_dataset/gorkha/dem/demLat_N22_N33_Lon_E078_E092.dem.wgs84 ../../../z_common_data/insarzd_test_dataset/gorkha/dem/3/demLat_N22_N33_Lon_E078_E092.dem.wgs84 /net/kraken/nobak/cunrenl/z_common_data/insarzd_test_dataset/gorkha/wbd/swbdLat_N22_N33_Lon_E078_E092.wbd -3. If you want to process a stack of interferograms, you can geocode the products to the same area by -setting the following parameters: +3. For processing a stack of interferograms, + + 1. set "dem for coregistration", "dem for geocoding" and "water body" so that the program won't download + them multiple times. + + 2. geocode the products to the same area for time series analysis by setting the following parameter: ../../../z_common_data/insarzd_test_dataset/gorkha/dem/demLat_N22_N33_Lon_E078_E092.dem.wgs84 ../../../z_common_data/insarzd_test_dataset/gorkha/dem/3/demLat_N22_N33_Lon_E078_E092.dem.wgs84 /net/kraken/nobak/cunrenl/z_common_data/insarzd_test_dataset/gorkha/wbd/swbdLat_N22_N33_Lon_E078_E092.wbd @@ -103,10 +106,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar/1/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-scansar/1/alos2App.xml index 2e8e8da..df2ad17 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar/1/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar/1/alos2App.xml @@ -93,10 +93,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar/2/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-scansar/2/alos2App.xml index c8b78bc..01a4f6e 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar/2/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar/2/alos2App.xml @@ -93,10 +93,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar/3/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-scansar/3/alos2App.xml index 8e0f312..a13212e 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar/3/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar/3/alos2App.xml @@ -93,10 +93,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar/4/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-scansar/4/alos2App.xml index abbb3a5..d0139df 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar/4/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar/4/alos2App.xml @@ -93,10 +93,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar_7s/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-scansar_7s/alos2App.xml index 42437e6..5ddcf32 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar_7s/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar_7s/alos2App.xml @@ -93,10 +93,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/1/alos2burstApp.xml b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/1/alos2burstApp.xml index 068d8c2..bf16d48 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/1/alos2burstApp.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/1/alos2burstApp.xml @@ -92,10 +92,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/2/alos2burstApp.xml b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/2/alos2burstApp.xml index a034937..55b8b39 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/2/alos2burstApp.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/2/alos2burstApp.xml @@ -92,10 +92,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/3/alos2burstApp.xml b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/3/alos2burstApp.xml index 69d393e..d89f4f7 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/3/alos2burstApp.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/3/alos2burstApp.xml @@ -92,10 +92,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/4/alos2burstApp.xml b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/4/alos2burstApp.xml index bd79853..6a43c82 100644 --- a/examples/input_files/alos2/example_input_files/scansar-scansar_burst/4/alos2burstApp.xml +++ b/examples/input_files/alos2/example_input_files/scansar-scansar_burst/4/alos2burstApp.xml @@ -92,10 +92,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-stripmap/1/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-stripmap/1/alos2App.xml index 5e06b14..e85866b 100644 --- a/examples/input_files/alos2/example_input_files/scansar-stripmap/1/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-stripmap/1/alos2App.xml @@ -91,10 +91,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/scansar-stripmap/2/alos2App.xml b/examples/input_files/alos2/example_input_files/scansar-stripmap/2/alos2App.xml index bcef8e9..d0b712b 100644 --- a/examples/input_files/alos2/example_input_files/scansar-stripmap/2/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/scansar-stripmap/2/alos2App.xml @@ -91,10 +91,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/stripmap-stripmap/1/alos2App.xml b/examples/input_files/alos2/example_input_files/stripmap-stripmap/1/alos2App.xml index 9d85778..3980014 100644 --- a/examples/input_files/alos2/example_input_files/stripmap-stripmap/1/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/stripmap-stripmap/1/alos2App.xml @@ -91,10 +91,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/stripmap-stripmap/2/alos2App.xml b/examples/input_files/alos2/example_input_files/stripmap-stripmap/2/alos2App.xml index 3d86775..af8e9df 100644 --- a/examples/input_files/alos2/example_input_files/stripmap-stripmap/2/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/stripmap-stripmap/2/alos2App.xml @@ -93,10 +93,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/stripmap-stripmap/3/alos2App.xml b/examples/input_files/alos2/example_input_files/stripmap-stripmap/3/alos2App.xml index 4b1c9c4..cc617e7 100644 --- a/examples/input_files/alos2/example_input_files/stripmap-stripmap/3/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/stripmap-stripmap/3/alos2App.xml @@ -91,10 +91,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================--> diff --git a/examples/input_files/alos2/example_input_files/stripmap-stripmap/4/alos2App.xml b/examples/input_files/alos2/example_input_files/stripmap-stripmap/4/alos2App.xml index 7644def..0edca0d 100644 --- a/examples/input_files/alos2/example_input_files/stripmap-stripmap/4/alos2App.xml +++ b/examples/input_files/alos2/example_input_files/stripmap-stripmap/4/alos2App.xml @@ -91,10 +91,12 @@ IEEE Transactions on Geoscience and Remote Sensing, vol. 56, no. 8, pp. 4492-450 rm *.hgt* *.log demLat_*_*_Lon_*_*.dem demLat_*_*_Lon_*_*.dem.vrt demLat_*_*_Lon_*_*.dem.xml cd ../ - #water body. ATTENTION: DON'T USE wbd.py TO DOWNLOAD WATER BODY!!! + #water body + #do correct missing water body tiles problem here!!! check usage of wbd.py for more details, + #or simply follow the commands below mkdir wbd_1_arcsec cd wbd_1_arcsec - wbd_with_correction.py 29 37 125 133 + wbd.py 29 37 125 133 fixImageXml.py -i swbdLat_*_*_Lon_*_*.wbd -f cd ../ ==========================================================================================-->