Skip to content

Instantly share code, notes, and snippets.

@abhishekmamdapure
Last active June 11, 2020 11:00
Show Gist options
  • Save abhishekmamdapure/bb6865bea6caa9aaf8b6d90753473f65 to your computer and use it in GitHub Desktop.
Save abhishekmamdapure/bb6865bea6caa9aaf8b6d90753473f65 to your computer and use it in GitHub Desktop.
file = '1966.nc' # mention the path to the downloaded file
data = Dataset(file, mode='r') # read the data
print(type(data)) # print the type of the data
print(data.variables.keys()) # print the variables in the data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment