regular_gauges = {10295500: {'class': 1, 'start': 1950, 'end': 2008}, 10308783: {'class': 1, 'start': 1998, 'end': 2014}, 10281800: {'class': 1, 'start': 1950, 'end': 1978}, 10291500: {'class': 1, 'start': 1953, 'end': 2015}, 10308200: {'class': 1, 'start': 1960, 'end': 2014}, 10310000: {'class': 1, 'start': 1950, 'end': 2014}, 10336580: {'class': 1, 'start': 1990, 'end': 2011}, 10336600: {'class': 1, 'start': 1960, 'end': 1986}, 10336770: {'class': 1, 'start': 1990, 'end': 2011}, 10336780: {'class': 1, 'start': 1960, 'end': 2014}, 11208000: {'class': 1, 'start': 1950, 'end': 1960}, 11213500: {'class': 1, 'start': 1950, 'end': 1982}, 11214000: {'class': 1, 'start': 1956, 'end': 1981}, 11218500: {'class': 1, 'start': 1962, 'end': 1993}, 11226500: {'class': 1, 'start': 1951, 'end': 1991}, 11230500: {'class': 1, 'start': 1950, 'end': 2014}, 11237500: {'class': 1, 'start': 1950, 'end': 2013}, 11264500: {'class': 1, 'start': 1950, 'end': 2014}, 11266500: {'class': 1, 'start': 1950, 'end': 2014}, 11274790: {'class': 1, 'start': 2006, 'end': 2014}, 11275000: {'class': 1, 'start': 1950, 'end': 1983}, 11292500: {'class': 1, 'start': 1950, 'end': 1994}, 11294000: {'class': 1, 'start': 1952, 'end': 1980}, 11418000: {'class': 2, 'start': 1950, 'end': 1969},  11251000: {'class': 2, 'start': 1907, 'end': 1940}, 11270900: {'class': 2, 'start': 1900, 'end': 1925},   11299000: {'class': 2, 'start': 1996, 'end': 2008}, 11446220: {'class': 2, 'start': 1996, 'end': 2008}, 11419000: {'class': 2, 'start': 1903, 'end': 1939}, 11406999: {'class': 2, 'start': 1987, 'end': 2013}, 10264600: {'class': 3, 'start': 1957, 'end': 1986}, 11196400: {'class': 3, 'start': 1961, 'end': 1983}, 11204100: {'class': 3, 'start': 2000, 'end': 2014}, 10255810: {'class': 3, 'start': 1950, 'end': 2004}, 10257500: {'class': 3, 'start': 1994, 'end': 2015}, 10257600: {'class': 3, 'start': 1967, 'end': 2015}, 10258000: {'class': 3, 'start': 1950, 'end': 2015}, 10258500: {'class': 3, 'start': 1950, 'end': 2015}, 10259000: {'class': 3, 'start': 1950, 'end': 2015}, 10259200: {'class': 3, 'start': 1962, 'end': 2015}, 10263500: {'class': 3, 'start': 1950, 'end': 2014}, 10264000: {'class': 3, 'start': 1950, 'end': 2005}, 10336645: {'class': 3, 'start': 1980, 'end': 2014}, 10336660: {'class': 3, 'start': 1960, 'end': 2014}, 10336676: {'class': 3, 'start': 1972, 'end': 2014}, 10340500: {'class': 3, 'start': 1950, 'end': 1961}, 10343500: {'class': 3, 'start': 1953, 'end': 2014}, 11031500: {'class': 3, 'start': 1961, 'end': 1987}, 11033000: {'class': 3, 'start': 1956, 'end': 1986}, 11037700: {'class': 3, 'start': 1964, 'end': 1975}, 11063000: {'class': 3, 'start': 1950, 'end': 1982}, 11073470: {'class': 3, 'start': 1950, 'end': 1975}, 11080500: {'class': 3, 'start': 1950, 'end': 1979}, 11082000: {'class': 3, 'start': 1950, 'end': 1978}, 11094000: {'class': 3, 'start': 1950, 'end': 1971}, 11095500: {'class': 3, 'start': 1950, 'end': 1977}, 11111500: {'class': 3, 'start': 1950, 'end': 2014}, 11113000: {'class': 3, 'start': 1950, 'end': 1980}, 11154700: {'class': 3, 'start': 1993, 'end': 2015}, 11195500: {'class': 3, 'start': 1959, 'end': 1981}, 11203580: {'class': 3, 'start': 2000, 'end': 2014}, 11208500: {'class': 3, 'start': 1967, 'end': 1973}, 11209900: {'class': 3, 'start': 1958, 'end': 1990}, 11220000: {'class': 3, 'start': 1953, 'end': 1973}, 11268000: {'class': 3, 'start': 1951, 'end': 1975}, 11281000: {'class': 3, 'start': 1950, 'end': 2002}, 11282000: {'class': 3, 'start': 1950, 'end': 2002}, 11283500: {'class': 3, 'start': 1959, 'end': 1995}, 11294500: {'class': 3, 'start': 1950, 'end': 1988}, 11315000: {'class': 3, 'start': 1950, 'end': 2014}, 11316800: {'class': 3, 'start': 1960, 'end': 2015}, 11318500: {'class': 3, 'start': 1950, 'end': 2015}, 11341400: {'class': 3, 'start': 1959, 'end': 1987}, 11376500: {'class': 3, 'start': 1950, 'end': 1959}, 11394500: {'class': 3, 'start': 1951, 'end': 1986}, 11400000: {'class': 3, 'start': 1950, 'end': 1964}, 11408850: {'class': 3, 'start': 1967, 'end': 1980}, 11409300: {'class': 3, 'start': 1967, 'end': 2000}, 11409500: {'class': 3, 'start': 1950, 'end': 1969}, 11413100: {'class': 3, 'start': 1968, 'end': 1986}, 11413320: {'class': 3, 'start': 1994, 'end': 2014}, 11414000: {'class': 3, 'start': 1950, 'end': 1980}, 11426150: {'class': 3, 'start': 1959, 'end': 1979}, 11427700: {'class': 3, 'start': 1960, 'end': 2014}, 11433260: {'class': 3, 'start': 1965, 'end': 1985}, 11433300: {'class': 3, 'start': 1958, 'end': 1966}, 11433500: {'class': 3, 'start': 1950, 'end': 1964}, 11445500: {'class': 3, 'start': 1951, 'end': 1959}, 11472900: {'class': 3, 'start': 1958, 'end': 2005}, 11480390: {'class': 3, 'start': 1980, 'end': 2014}, 11522500: {'class': 3, 'start': 1950, 'end': 2014}, 11523200: {'class': 3, 'start': 1957, 'end': 2014}, 11525500: {'class': 3, 'start': 1950, 'end': 1960}, 11526500: {'class': 3, 'start': 1957, 'end': 2014}, 11527400: {'class': 3, 'start': 1959, 'end': 1969}, 11154100: {'class': 4, 'start': 1959, 'end': 1982}, 11390672: {'class': 4, 'start': 1958, 'end': 1985}, 11396400: {'class': 4, 'start': 1965, 'end': 1987}, 11413323: {'class': 4, 'start': 1994, 'end': 2014}, 11457000: {'class': 4, 'start': 1951, 'end': 1966}, 11458300: {'class': 4, 'start': 1970, 'end': 1979}, 11467200: {'class': 4, 'start': 1959, 'end': 2014}, 11467500: {'class': 4, 'start': 1950, 'end': 1994}, 11467600: {'class': 4, 'start': 1962, 'end': 1983}, 11468000: {'class': 4, 'start': 1950, 'end': 2013}, 11468500: {'class': 4, 'start': 1951, 'end': 2014}, 11468600: {'class': 4, 'start': 1964, 'end': 1973}, 11468900: {'class': 4, 'start': 2001, 'end': 2014}, 11472160: {'class': 4, 'start': 2003, 'end': 2012}, 11473900: {'class': 4, 'start': 1965, 'end': 2014}, 11474500: {'class': 4, 'start': 1953, 'end': 2005}, 11475500: {'class': 4, 'start': 1950, 'end': 1970}, 11475560: {'class': 4, 'start': 1967, 'end': 2014}, 11475800: {'class': 4, 'start': 1965, 'end': 2014}, 11476500: {'class': 4, 'start': 1950, 'end': 1980}, 11476600: {'class': 4, 'start': 1960, 'end': 2014}, 11477000: {'class': 4, 'start': 1950, 'end': 1970}, 11477500: {'class': 4, 'start': 1953, 'end': 1974}, 11478500: {'class': 4, 'start': 1950, 'end': 2014}, 11481200: {'class': 4, 'start': 1955, 'end': 2014}, 11481500: {'class': 4, 'start': 1953, 'end': 2014}, 11482110: {'class': 4, 'start': 1980, 'end': 1991}, 11482120: {'class': 4, 'start': 1980, 'end': 1989}, 11482125: {'class': 4, 'start': 1979, 'end': 1988}, 11482200: {'class': 4, 'start': 1970, 'end': 1981}, 11482500: {'class': 4, 'start': 1953, 'end': 2014}, 11529000: {'class': 4, 'start': 1950, 'end': 1967}, 11532000: {'class': 4, 'start': 1954, 'end': 1979}, 11532500: {'class': 4, 'start': 1950, 'end': 2014}, 11377100: {'class': 5, 'start': 1891, 'end': 1942}, 11269300: {'class': 6, 'start': 1959, 'end': 1980}, 11110500: {'class': 6, 'start': 1950, 'end': 1983}, 11115500: {'class': 6, 'start': 1950, 'end': 1980}, 11117600: {'class': 6, 'start': 1958, 'end': 1988}, 11117800: {'class': 6, 'start': 1958, 'end': 1980}, 11120500: {'class': 6, 'start': 1950, 'end': 2014}, 11124500: {'class': 6, 'start': 1950, 'end': 2014}, 11128400: {'class': 6, 'start': 1954, 'end': 1969}, 11141150: {'class': 6, 'start': 1967, 'end': 1992}, 11141280: {'class': 6, 'start': 1967, 'end': 2014}, 11143000: {'class': 6, 'start': 1950, 'end': 2014}, 11143500: {'class': 6, 'start': 1950, 'end': 1983}, 11148900: {'class': 6, 'start': 1971, 'end': 2014}, 11151300: {'class': 6, 'start': 1958, 'end': 2014}, 11151870: {'class': 6, 'start': 1961, 'end': 2014}, 11152900: {'class': 6, 'start': 1961, 'end': 1982}, 11153470: {'class': 6, 'start': 1971, 'end': 2010}, 11153900: {'class': 6, 'start': 1961, 'end': 1982}, 11156500: {'class': 6, 'start': 1950, 'end': 1960}, 11159690: {'class': 6, 'start': 1971, 'end': 1985}, 11160000: {'class': 6, 'start': 1951, 'end': 2014}, 11160020: {'class': 6, 'start': 1968, 'end': 1992}, 11160070: {'class': 6, 'start': 1976, 'end': 1987}, 11160300: {'class': 6, 'start': 1957, 'end': 1992}, 11160500: {'class': 6, 'start': 1950, 'end': 2014}, 11162500: {'class': 6, 'start': 1951, 'end': 2014}, 11162540: {'class': 6, 'start': 1962, 'end': 1974}, 11162570: {'class': 6, 'start': 1969, 'end': 2014}, 11169800: {'class': 6, 'start': 1960, 'end': 2014}, 11180500: {'class': 6, 'start': 1959, 'end': 2015}, 11180825: {'class': 6, 'start': 1980, 'end': 1998}, 11180960: {'class': 6, 'start': 1978, 'end': 2014}, 11181000: {'class': 6, 'start': 1950, 'end': 1965}, 11181390: {'class': 6, 'start': 1975, 'end': 1985}, 11182100: {'class': 6, 'start': 1950, 'end': 1977}, 11182500: {'class': 6, 'start': 1952, 'end': 2015}, 11183000: {'class': 6, 'start': 1952, 'end': 1964}, 11197250: {'class': 6, 'start': 1961, 'end': 1986}, 11199500: {'class': 6, 'start': 1950, 'end': 2005}, 11220500: {'class': 6, 'start': 1953, 'end': 1973}, 11274500: {'class': 6, 'start': 1950, 'end': 2014}, 11274630: {'class': 6, 'start': 1965, 'end': 2014}, 11337500: {'class': 6, 'start': 1953, 'end': 1983}, 11371000: {'class': 6, 'start': 1950, 'end': 1993}, 11372000: {'class': 6, 'start': 1950, 'end': 1961}, 11375700: {'class': 6, 'start': 1956, 'end': 1980}, 11449500: {'class': 6, 'start': 1950, 'end': 2014}, 11451100: {'class': 6, 'start': 1971, 'end': 2015}, 11460100: {'class': 6, 'start': 1965, 'end': 1986}, 11464500: {'class': 6, 'start': 1950, 'end': 1980}, 11473100: {'class': 6, 'start': 1961, 'end': 1969}, 11480800: {'class': 6, 'start': 1957, 'end': 1974}, 11522300: {'class': 6, 'start': 1957, 'end': 1965}, 11525530: {'class': 6, 'start': 2002, 'end': 2015}, 11525670: {'class': 6, 'start': 2004, 'end': 2015}, 11528700: {'class': 6, 'start': 1965, 'end': 2014}, 11116000: {'class': 7, 'start': 1950, 'end': 1983}, 11120510: {'class': 7, 'start': 1970, 'end': 1980}, 11120520: {'class': 7, 'start': 1970, 'end': 2013}, 11120550: {'class': 7, 'start': 1966, 'end': 1986}, 11132500: {'class': 7, 'start': 1950, 'end': 1987}, 11138500: {'class': 7, 'start': 1950, 'end': 2014}, 11172100: {'class': 7, 'start': 1961, 'end': 1987}, 11172945: {'class': 7, 'start': 1994, 'end': 2014}, 11173200: {'class': 7, 'start': 1968, 'end': 2014}, 11176400: {'class': 7, 'start': 1963, 'end': 2015}, 11224500: {'class': 7, 'start': 1950, 'end': 2014}, 11253310: {'class': 7, 'start': 1966, 'end': 2014}, 11379000: {'class': 8, 'start': 1950, 'end': 1982}, 10255800: {'class': 8, 'start': 1950, 'end': 1983}, 11023250: {'class': 8, 'start': 1977, 'end': 1987}, 11023310: {'class': 8, 'start': 1977, 'end': 1989}, 11023325: {'class': 8, 'start': 1976, 'end': 1989}, 11046300: {'class': 8, 'start': 1952, 'end': 2015}, 11046500: {'class': 8, 'start': 1950, 'end': 1961}, 11048553: {'class': 8, 'start': 2001, 'end': 2014}, 11058600: {'class': 8, 'start': 1950, 'end': 2015}, 11077000: {'class': 8, 'start': 1950, 'end': 1963}, 11084500: {'class': 8, 'start': 1950, 'end': 1979}, 11098000: {'class': 8, 'start': 1950, 'end': 2014}, 11100000: {'class': 8, 'start': 1950, 'end': 1970}, 11120530: {'class': 8, 'start': 1970, 'end': 1991}, 11134800: {'class': 8, 'start': 1970, 'end': 1980}, 11257500: {'class': 8, 'start': 1950, 'end': 1970}, 11258000: {'class': 8, 'start': 1950, 'end': 1970}, 11259000: {'class': 8, 'start': 1950, 'end': 1972}, 11284400: {'class': 8, 'start': 1969, 'end': 2014}, 11299600: {'class': 8, 'start': 1983, 'end': 2014}, 11334300: {'class': 8, 'start': 1957, 'end': 1980}, 11374000: {'class': 8, 'start': 1950, 'end': 1980}, 11451715: {'class': 8, 'start': 1997, 'end': 2014}, 10360900: {'class': 9, 'start': 1960, 'end': 1982}, 11355500: {'class': 9, 'start': 1968, 'end': 1988}}

removed_gauges = {10264750: 3,11191000: {'class': 2, 'start': 1945, 'end': 1952},11289650: {'class': 2, 'start': 1923, 'end': 1923}, 11302000: {'class': 2, 'start': 1956, 'end': 1956}, 10287070: {'class': 1, 'start': 1969, 'end': 1981}} #11289650 gauge becomes impaired right away

test_gauges = {99999999: {'class': 1, 'start': 1953, 'end': 1976}, 99999998: {'class': 2, 'start': 1950, 'end': 1959}, 99999997: {'class': 3, 'start': 1957, 'end': 1974}, 99999996: {'class': 4, 'start': 1950, 'end': 1959}, 99999995: {'class': 5, 'start': 1950, 'end': 1959}, 99999994: {'class': 6, 'start': 1953, 'end': 1962}, 99999993: {'class': 7, 'start': 1979, 'end': 1988}, 99999992: {'class': 8, 'start': 1953, 'end': 1976}, 99999991: {'class': 9, 'start': 1965, 'end': 1974}, 99999990: {'class': 1, 'start': 1951, 'end': 1960}, 99999989: {'class': 2, 'start': 1946, 'end': 1955}, 99999988: {'class': 3, 'start': 1967, 'end': 1976}, 99999987: {'class': 4, 'start': 1962, 'end': 1970}, 99999986: {'class': 5, 'start': 1959, 'end': 2004}, 99999985: {'class': 6, 'start': 1980, 'end': 1989}, 99999984: {'class': 7, 'start': 1997, 'end': 2006}, 99999983: {'class': 9, 'start': 1989, 'end': 1998}, 99999982: {'class': 9, 'start': 1950, 'end': 1959}}

gauge_reference = {**regular_gauges, **test_gauges}

dd7dd69883da3561f446d8ee9d9f58f82d45cbf6
<mask token>

regular_gauges = {(10295500): {'class': 1, 'start': 1950, 'end': 2008}, (
    10308783): {'class': 1, 'start': 1998, 'end': 2014}, (10281800): {
    'class': 1, 'start': 1950, 'end': 1978}, (10291500): {'class': 1,
    'start': 1953, 'end': 2015}, (10308200): {'class': 1, 'start': 1960,
    'end': 2014}, (10310000): {'class': 1, 'start': 1950, 'end': 2014}, (
    10336580): {'class': 1, 'start': 1990, 'end': 2011}, (10336600): {
    'class': 1, 'start': 1960, 'end': 1986}, (10336770): {'class': 1,
    'start': 1990, 'end': 2011}, (10336780): {'class': 1, 'start': 1960,
    'end': 2014}, (11208000): {'class': 1, 'start': 1950, 'end': 1960}, (
    11213500): {'class': 1, 'start': 1950, 'end': 1982}, (11214000): {
    'class': 1, 'start': 1956, 'end': 1981}, (11218500): {'class': 1,
    'start': 1962, 'end': 1993}, (11226500): {'class': 1, 'start': 1951,
    'end': 1991}, (11230500): {'class': 1, 'start': 1950, 'end': 2014}, (
    11237500): {'class': 1, 'start': 1950, 'end': 2013}, (11264500): {
    'class': 1, 'start': 1950, 'end': 2014}, (11266500): {'class': 1,
    'start': 1950, 'end': 2014}, (11274790): {'class': 1, 'start': 2006,
    'end': 2014}, (11275000): {'class': 1, 'start': 1950, 'end': 1983}, (
    11292500): {'class': 1, 'start': 1950, 'end': 1994}, (11294000): {
    'class': 1, 'start': 1952, 'end': 1980}, (11418000): {'class': 2,
    'start': 1950, 'end': 1969}, (11251000): {'class': 2, 'start': 1907,
    'end': 1940}, (11270900): {'class': 2, 'start': 1900, 'end': 1925}, (
    11299000): {'class': 2, 'start': 1996, 'end': 2008}, (11446220): {
    'class': 2, 'start': 1996, 'end': 2008}, (11419000): {'class': 2,
    'start': 1903, 'end': 1939}, (11406999): {'class': 2, 'start': 1987,
    'end': 2013}, (10264600): {'class': 3, 'start': 1957, 'end': 1986}, (
    11196400): {'class': 3, 'start': 1961, 'end': 1983}, (11204100): {
    'class': 3, 'start': 2000, 'end': 2014}, (10255810): {'class': 3,
    'start': 1950, 'end': 2004}, (10257500): {'class': 3, 'start': 1994,
    'end': 2015}, (10257600): {'class': 3, 'start': 1967, 'end': 2015}, (
    10258000): {'class': 3, 'start': 1950, 'end': 2015}, (10258500): {
    'class': 3, 'start': 1950, 'end': 2015}, (10259000): {'class': 3,
    'start': 1950, 'end': 2015}, (10259200): {'class': 3, 'start': 1962,
    'end': 2015}, (10263500): {'class': 3, 'start': 1950, 'end': 2014}, (
    10264000): {'class': 3, 'start': 1950, 'end': 2005}, (10336645): {
    'class': 3, 'start': 1980, 'end': 2014}, (10336660): {'class': 3,
    'start': 1960, 'end': 2014}, (10336676): {'class': 3, 'start': 1972,
    'end': 2014}, (10340500): {'class': 3, 'start': 1950, 'end': 1961}, (
    10343500): {'class': 3, 'start': 1953, 'end': 2014}, (11031500): {
    'class': 3, 'start': 1961, 'end': 1987}, (11033000): {'class': 3,
    'start': 1956, 'end': 1986}, (11037700): {'class': 3, 'start': 1964,
    'end': 1975}, (11063000): {'class': 3, 'start': 1950, 'end': 1982}, (
    11073470): {'class': 3, 'start': 1950, 'end': 1975}, (11080500): {
    'class': 3, 'start': 1950, 'end': 1979}, (11082000): {'class': 3,
    'start': 1950, 'end': 1978}, (11094000): {'class': 3, 'start': 1950,
    'end': 1971}, (11095500): {'class': 3, 'start': 1950, 'end': 1977}, (
    11111500): {'class': 3, 'start': 1950, 'end': 2014}, (11113000): {
    'class': 3, 'start': 1950, 'end': 1980}, (11154700): {'class': 3,
    'start': 1993, 'end': 2015}, (11195500): {'class': 3, 'start': 1959,
    'end': 1981}, (11203580): {'class': 3, 'start': 2000, 'end': 2014}, (
    11208500): {'class': 3, 'start': 1967, 'end': 1973}, (11209900): {
    'class': 3, 'start': 1958, 'end': 1990}, (11220000): {'class': 3,
    'start': 1953, 'end': 1973}, (11268000): {'class': 3, 'start': 1951,
    'end': 1975}, (11281000): {'class': 3, 'start': 1950, 'end': 2002}, (
    11282000): {'class': 3, 'start': 1950, 'end': 2002}, (11283500): {
    'class': 3, 'start': 1959, 'end': 1995}, (11294500): {'class': 3,
    'start': 1950, 'end': 1988}, (11315000): {'class': 3, 'start': 1950,
    'end': 2014}, (11316800): {'class': 3, 'start': 1960, 'end': 2015}, (
    11318500): {'class': 3, 'start': 1950, 'end': 2015}, (11341400): {
    'class': 3, 'start': 1959, 'end': 1987}, (11376500): {'class': 3,
    'start': 1950, 'end': 1959}, (11394500): {'class': 3, 'start': 1951,
    'end': 1986}, (11400000): {'class': 3, 'start': 1950, 'end': 1964}, (
    11408850): {'class': 3, 'start': 1967, 'end': 1980}, (11409300): {
    'class': 3, 'start': 1967, 'end': 2000}, (11409500): {'class': 3,
    'start': 1950, 'end': 1969}, (11413100): {'class': 3, 'start': 1968,
    'end': 1986}, (11413320): {'class': 3, 'start': 1994, 'end': 2014}, (
    11414000): {'class': 3, 'start': 1950, 'end': 1980}, (11426150): {
    'class': 3, 'start': 1959, 'end': 1979}, (11427700): {'class': 3,
    'start': 1960, 'end': 2014}, (11433260): {'class': 3, 'start': 1965,
    'end': 1985}, (11433300): {'class': 3, 'start': 1958, 'end': 1966}, (
    11433500): {'class': 3, 'start': 1950, 'end': 1964}, (11445500): {
    'class': 3, 'start': 1951, 'end': 1959}, (11472900): {'class': 3,
    'start': 1958, 'end': 2005}, (11480390): {'class': 3, 'start': 1980,
    'end': 2014}, (11522500): {'class': 3, 'start': 1950, 'end': 2014}, (
    11523200): {'class': 3, 'start': 1957, 'end': 2014}, (11525500): {
    'class': 3, 'start': 1950, 'end': 1960}, (11526500): {'class': 3,
    'start': 1957, 'end': 2014}, (11527400): {'class': 3, 'start': 1959,
    'end': 1969}, (11154100): {'class': 4, 'start': 1959, 'end': 1982}, (
    11390672): {'class': 4, 'start': 1958, 'end': 1985}, (11396400): {
    'class': 4, 'start': 1965, 'end': 1987}, (11413323): {'class': 4,
    'start': 1994, 'end': 2014}, (11457000): {'class': 4, 'start': 1951,
    'end': 1966}, (11458300): {'class': 4, 'start': 1970, 'end': 1979}, (
    11467200): {'class': 4, 'start': 1959, 'end': 2014}, (11467500): {
    'class': 4, 'start': 1950, 'end': 1994}, (11467600): {'class': 4,
    'start': 1962, 'end': 1983}, (11468000): {'class': 4, 'start': 1950,
    'end': 2013}, (11468500): {'class': 4, 'start': 1951, 'end': 2014}, (
    11468600): {'class': 4, 'start': 1964, 'end': 1973}, (11468900): {
    'class': 4, 'start': 2001, 'end': 2014}, (11472160): {'class': 4,
    'start': 2003, 'end': 2012}, (11473900): {'class': 4, 'start': 1965,
    'end': 2014}, (11474500): {'class': 4, 'start': 1953, 'end': 2005}, (
    11475500): {'class': 4, 'start': 1950, 'end': 1970}, (11475560): {
    'class': 4, 'start': 1967, 'end': 2014}, (11475800): {'class': 4,
    'start': 1965, 'end': 2014}, (11476500): {'class': 4, 'start': 1950,
    'end': 1980}, (11476600): {'class': 4, 'start': 1960, 'end': 2014}, (
    11477000): {'class': 4, 'start': 1950, 'end': 1970}, (11477500): {
    'class': 4, 'start': 1953, 'end': 1974}, (11478500): {'class': 4,
    'start': 1950, 'end': 2014}, (11481200): {'class': 4, 'start': 1955,
    'end': 2014}, (11481500): {'class': 4, 'start': 1953, 'end': 2014}, (
    11482110): {'class': 4, 'start': 1980, 'end': 1991}, (11482120): {
    'class': 4, 'start': 1980, 'end': 1989}, (11482125): {'class': 4,
    'start': 1979, 'end': 1988}, (11482200): {'class': 4, 'start': 1970,
    'end': 1981}, (11482500): {'class': 4, 'start': 1953, 'end': 2014}, (
    11529000): {'class': 4, 'start': 1950, 'end': 1967}, (11532000): {
    'class': 4, 'start': 1954, 'end': 1979}, (11532500): {'class': 4,
    'start': 1950, 'end': 2014}, (11377100): {'class': 5, 'start': 1891,
    'end': 1942}, (11269300): {'class': 6, 'start': 1959, 'end': 1980}, (
    11110500): {'class': 6, 'start': 1950, 'end': 1983}, (11115500): {
    'class': 6, 'start': 1950, 'end': 1980}, (11117600): {'class': 6,
    'start': 1958, 'end': 1988}, (11117800): {'class': 6, 'start': 1958,
    'end': 1980}, (11120500): {'class': 6, 'start': 1950, 'end': 2014}, (
    11124500): {'class': 6, 'start': 1950, 'end': 2014}, (11128400): {
    'class': 6, 'start': 1954, 'end': 1969}, (11141150): {'class': 6,
    'start': 1967, 'end': 1992}, (11141280): {'class': 6, 'start': 1967,
    'end': 2014}, (11143000): {'class': 6, 'start': 1950, 'end': 2014}, (
    11143500): {'class': 6, 'start': 1950, 'end': 1983}, (11148900): {
    'class': 6, 'start': 1971, 'end': 2014}, (11151300): {'class': 6,
    'start': 1958, 'end': 2014}, (11151870): {'class': 6, 'start': 1961,
    'end': 2014}, (11152900): {'class': 6, 'start': 1961, 'end': 1982}, (
    11153470): {'class': 6, 'start': 1971, 'end': 2010}, (11153900): {
    'class': 6, 'start': 1961, 'end': 1982}, (11156500): {'class': 6,
    'start': 1950, 'end': 1960}, (11159690): {'class': 6, 'start': 1971,
    'end': 1985}, (11160000): {'class': 6, 'start': 1951, 'end': 2014}, (
    11160020): {'class': 6, 'start': 1968, 'end': 1992}, (11160070): {
    'class': 6, 'start': 1976, 'end': 1987}, (11160300): {'class': 6,
    'start': 1957, 'end': 1992}, (11160500): {'class': 6, 'start': 1950,
    'end': 2014}, (11162500): {'class': 6, 'start': 1951, 'end': 2014}, (
    11162540): {'class': 6, 'start': 1962, 'end': 1974}, (11162570): {
    'class': 6, 'start': 1969, 'end': 2014}, (11169800): {'class': 6,
    'start': 1960, 'end': 2014}, (11180500): {'class': 6, 'start': 1959,
    'end': 2015}, (11180825): {'class': 6, 'start': 1980, 'end': 1998}, (
    11180960): {'class': 6, 'start': 1978, 'end': 2014}, (11181000): {
    'class': 6, 'start': 1950, 'end': 1965}, (11181390): {'class': 6,
    'start': 1975, 'end': 1985}, (11182100): {'class': 6, 'start': 1950,
    'end': 1977}, (11182500): {'class': 6, 'start': 1952, 'end': 2015}, (
    11183000): {'class': 6, 'start': 1952, 'end': 1964}, (11197250): {
    'class': 6, 'start': 1961, 'end': 1986}, (11199500): {'class': 6,
    'start': 1950, 'end': 2005}, (11220500): {'class': 6, 'start': 1953,
    'end': 1973}, (11274500): {'class': 6, 'start': 1950, 'end': 2014}, (
    11274630): {'class': 6, 'start': 1965, 'end': 2014}, (11337500): {
    'class': 6, 'start': 1953, 'end': 1983}, (11371000): {'class': 6,
    'start': 1950, 'end': 1993}, (11372000): {'class': 6, 'start': 1950,
    'end': 1961}, (11375700): {'class': 6, 'start': 1956, 'end': 1980}, (
    11449500): {'class': 6, 'start': 1950, 'end': 2014}, (11451100): {
    'class': 6, 'start': 1971, 'end': 2015}, (11460100): {'class': 6,
    'start': 1965, 'end': 1986}, (11464500): {'class': 6, 'start': 1950,
    'end': 1980}, (11473100): {'class': 6, 'start': 1961, 'end': 1969}, (
    11480800): {'class': 6, 'start': 1957, 'end': 1974}, (11522300): {
    'class': 6, 'start': 1957, 'end': 1965}, (11525530): {'class': 6,
    'start': 2002, 'end': 2015}, (11525670): {'class': 6, 'start': 2004,
    'end': 2015}, (11528700): {'class': 6, 'start': 1965, 'end': 2014}, (
    11116000): {'class': 7, 'start': 1950, 'end': 1983}, (11120510): {
    'class': 7, 'start': 1970, 'end': 1980}, (11120520): {'class': 7,
    'start': 1970, 'end': 2013}, (11120550): {'class': 7, 'start': 1966,
    'end': 1986}, (11132500): {'class': 7, 'start': 1950, 'end': 1987}, (
    11138500): {'class': 7, 'start': 1950, 'end': 2014}, (11172100): {
    'class': 7, 'start': 1961, 'end': 1987}, (11172945): {'class': 7,
    'start': 1994, 'end': 2014}, (11173200): {'class': 7, 'start': 1968,
    'end': 2014}, (11176400): {'class': 7, 'start': 1963, 'end': 2015}, (
    11224500): {'class': 7, 'start': 1950, 'end': 2014}, (11253310): {
    'class': 7, 'start': 1966, 'end': 2014}, (11379000): {'class': 8,
    'start': 1950, 'end': 1982}, (10255800): {'class': 8, 'start': 1950,
    'end': 1983}, (11023250): {'class': 8, 'start': 1977, 'end': 1987}, (
    11023310): {'class': 8, 'start': 1977, 'end': 1989}, (11023325): {
    'class': 8, 'start': 1976, 'end': 1989}, (11046300): {'class': 8,
    'start': 1952, 'end': 2015}, (11046500): {'class': 8, 'start': 1950,
    'end': 1961}, (11048553): {'class': 8, 'start': 2001, 'end': 2014}, (
    11058600): {'class': 8, 'start': 1950, 'end': 2015}, (11077000): {
    'class': 8, 'start': 1950, 'end': 1963}, (11084500): {'class': 8,
    'start': 1950, 'end': 1979}, (11098000): {'class': 8, 'start': 1950,
    'end': 2014}, (11100000): {'class': 8, 'start': 1950, 'end': 1970}, (
    11120530): {'class': 8, 'start': 1970, 'end': 1991}, (11134800): {
    'class': 8, 'start': 1970, 'end': 1980}, (11257500): {'class': 8,
    'start': 1950, 'end': 1970}, (11258000): {'class': 8, 'start': 1950,
    'end': 1970}, (11259000): {'class': 8, 'start': 1950, 'end': 1972}, (
    11284400): {'class': 8, 'start': 1969, 'end': 2014}, (11299600): {
    'class': 8, 'start': 1983, 'end': 2014}, (11334300): {'class': 8,
    'start': 1957, 'end': 1980}, (11374000): {'class': 8, 'start': 1950,
    'end': 1980}, (11451715): {'class': 8, 'start': 1997, 'end': 2014}, (
    10360900): {'class': 9, 'start': 1960, 'end': 1982}, (11355500): {
    'class': 9, 'start': 1968, 'end': 1988}}
removed_gauges = {(10264750): 3, (11191000): {'class': 2, 'start': 1945,
    'end': 1952}, (11289650): {'class': 2, 'start': 1923, 'end': 1923}, (
    11302000): {'class': 2, 'start': 1956, 'end': 1956}, (10287070): {
    'class': 1, 'start': 1969, 'end': 1981}}
test_gauges = {(99999999): {'class': 1, 'start': 1953, 'end': 1976}, (
    99999998): {'class': 2, 'start': 1950, 'end': 1959}, (99999997): {
    'class': 3, 'start': 1957, 'end': 1974}, (99999996): {'class': 4,
    'start': 1950, 'end': 1959}, (99999995): {'class': 5, 'start': 1950,
    'end': 1959}, (99999994): {'class': 6, 'start': 1953, 'end': 1962}, (
    99999993): {'class': 7, 'start': 1979, 'end': 1988}, (99999992): {
    'class': 8, 'start': 1953, 'end': 1976}, (99999991): {'class': 9,
    'start': 1965, 'end': 1974}, (99999990): {'class': 1, 'start': 1951,
    'end': 1960}, (99999989): {'class': 2, 'start': 1946, 'end': 1955}, (
    99999988): {'class': 3, 'start': 1967, 'end': 1976}, (99999987): {
    'class': 4, 'start': 1962, 'end': 1970}, (99999986): {'class': 5,
    'start': 1959, 'end': 2004}, (99999985): {'class': 6, 'start': 1980,
    'end': 1989}, (99999984): {'class': 7, 'start': 1997, 'end': 2006}, (
    99999983): {'class': 9, 'start': 1989, 'end': 1998}, (99999982): {
    'class': 9, 'start': 1950, 'end': 1959}}
gauge_reference = {**regular_gauges, **test_gauges}

regular_gauges = {10295500: {'class': 1, 'start': 1950, 'end': 2008}, 10308783: {'class': 1, 'start': 1998, 'end': 2014}, 10281800: {'class': 1, 'start': 1950, 'end': 1978}, 10291500: {'class': 1, 'start': 1953, 'end': 2015}, 10308200: {'class': 1, 'start': 1960, 'end': 2014}, 10310000: {'class': 1, 'start': 1950, 'end': 2014}, 10336580: {'class': 1, 'start': 1990, 'end': 2011}, 10336600: {'class': 1, 'start': 1960, 'end': 1986}, 10336770: {'class': 1, 'start': 1990, 'end': 2011}, 10336780: {'class': 1, 'start': 1960, 'end': 2014}, 11208000: {'class': 1, 'start': 1950, 'end': 1960}, 11213500: {'class': 1, 'start': 1950, 'end': 1982}, 11214000: {'class': 1, 'start': 1956, 'end': 1981}, 11218500: {'class': 1, 'start': 1962, 'end': 1993}, 11226500: {'class': 1, 'start': 1951, 'end': 1991}, 11230500: {'class': 1, 'start': 1950, 'end': 2014}, 11237500: {'class': 1, 'start': 1950, 'end': 2013}, 11264500: {'class': 1, 'start': 1950, 'end': 2014}, 11266500: {'class': 1, 'start': 1950, 'end': 2014}, 11274790: {'class': 1, 'start': 2006, 'end': 2014}, 11275000: {'class': 1, 'start': 1950, 'end': 1983}, 11292500: {'class': 1, 'start': 1950, 'end': 1994}, 11294000: {'class': 1, 'start': 1952, 'end': 1980}, 11418000: {'class': 2, 'start': 1950, 'end': 1969},  11251000: {'class': 2, 'start': 1907, 'end': 1940}, 11270900: {'class': 2, 'start': 1900, 'end': 1925},   11299000: {'class': 2, 'start': 1996, 'end': 2008}, 11446220: {'class': 2, 'start': 1996, 'end': 2008}, 11419000: {'class': 2, 'start': 1903, 'end': 1939}, 11406999: {'class': 2, 'start': 1987, 'end': 2013}, 10264600: {'class': 3, 'start': 1957, 'end': 1986}, 11196400: {'class': 3, 'start': 1961, 'end': 1983}, 11204100: {'class': 3, 'start': 2000, 'end': 2014}, 10255810: {'class': 3, 'start': 1950, 'end': 2004}, 10257500: {'class': 3, 'start': 1994, 'end': 2015}, 10257600: {'class': 3, 'start': 1967, 'end': 2015}, 10258000: {'class': 3, 'start': 1950, 'end': 2015}, 10258500: {'class': 3, 'start': 1950, 'end': 2015}, 10259000: {'class': 3, 'start': 1950, 'end': 2015}, 10259200: {'class': 3, 'start': 1962, 'end': 2015}, 10263500: {'class': 3, 'start': 1950, 'end': 2014}, 10264000: {'class': 3, 'start': 1950, 'end': 2005}, 10336645: {'class': 3, 'start': 1980, 'end': 2014}, 10336660: {'class': 3, 'start': 1960, 'end': 2014}, 10336676: {'class': 3, 'start': 1972, 'end': 2014}, 10340500: {'class': 3, 'start': 1950, 'end': 1961}, 10343500: {'class': 3, 'start': 1953, 'end': 2014}, 11031500: {'class': 3, 'start': 1961, 'end': 1987}, 11033000: {'class': 3, 'start': 1956, 'end': 1986}, 11037700: {'class': 3, 'start': 1964, 'end': 1975}, 11063000: {'class': 3, 'start': 1950, 'end': 1982}, 11073470: {'class': 3, 'start': 1950, 'end': 1975}, 11080500: {'class': 3, 'start': 1950, 'end': 1979}, 11082000: {'class': 3, 'start': 1950, 'end': 1978}, 11094000: {'class': 3, 'start': 1950, 'end': 1971}, 11095500: {'class': 3, 'start': 1950, 'end': 1977}, 11111500: {'class': 3, 'start': 1950, 'end': 2014}, 11113000: {'class': 3, 'start': 1950, 'end': 1980}, 11154700: {'class': 3, 'start': 1993, 'end': 2015}, 11195500: {'class': 3, 'start': 1959, 'end': 1981}, 11203580: {'class': 3, 'start': 2000, 'end': 2014}, 11208500: {'class': 3, 'start': 1967, 'end': 1973}, 11209900: {'class': 3, 'start': 1958, 'end': 1990}, 11220000: {'class': 3, 'start': 1953, 'end': 1973}, 11268000: {'class': 3, 'start': 1951, 'end': 1975}, 11281000: {'class': 3, 'start': 1950, 'end': 2002}, 11282000: {'class': 3, 'start': 1950, 'end': 2002}, 11283500: {'class': 3, 'start': 1959, 'end': 1995}, 11294500: {'class': 3, 'start': 1950, 'end': 1988}, 11315000: {'class': 3, 'start': 1950, 'end': 2014}, 11316800: {'class': 3, 'start': 1960, 'end': 2015}, 11318500: {'class': 3, 'start': 1950, 'end': 2015}, 11341400: {'class': 3, 'start': 1959, 'end': 1987}, 11376500: {'class': 3, 'start': 1950, 'end': 1959}, 11394500: {'class': 3, 'start': 1951, 'end': 1986}, 11400000: {'class': 3, 'start': 1950, 'end': 1964}, 11408850: {'class': 3, 'start': 1967, 'end': 1980}, 11409300: {'class': 3, 'start': 1967, 'end': 2000}, 11409500: {'class': 3, 'start': 1950, 'end': 1969}, 11413100: {'class': 3, 'start': 1968, 'end': 1986}, 11413320: {'class': 3, 'start': 1994, 'end': 2014}, 11414000: {'class': 3, 'start': 1950, 'end': 1980}, 11426150: {'class': 3, 'start': 1959, 'end': 1979}, 11427700: {'class': 3, 'start': 1960, 'end': 2014}, 11433260: {'class': 3, 'start': 1965, 'end': 1985}, 11433300: {'class': 3, 'start': 1958, 'end': 1966}, 11433500: {'class': 3, 'start': 1950, 'end': 1964}, 11445500: {'class': 3, 'start': 1951, 'end': 1959}, 11472900: {'class': 3, 'start': 1958, 'end': 2005}, 11480390: {'class': 3, 'start': 1980, 'end': 2014}, 11522500: {'class': 3, 'start': 1950, 'end': 2014}, 11523200: {'class': 3, 'start': 1957, 'end': 2014}, 11525500: {'class': 3, 'start': 1950, 'end': 1960}, 11526500: {'class': 3, 'start': 1957, 'end': 2014}, 11527400: {'class': 3, 'start': 1959, 'end': 1969}, 11154100: {'class': 4, 'start': 1959, 'end': 1982}, 11390672: {'class': 4, 'start': 1958, 'end': 1985}, 11396400: {'class': 4, 'start': 1965, 'end': 1987}, 11413323: {'class': 4, 'start': 1994, 'end': 2014}, 11457000: {'class': 4, 'start': 1951, 'end': 1966}, 11458300: {'class': 4, 'start': 1970, 'end': 1979}, 11467200: {'class': 4, 'start': 1959, 'end': 2014}, 11467500: {'class': 4, 'start': 1950, 'end': 1994}, 11467600: {'class': 4, 'start': 1962, 'end': 1983}, 11468000: {'class': 4, 'start': 1950, 'end': 2013}, 11468500: {'class': 4, 'start': 1951, 'end': 2014}, 11468600: {'class': 4, 'start': 1964, 'end': 1973}, 11468900: {'class': 4, 'start': 2001, 'end': 2014}, 11472160: {'class': 4, 'start': 2003, 'end': 2012}, 11473900: {'class': 4, 'start': 1965, 'end': 2014}, 11474500: {'class': 4, 'start': 1953, 'end': 2005}, 11475500: {'class': 4, 'start': 1950, 'end': 1970}, 11475560: {'class': 4, 'start': 1967, 'end': 2014}, 11475800: {'class': 4, 'start': 1965, 'end': 2014}, 11476500: {'class': 4, 'start': 1950, 'end': 1980}, 11476600: {'class': 4, 'start': 1960, 'end': 2014}, 11477000: {'class': 4, 'start': 1950, 'end': 1970}, 11477500: {'class': 4, 'start': 1953, 'end': 1974}, 11478500: {'class': 4, 'start': 1950, 'end': 2014}, 11481200: {'class': 4, 'start': 1955, 'end': 2014}, 11481500: {'class': 4, 'start': 1953, 'end': 2014}, 11482110: {'class': 4, 'start': 1980, 'end': 1991}, 11482120: {'class': 4, 'start': 1980, 'end': 1989}, 11482125: {'class': 4, 'start': 1979, 'end': 1988}, 11482200: {'class': 4, 'start': 1970, 'end': 1981}, 11482500: {'class': 4, 'start': 1953, 'end': 2014}, 11529000: {'class': 4, 'start': 1950, 'end': 1967}, 11532000: {'class': 4, 'start': 1954, 'end': 1979}, 11532500: {'class': 4, 'start': 1950, 'end': 2014}, 11377100: {'class': 5, 'start': 1891, 'end': 1942}, 11269300: {'class': 6, 'start': 1959, 'end': 1980}, 11110500: {'class': 6, 'start': 1950, 'end': 1983}, 11115500: {'class': 6, 'start': 1950, 'end': 1980}, 11117600: {'class': 6, 'start': 1958, 'end': 1988}, 11117800: {'class': 6, 'start': 1958, 'end': 1980}, 11120500: {'class': 6, 'start': 1950, 'end': 2014}, 11124500: {'class': 6, 'start': 1950, 'end': 2014}, 11128400: {'class': 6, 'start': 1954, 'end': 1969}, 11141150: {'class': 6, 'start': 1967, 'end': 1992}, 11141280: {'class': 6, 'start': 1967, 'end': 2014}, 11143000: {'class': 6, 'start': 1950, 'end': 2014}, 11143500: {'class': 6, 'start': 1950, 'end': 1983}, 11148900: {'class': 6, 'start': 1971, 'end': 2014}, 11151300: {'class': 6, 'start': 1958, 'end': 2014}, 11151870: {'class': 6, 'start': 1961, 'end': 2014}, 11152900: {'class': 6, 'start': 1961, 'end': 1982}, 11153470: {'class': 6, 'start': 1971, 'end': 2010}, 11153900: {'class': 6, 'start': 1961, 'end': 1982}, 11156500: {'class': 6, 'start': 1950, 'end': 1960}, 11159690: {'class': 6, 'start': 1971, 'end': 1985}, 11160000: {'class': 6, 'start': 1951, 'end': 2014}, 11160020: {'class': 6, 'start': 1968, 'end': 1992}, 11160070: {'class': 6, 'start': 1976, 'end': 1987}, 11160300: {'class': 6, 'start': 1957, 'end': 1992}, 11160500: {'class': 6, 'start': 1950, 'end': 2014}, 11162500: {'class': 6, 'start': 1951, 'end': 2014}, 11162540: {'class': 6, 'start': 1962, 'end': 1974}, 11162570: {'class': 6, 'start': 1969, 'end': 2014}, 11169800: {'class': 6, 'start': 1960, 'end': 2014}, 11180500: {'class': 6, 'start': 1959, 'end': 2015}, 11180825: {'class': 6, 'start': 1980, 'end': 1998}, 11180960: {'class': 6, 'start': 1978, 'end': 2014}, 11181000: {'class': 6, 'start': 1950, 'end': 1965}, 11181390: {'class': 6, 'start': 1975, 'end': 1985}, 11182100: {'class': 6, 'start': 1950, 'end': 1977}, 11182500: {'class': 6, 'start': 1952, 'end': 2015}, 11183000: {'class': 6, 'start': 1952, 'end': 1964}, 11197250: {'class': 6, 'start': 1961, 'end': 1986}, 11199500: {'class': 6, 'start': 1950, 'end': 2005}, 11220500: {'class': 6, 'start': 1953, 'end': 1973}, 11274500: {'class': 6, 'start': 1950, 'end': 2014}, 11274630: {'class': 6, 'start': 1965, 'end': 2014}, 11337500: {'class': 6, 'start': 1953, 'end': 1983}, 11371000: {'class': 6, 'start': 1950, 'end': 1993}, 11372000: {'class': 6, 'start': 1950, 'end': 1961}, 11375700: {'class': 6, 'start': 1956, 'end': 1980}, 11449500: {'class': 6, 'start': 1950, 'end': 2014}, 11451100: {'class': 6, 'start': 1971, 'end': 2015}, 11460100: {'class': 6, 'start': 1965, 'end': 1986}, 11464500: {'class': 6, 'start': 1950, 'end': 1980}, 11473100: {'class': 6, 'start': 1961, 'end': 1969}, 11480800: {'class': 6, 'start': 1957, 'end': 1974}, 11522300: {'class': 6, 'start': 1957, 'end': 1965}, 11525530: {'class': 6, 'start': 2002, 'end': 2015}, 11525670: {'class': 6, 'start': 2004, 'end': 2015}, 11528700: {'class': 6, 'start': 1965, 'end': 2014}, 11116000: {'class': 7, 'start': 1950, 'end': 1983}, 11120510: {'class': 7, 'start': 1970, 'end': 1980}, 11120520: {'class': 7, 'start': 1970, 'end': 2013}, 11120550: {'class': 7, 'start': 1966, 'end': 1986}, 11132500: {'class': 7, 'start': 1950, 'end': 1987}, 11138500: {'class': 7, 'start': 1950, 'end': 2014}, 11172100: {'class': 7, 'start': 1961, 'end': 1987}, 11172945: {'class': 7, 'start': 1994, 'end': 2014}, 11173200: {'class': 7, 'start': 1968, 'end': 2014}, 11176400: {'class': 7, 'start': 1963, 'end': 2015}, 11224500: {'class': 7, 'start': 1950, 'end': 2014}, 11253310: {'class': 7, 'start': 1966, 'end': 2014}, 11379000: {'class': 8, 'start': 1950, 'end': 1982}, 10255800: {'class': 8, 'start': 1950, 'end': 1983}, 11023250: {'class': 8, 'start': 1977, 'end': 1987}, 11023310: {'class': 8, 'start': 1977, 'end': 1989}, 11023325: {'class': 8, 'start': 1976, 'end': 1989}, 11046300: {'class': 8, 'start': 1952, 'end': 2015}, 11046500: {'class': 8, 'start': 1950, 'end': 1961}, 11048553: {'class': 8, 'start': 2001, 'end': 2014}, 11058600: {'class': 8, 'start': 1950, 'end': 2015}, 11077000: {'class': 8, 'start': 1950, 'end': 1963}, 11084500: {'class': 8, 'start': 1950, 'end': 1979}, 11098000: {'class': 8, 'start': 1950, 'end': 2014}, 11100000: {'class': 8, 'start': 1950, 'end': 1970}, 11120530: {'class': 8, 'start': 1970, 'end': 1991}, 11134800: {'class': 8, 'start': 1970, 'end': 1980}, 11257500: {'class': 8, 'start': 1950, 'end': 1970}, 11258000: {'class': 8, 'start': 1950, 'end': 1970}, 11259000: {'class': 8, 'start': 1950, 'end': 1972}, 11284400: {'class': 8, 'start': 1969, 'end': 2014}, 11299600: {'class': 8, 'start': 1983, 'end': 2014}, 11334300: {'class': 8, 'start': 1957, 'end': 1980}, 11374000: {'class': 8, 'start': 1950, 'end': 1980}, 11451715: {'class': 8, 'start': 1997, 'end': 2014}, 10360900: {'class': 9, 'start': 1960, 'end': 1982}, 11355500: {'class': 9, 'start': 1968, 'end': 1988}}

removed_gauges = {10264750: 3,11191000: {'class': 2, 'start': 1945, 'end': 1952},11289650: {'class': 2, 'start': 1923, 'end': 1923}, 11302000: {'class': 2, 'start': 1956, 'end': 1956}, 10287070: {'class': 1, 'start': 1969, 'end': 1981}} #11289650 gauge becomes impaired right away

test_gauges = {99999999: {'class': 1, 'start': 1953, 'end': 1976}, 99999998: {'class': 2, 'start': 1950, 'end': 1959}, 99999997: {'class': 3, 'start': 1957, 'end': 1974}, 99999996: {'class': 4, 'start': 1950, 'end': 1959}, 99999995: {'class': 5, 'start': 1950, 'end': 1959}, 99999994: {'class': 6, 'start': 1953, 'end': 1962}, 99999993: {'class': 7, 'start': 1979, 'end': 1988}, 99999992: {'class': 8, 'start': 1953, 'end': 1976}, 99999991: {'class': 9, 'start': 1965, 'end': 1974}, 99999990: {'class': 1, 'start': 1951, 'end': 1960}, 99999989: {'class': 2, 'start': 1946, 'end': 1955}, 99999988: {'class': 3, 'start': 1967, 'end': 1976}, 99999987: {'class': 4, 'start': 1962, 'end': 1970}, 99999986: {'class': 5, 'start': 1959, 'end': 2004}, 99999985: {'class': 6, 'start': 1980, 'end': 1989}, 99999984: {'class': 7, 'start': 1997, 'end': 2006}, 99999983: {'class': 9, 'start': 1989, 'end': 1998}, 99999982: {'class': 9, 'start': 1950, 'end': 1959}}

gauge_reference = {**regular_gauges, **test_gauges}
