We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
direct access of opendata.dwd.de:
from ftplib import FTP def open_ftp(): host = "opendata.dwd.de" user = "anonymous" password = "anonymous" ftp = FTP(host) ftp.login(user, password) return ftp def get_dirs_ftp(ftp, folder=""): contents = ftp.nlst(folder) folders = [] for item in contents: if "." not in item: folders.append(item) return folders ftp = utils.open_ftp() ftp_dirs = utils.get_dirs_ftp(ftp, "weather/radar/composit/rx/") filelist = ['ftp://opendata.dwd.de/' + item for item in ftp_dirs] data, meta = self.rfunc(urlopen(self.filelist[0]))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
direct access of opendata.dwd.de:
The text was updated successfully, but these errors were encountered: