Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. #Import modules
  2. from __future__ import print_function
  3. import numpy as np
  4. import matplotlib.pyplot as plt
  5. from copy import deepcopy
  6. import multidop
  7. import pyart
  8. import tempfile
  9. import os
  10. import glob
  11. import time
  12.  
  13. #Create the file names
  14. basepath = '/nas/rhome/lheusche/Python/MultiDoppler/'
  15. f6=glob.glob(basepath+'KGWX*.nc')
  16. f1 = ('/nas/rhome/lheusche/Python/MultiDoppler/KGWXncf_20180319_210816.nc')
  17. #f2 = glob.glob(basepath +'ARMORncf_20180319_210459.nc')
  18. print(f1)
  19.  
  20. #Read the files with Py-ART
  21. r1 = pyart.io.read(f1[0])
  22. #r2 = pyart.io.read(f2[0])
  23. print(r1.fields.keys())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement