Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
# conversion process ## 1) Top Of Atmosphere per pixel sun elevation reflectance adjustment ### https://github.com/mapbox/rio-toa ```sh rio toa reflectance -p --dst-dtype uint16 -t '.*\_B{b}.TIF' ./exampleBase/LC08_L1TP_038032_20200815_20200822_01_T1_B{4,3,2}.TIF ./exampleBase/LC08_L1TP_038032_20200815_20200822_01_T1_MTL.txt ./exampleTOA/mergedTOA.tif ``` ## 2) pansharpen ### https://github.com/mapbox/rio-pansharpen ### implement fix: https://github.com/mapbox/rio-pansharpen/pull/29 ### force update of local cli: #### pip install -U pip #### pip install -r requirements.txt #### pip install -e . ```sh example: rio pansharpen --dst-dtype uint16 B8.tif B4.tif B3.tif B2.tif out.tif specific example: rio pansharpen --weight 0.1 -j 4 --dst-dtype uint16 ./exampleBase/LC08_L1TP_038032_20200815_20200822_01_T1_B8.TIF ./exampleTOA/ref4.tif ./exampleTOA/ref3.tif ./exampleTOA/ref2.tif ./examplePansharpened/out.tif ```
# conversion process ## 1) Top Of Atmosphere per pixel sun elevation reflectance adjustment ### https://github.com/mapbox/rio-toa ```sh rio toa reflectance -p --dst-dtype uint16 -t '.*\_B{b}.TIF' ./exampleBase/LC08_L1TP_038032_20200815_20200822_01_T1_B{4,3,2}.TIF ./exampleBase/LC08_L1TP_038032_20200815_20200822_01_T1_MTL.txt ./exampleTOA/mergedTOA.tif ``` ## 2) pansharpen ### https://github.com/mapbox/rio-pansharpen ### implement fix: https://github.com/mapbox/rio-pansharpen/pull/29 ### force update of local cli: #### pip install -U pip #### pip install -r requirements.txt #### pip install -e . ```sh example: rio pansharpen --dst-dtype uint16 B8.tif B4.tif B3.tif B2.tif out.tif specific example: rio pansharpen --weight 0.1 -j 4 --dst-dtype uint16 ./exampleBase/LC08_L1TP_038032_20200815_20200822_01_T1_B8.TIF ./exampleTOA/ref4.tif ./exampleTOA/ref3.tif ./exampleTOA/ref2.tif ./examplePansharpened/out.tif ```