Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from netCDF4 import Dataset
- import matplotlib.pyplot as plt
- import numpy as np
- from mpl_toolkits.basemap import Basemap
- nc = Dataset('ff_8ene10.nc')
- nc.variables.keys()
- lat = nc.variables['latitude'][:]
- lon = nc.variables['longitude'][:]
- levels = nc.variables['level'][:]
- t = nc.variables['t'][:]
- cc = nc.variables['cc'][:]
- cc.shape
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement