if (nfb02_tpi20st <= -100 and nfb02_tpi250s <= -100) fb02_20x250 = 1 else if (nfb02_tpi20st <= -100 and nfb02_tpi250s > -100 and nfb02_tpi250s < 100 and nfb02_slp <= 5 ) fb02_20x250 = 2 else if (nfb02_tpi20st <= -100 and nfb02_tpi250s > -100 and nfb02_tpi250s < 100 and nfb02_slp > 5) fb02_20x250 = 3 else if (nfb02_tpi20st <= -100 and nfb02_tpi250s >= 100) fb02_20x250 = 4 else if (nfb02_tpi20st > -100 and nfb02_tpi20st < 100 and nfb02_tpi250s <= -100) fb02_20x250 = 5 else if (nfb02_tpi20st > -100 and nfb02_tpi20st < 100 and nfb02_tpi250s > -100 and nfb02_slp <= 5 and nfb02_1m_utm < -22) fb02_20x250 = 6 else if (nfb02_tpi20st > -100 and nfb02_tpi20st < 100 and nfb02_tpi250s > -100 and nfb02_slp <= 5 and nfb02_1m_utm >= -22) fb02_20x250 = 7 else if (nfb02_tpi20st > -100 and nfb02_tpi20st < 100 and nfb02_tpi250s > -100 and nfb02_slp > 5 and nfb02_slp <= 70) fb02_20x250 = 8 else if (nfb02_tpi20st >= 100 and nfb02_tpi250s <= -100) fb02_20x250 = 9 else if (nfb02_tpi20st >= 100 and nfb02_tpi250s > -100 and nfb02_tpi250s < 100 and nfb02_slp <= 5) fb02_20x250 = 10 else if (nfb02_tpi20st >= 100 and nfb02_tpi250s > -100 and nfb02_tpi250s < 100 and nfb02_slp > 5) fb02_20x250 = 11 else if (nfb02_tpi20st >= 100 and nfb02_tpi250s >= 100) fb02_20x250 = 12 else if (nfb02_tpi20st > -100 and nfb02_tpi20st < 100 and nfb02_tpi250s > -100 and nfb02_slp > 70) fb02_20x250 = 13 endif
where (1) narrow depression, (2) local depression on flat, (3) lateral midslope depression, (4) depression on crest, (5) broad depression with an open bottom, (6) broad flat, (7) shelf, (8) open slopes, (9) local crest in depression, (10) local crest on flat, (11) lateral midslope crest, (12) narrow crest, and (13) steep slope.
For additional information see ftp://ftp.soest.hawaii.edu/pibhmc/web/docs/Lundblad_Thesis.pdf Source Used Citation Abbreviation: http://dusk.geo.orst.edu/djl/samoa