# -*- coding: utf-8 -*- import pyadapt import glob import os file_dir = os.path.abspath('data') g = glob.glob(os.path.join(file_dir, '*')) for i in g: F = pyadapt.read(i) F.plot(save_plot=True, out_dir=os.path.abspath('plots'))
# -*- coding: utf-8 -*- import pyadapt import os file_in = os.path.abspath('./data/grwaosM1.a1.20100531.000000.cdf') plot_dir = os.path.abspath('./plots') F = pyadapt.read(file_in) F.plot(save_plot=True, out_dir=plot_dir)
import pyadapt f = '/home/jstemm/Documents/research/data/sfcmet/grwmetM1.b1.20100531.000000.cdf' SFC = pyadapt.read(f) SFC.plot(plot_output=True)