Replies: 12 comments
-
Should mention that this list is in no way a indication that all of these ideas will be implemented. Rather that they are being considered. |
Beta Was this translation helpful? Give feedback.
-
I can't find this anymore, but in some issue it was discussed about Grids with non-uniform gates. You may want to add this as a topic there, I think it is worth considering. |
Beta Was this translation helpful? Give feedback.
-
Do you mean radars or grid objects? On 10/1/15 12:38 PM, Anderson wrote:
|
Beta Was this translation helpful? Give feedback.
-
I mean grid objects, i.e. non uniform "x_disp", "y_disp" and "z_disp". Radar objects being based in CfRadial should already accept non-uniform range and time axes; there may be some function that presuppose uniformity in Radar, but I would classify that (if not documented) as a Bug. |
Beta Was this translation helpful? Give feedback.
-
Yes. This is work that WILL be done. Either part of Py-ART or something On 10/1/15 12:56 PM, Anderson wrote:
|
Beta Was this translation helpful? Give feedback.
-
Starting a new progress is also good, them we can make a fresh start and extend py-ART later. Of course you are following issues #285 and #294, there are important considerations there. |
Beta Was this translation helpful? Give feedback.
-
Issue #350 covers non-uniform grids. I'll add a link in the top comment. |
Beta Was this translation helpful? Give feedback.
-
Closing a few NEXRAD related ideas with the merging of PR #455 |
Beta Was this translation helpful? Give feedback.
-
Once PR #463 is merged this will be possible using the import matplotlib.pyplot as plt
import pyart
radar = pyart.io.read('XSW110520105408.RAW7HHF')
data = radar.get_field(0, 'reflectivity')
x, y, z = radar.get_gate_x_y_z(0, edges=True)
plt.pcolormesh(x, y, data, vmin=-32, vmax=64.)
plt.show() You still need to choose the correct pair from x, y, or z, but I think this should be sufficient. |
Beta Was this translation helpful? Give feedback.
-
With PR #468 merged it is possible to create categorical or non-linear colorbars by specifying the norm keyword. For example: import matplotlib as mpl
import matplotlib.pyplot as plt
import pyart
radar = pyart.io.read('KLOT20130418_043539_V06.gz')
bounds = [-7.5, 12.25, 22.5, 35.5, 77.5]
cmap = mpl.cm.get_cmap('pyart_NWSRef')
norm = mpl.colors.BoundaryNorm(bounds, cmap.N)
display = pyart.graph.RadarDisplay(radar)
display.plot('reflectivity', norm=norm, cmap=cmap)
plt.show() |
Beta Was this translation helpful? Give feedback.
-
This is great! I just implemented something similar in AWOT using a 'discrete_cmap_levels' keyword. |
Beta Was this translation helpful? Give feedback.
-
Updated list to indicate that field specific colormaps and luminosity limits were added by PR #464 |
Beta Was this translation helpful? Give feedback.
-
This is a meta-issue for keeping track of ideas that were discussed with Py-ART users and supporters at the 2015 AMS radar conference. Expect this top level comment to be edited to reflect changes as development progressed. Some of these issue already have their own issue in the tracker, I'll add links to these when possible.
Please provide any additions to this list. Feel free to share opinions as to the priority of any of these ideas.
Idea for Py-ART from the conference broken down by area
pyart.io
pyart.correct
pyart.graph
pyart.grid
pyart.retrieve
Other
Documenation
Beta Was this translation helpful? Give feedback.
All reactions