GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — wrf-python/test/generator_test.py at develop · xenos-code/wrf-python Expand file tree/ Copy pathgenerator_test.pyMore file actions 19 lines (12 loc) · 416 Bytes / Copy pathgenerator_test.pyFile metadata and controls19 lines (12 loc) · 416 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 from __future__ import (absolute_import, division, print_function, unicode_literals) from wrf import getvar from netCDF4 import Dataset as nc ncfile = nc("/Users/ladwig/Documents/wrf_files/wrfout_d01_2016-10-07_00_00_00") def gen_seq(): wrfseq = [ncfile, ncfile, ncfile] for wrf in wrfseq: yield wrf p_gen = getvar(gen_seq(), "P", method="join") print(p_gen) del p_gen |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |