Closed dcon691 closed 8 years ago
By design, SingleDop operates on spherical-coordinate radar data. There are no plans to alter this approach since it is inherent to the mathematical development of the algorithm (Xu et al. 2006). Using Radx to grid the data ahead of time is both unnecessary and sub-optimal. Simply input the original edited radar data in spherical coordinate form.
Closing this issue since there are no plans to adjust SingleDop to work on gridded datasets.
Is it possible for singledop to read in netcdf files outputted by Radx? I edited radar data using solo then gridded them using Radx. Is it possible to read in that netcdf file into singledop to do a wind analysis on it?
Thanks!
Code: import pyart from matplotlib import pyplot as plt import numpy as np from scipy import ndimage, signal import time import os import glob import singledop
file = '/nas/rhome/dconrad/QLCS_Tor_Cases/Albertville_20150104/ARMOR/focusTimes/gridded/20150104/ncf_20150104_014241.nc'
radar = pyart.io.read(file)
sd_test = singledop.SingleDoppler2D(L=30.0, radar=radar, range_limits=[0, 100], sweep_number=0, name_vr='V4', thin_factor=[4, 12])
display = singledop.AnalysisDisplay(sd_test) display.four_panel_plot(scale=400, legend=20, return_flag=False, thin=6, levels=-30.0+2.0*np.arange(31), name_vr='VE', name_dz='AZ')
Error: