SuperDARN / pydarn

Python library for visualizing SuperDARN Data
GNU Lesser General Public License v3.0
31 stars 11 forks source link

BUG: Default lowlat used in contour plotting different to default in proj #376

Closed carleyjmartin closed 5 months ago

carleyjmartin commented 6 months ago

BUG

This bug appears when lowlat is not set in convection maps. Default lowlat generally is 30 in projs, but inside conculate_potentials the default is 60. Contours will only be calculated down the the 60 instead of the hmb or lowest latitude. Very small fix and does not change data that is plotted so minor for now. Normally I would just fix this as it's so minor, but I don't have time right now and will get to it later if no one else wants a cheeky 1-line PR for authorship on a next minor release.

Priority

Example of the bug

Any call to pydarn.Maps.plot_mapdata with data below 60.

Attempts

What have you tried already to fix it? Changed int=60 to int=30 in line 904

What have you tried to get around it? For now you can set a lowlat value and it will work fine, don't use the default.

Potential Solution(s)

See attempt above