Skip to content

Commit

Permalink
Updated sea bitmask tweaks after recent changes to the os50 data set.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelClerx committed Aug 31, 2023
1 parent 017229c commit aa1c938
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions nevis/_os_terrain_50.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,17 @@ def save_cambridgeshire(heights):
Artificially raise the level of some river beds to stop Cambridgeshire from
flooding.
"""
# Last checked 2022-06-27
# Last checked 2023-08-27

# Block river in TF 50, stopping a lot of flooding in cambridgeshire
heights[6047, 11183] = 0.01
#heights[6047, 11183] = 0.01 # Worked 2022-06-27, but not 2023-08-31
heights[6196, 11197] = 0.01

# Block river Yare in TG 50, and Oulton Dyke in TM59, stopping lots of
# flooding near Norwich
heights[6151, 13041] = 0.01
heights[5851, 13013] = 0.01
# flooding near Norwich.
# Note: Both must be set to see an effect.
heights[6151, 13041] = 0.01 # TG50
heights[5851, 13013] = 0.01 # TM59


def set_sea_level(heights, s, print_to_screen=True):
Expand Down

0 comments on commit aa1c938

Please sign in to comment.