Page 1 of 1

CSPP VIIRS Flood Detection Software water mask

Posted: Tue Dec 28, 2021 3:09 am
by LiStopaD
Hello!
I am using CSPP VIIRS Flood Detection Software Version 1.1. The instruction for this product uses MOD44W. I want to use a different water mask.
Please tell me how I can add another water mask as well as how to specify it in the software product.
Also you can help me how to open the raw MOD44W file, what structure of this file?

Re: CSPP VIIRS Flood Detection Software water mask

Posted: Wed Dec 29, 2021 3:05 pm
by kathys
Hello,

No source code is included with the Flood Software at the request of the algorithm developer, which makes it very hard to make changes to static input files. Because the static ancillary file names, spatial resolution and geographic range are hard coded in the software, any new inputs will have to have the same names, spatial resolution, geographic range and data types (such as integer or floating point) as the original datasets.

Here is the header file that goes along with the MOD44W file in the CSPP v1.1 Flood Software package (in ENVI format):

VIIRS_Global_MOD44W_Water_Mask.hdr

ENVI
description = {
Mosaic Result [Tue Jan 12 20:22:43 2021]}
samples = 106762
lines = 47450
bands = 1
header offset = 0
file type = ENVI Standard
data type = 1
interleave = bsq
sensor type = Unknown
byte order = 0
map info = {Geographic Lat/Lon, 1.0000, 1.0000, -180.00000000, 80.00000000, 3.3720000000e-003, 3.3720000000e-003, WGS-84, units=Degrees}
wavelength units = Unknown
band names = {
Mosaic (Band 1)}

I hope this is helps,

Kathy

Re: CSPP VIIRS Flood Detection Software water mask

Posted: Thu Dec 30, 2021 1:55 am
by LiStopaD
kathys wrote:Hello,

No source code is included with the Flood Software at the request of the algorithm developer, which makes it very hard to make changes to static input files. Because the static ancillary file names, spatial resolution and geographic range are hard coded in the software, any new inputs will have to have the same names, spatial resolution, geographic range and data types (such as integer or floating point) as the original datasets.

Here is the header file that goes along with the MOD44W file in the CSPP v1.1 Flood Software package (in ENVI format):

VIIRS_Global_MOD44W_Water_Mask.hdr

ENVI
description = {
Mosaic Result [Tue Jan 12 20:22:43 2021]}
samples = 106762
lines = 47450
bands = 1
header offset = 0
file type = ENVI Standard
data type = 1
interleave = bsq
sensor type = Unknown
byte order = 0
map info = {Geographic Lat/Lon, 1.0000, 1.0000, -180.00000000, 80.00000000, 3.3720000000e-003, 3.3720000000e-003, WGS-84, units=Degrees}
wavelength units = Unknown
band names = {
Mosaic (Band 1)}

I hope this is helps,

Kathy
Thank you! I'll try it.