You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r = requests.get(url, authorization = (username, password), allow_redirects = True) # Don't use the 'authorization' parameter if the dataset-archive (website) credentials are not required to access
open (str(year) + '.nc', 'wb').write(r.content) # Changing the file name as '19xx.nc' while saving