Skip to content

KeyError: 'lev_tz_cd' #217

@DrToom

Description

@DrToom

This code worked just recently but now crashes with the following error

KeyError: 'lev_tz_cd'

Any idea what I need to change to download the waterlevels?

import dataretrieval as waterdata
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt

Set the parameters needed to retrieve data

with open('well.csv', 'r') as f:
# Read the entire file content into a single string, then split by whitespace
site_id = f.read().split()

Retrieve the data

data = waterdata.get_gwlevels(sites=site_id)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions