Problem with masked data

48 views
Skip to first unread message

james kim

unread,
Apr 27, 2022, 5:01:10 PM4/27/22
to Py-ART Users
Hi all,

I am having a bit of trouble plotting cross_correlation_ration from nexrad radar data but seems to be masked. Is there quick way to solve this?

 'cross_correlation_ratio': {'units': 'ratio', 'standard_name': 'cross_correlation_ratio_hv', 'long_name': 'Cross correlation_ratio (RHOHV)', 'valid_max': 1.0, 'valid_min': 0.0, 'coordinates': 'elevation azimuth range', '_FillValue': -9999.0, 'data': masked_array( data=[[0.8816666603088379, 1.034999966621399, 0.9983333349227905, ..., --, --, --], [0.9049999713897705, 0.9483333230018616, 1.0116666555404663, ..., --, --, --], [0.8650000095367432, 0.9783333539962769, 1.0149999856948853, ..., --, --, --], ..., [0.9983333349227905, 0.9883333444595337, 0.9683333039283752, ..., --, --, --], [0.9916666746139526, 0.9916666746139526, 0.9850000143051147, ..., --, --, --], [0.9850000143051147, 0.9916666746139526, 0.9983333349227905, ...,

James Kim

sherma...@gmail.com

unread,
Apr 27, 2022, 5:25:11 PM4/27/22
to Py-ART Users
Hi James,

Are you trying to plot the data without the mask? Or is the plot showing everything masked?

Zach S.

james kim

unread,
Apr 28, 2022, 12:12:02 PM4/28/22
to Py-ART Users
The plot is showing everything masked I believe since it is just blank. I have masking set to false.

sherma...@gmail.com

unread,
Apr 28, 2022, 1:44:16 PM4/28/22
to Py-ART Users
Gotcha, can you show the code your using for this?

Zach S.

David Holcomb

unread,
Apr 28, 2022, 2:27:40 PM4/28/22
to sherma...@gmail.com, Py-ART Users
This group is an archaic way to communicate. Get with the times.
--
You received this message because you are subscribed to the Google Groups "Py-ART Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyart-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyart-users/60780359-41cf-44e5-98d4-dfcecdb75a24n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages