Closed carleyjmartin closed 2 years ago
Check out the branch named ehn/music_setup for an idea. Used the keyword idea in coordinates.py but made some new modules and a method that will get the data required without having to go through any plotting. I've set it all up so that really you can just add the methods for the algorithm in there, and I've made a plotting specific module where we can add the plotting methods for the interpolated data and probability density functions for wave numbers (not done, just left place holders, possible we can just use the RTP with specific options for the interpolated data). Anyway, there's some peripherals like a new warning for using options meant for music only and set up the init file for new modules.
Closing as I don't think outside help is needed for this problem any more, the problem is technically solved and work on integration is ongoing.
BUG
For further development, it is requested that we remove the line that removes infinite values from
coordinates.py
As these values cause issues with plotting further down the line.
We need a solution where this line is removed/amended and the size of the
return beam_corners_lats, beam_corners_lons
is the size of the fan, but does not affect the plotting later on. Any ideas welcome!@w2naf @francistee26 please add anything that you think would be helpful to know!
Priority
Urgent only as it is required for further development, and is a failure in usage if removed.
Information
python version: OS: matplotlib version:
Example of the bug
Error output when plotting a fan plot with
'range_estimation': RangeEstimation.GSMR
with the line in the code removed:Attempts
No attempts made.
Potential Solution(s)
It's possible we set the values to NaN instead of infinity, and then the pcolormesh can deal with that? We cannot use a masked array as ground scatter is already in the masked array. Remember this line is in two of the functions in coordinates.py and needs to work for both.