Dear all,
thank you for you excellent job developing wrf-python.
I'm planning to switch my old post-processing routines, which envolve creating timeseries of several variables for specific points.
Thus, I'd like to ask for some guidance. Is there some way of using wrf.getvar passing the gridpoints (or lat/lon via wrf.ll_to_xy)directly? Or I just have to use wrf.get_var for the whole grid and then extract points?
Thank You very much in advance,
Regards
Luís
--
You received this message because you are subscribed to the Google Groups "wrfpython-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-talk+unsubscribe@ucar.edu.
To post to this group, send email to wrfpyth...@ucar.edu.
Visit this group at https://groups.google.com/a/ucar.edu/group/wrfpython-talk/.
Saverio
--
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-tal...@ucar.edu.
wspd_wdir_earth = wrf.getvar(ncfile, "uvmet_wspd_wdir",timeidx=t)
wspd_1d = wspd_wdir_earth[0,:,y,x] # Leftmost index is 0 for wspd
wdir_1d = wspd_wdir_earth[1,:,y,x] # Leftmost index is 1 for wdir
wspd_z = to_np(interp1d(wspd_1d, ht_1d, levels))
wdir_z = to_np(interp1d(wdir_1d, ht_1d, levels))
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-talk+unsubscribe@ucar.edu.