UNC-CECL / CASCADE

The CoAStal Community-lAnDscape Evolution (CASCADE) model
MIT License
4 stars 1 forks source link

Make sloping beach #12

Closed avanblunk closed 1 year ago

avanblunk commented 2 years ago
avanblunk commented 2 years ago

example of code used and outcome `beach_domain = np.ones([add, length]) * beach_elev # [dam MHW] 10 rows

we actually want the beach to have a slope, but keep the first few rows the berm elevation

            # we want the beach slope to be 0.004 m = 0.0004 dam
            for b in range(len(beach_domain)):
                if b >= 3:
                    beach_domain[b, :] = beach_domain[b-1, :] - 0.0004`

image

anardek commented 2 years ago

example of code used and outcome beach_domain = np.ones([add, length]) * beach_elev # [dam MHW] 10 rows # we actually want the beach to have a slope, but keep the first few rows the berm elevation # we want the beach slope to be 0.004 m = 0.0004 dam for b in range(len(beach_domain)): if b >= 3: beach_domain[b, :] = beach_domain[b-1, :] - 0.0004

image

Looks reasonable to me! Google Earth says somewhere between 50-300 m for South Core Banks.