Skip to content

Commit

Permalink
Fixing BBA_empirical coefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteVandecrux committed Oct 18, 2021
1 parent 9b50036 commit d4ace50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm.grass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ parallel "r.out.gdal -m -c input={} output=${outfolder}/${date}/{}.tif ${tifopts
# Generate some extra rasters
tifopts='type=Float32 createopt=COMPRESS=DEFLATE,PREDICTOR=2,TILED=YES --q --o'
r.mapcalc "ndbi = ( r_TOA_01 - r_TOA_21 ) / ( r_TOA_01 + r_TOA_21 )"
r.mapcalc "bba_emp = (r_TOA_01 + r_TOA_06 + r_TOA_17 + r_TOA_21) / 4.0 * 0.945 + 0.055"
r.mapcalc "bba_emp = (r_TOA_01 + r_TOA_06 + r_TOA_17 + r_TOA_21) / 4.0 * 1.003 + 0.058"
r.out.gdal -f -m -c input=ndbi output=${outfolder}/${date}/NDBI.tif ${tifopts}
r.out.gdal -f -m -c input=bba_emp output=${outfolder}/${date}/BBA_emp.tif ${tifopts}

0 comments on commit d4ace50

Please sign in to comment.