SuperDARN / pydarn

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

Patch Release: v3.1.1 #306

Closed carleyjmartin closed 1 year ago

carleyjmartin commented 1 year ago

Release!

This PR merges the patch release changes for v3.1.1 into main.

This patch release includes:

issue: close #301

Approval

Number of approvals: 3 please DEADLINE: 31st March at the latest (we want this out ASAP though as I'm getting a lot of people emailing for help with this issue)

Test

Note testers: please indicate what version of matplotlib you are using

I have uploaded a copy of this version to testpypi, you can test the installation using: pip3 install -i https://test.pypi.org/simple/ pydarn NOTE: testpypi does not install dependencies! You can install them separately, or just install then uninstall the current pydarn version to get them all there. If you pip3 list it should show that you have 3.1.102 installed, this is correct to get around version control on testpypi. Check that the hdw repo is inside the utils package with all the radar files including ICE and ICW. pip3 show pydarn will tell you where the library is installed

You can test the new hdw files by plotting the FOV of the new radars:

import pydarn
from datetime import datetime
import matplotlib.pyplot as plt 

plt.figure(figsize=(8,8))
_,_,ax1,ccrs1=pydarn.Fan.plot_fov(211, datetime(2023, 1, 24, 0, 0), radar_location=True, radar_label=True, lowlat= 30, boundary=True,fov_color='red',coords=pydarn.Coords.GEOGRAPHIC ,projs=pydarn.Projs.GEO, coastline=True)
pydarn.Fan.plot_fov(210, datetime(2023, 1, 24, 0, 0), radar_location=True, ccrs=ccrs1,  ax=ax1, boundary=True, fov_color='blue',coords=pydarn.Coords.GEOGRAPHIC ,projs=pydarn.Projs.GEO)
plt.show()

https://user-images.githubusercontent.com/60905856/220469818-04acf81f-52f9-40fc-9f39-34697b2a9922.png

If possible, just plot a few general plots to make sure everything is ok, there are no other changes so nothing should be different.

Thanks!

Shirling-VT commented 1 year ago

matplotlib 3.4.3 python 3.7.17 MacOS Monterey 12.5.1

I did the following tests, everything works fine for me:

  1. Create a new conda environment;

  2. pip install pydarn and pip uninstall pydarn to get the dependencies;

  3. pip install -i https://test.pypi.org/simple/ pydarn to get the test patch release version of pydarn, and shows that I installed pydarn 3.1.102 sucessfully;

  4. Checked that the hdw repo is inside the utils package with all the radar files including ICE and ICW.

  5. Installed cartopy in the new conda environment using: conda install -c conda-forge cartopy. (It took a while though)

  6. Test the FOV plot is working with the following plot being generated: image

  7. Tried the time series, Summary, RTI, Fan, Grid, and Map plots, all working fine for me.