Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELEASE: pyDARN Version 4.0! #358

Merged
merged 160 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from 158 commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
2130874
ported davit calc elevation code
carleyjmartin Nov 3, 2022
8a2fe3b
elevation angles using Simon's method
bharatreddy Dec 21, 2022
401e262
flake 8
carleyjmartin Jan 10, 2023
00093b8
Merge branch 'develop' into ehn/tdiff-correction
carleyjmartin Jan 10, 2023
910b1f6
include amended boxcar filtering code
carleyjmartin Feb 3, 2023
2ba41e1
include documentation on using boxcar filter
carleyjmartin Feb 3, 2023
6ff5fc7
add beam option to plot only single beam data or diagrams, flake8
carleyjmartin Feb 6, 2023
dd76e9c
update documentation
carleyjmartin Feb 6, 2023
66112d1
uncommented terminator code, converting from js, unfinished
carleyjmartin Feb 10, 2023
f0e10ec
gave up plotting self made terminator, got cartopy to plot at height …
carleyjmartin Feb 13, 2023
03886c6
kindof working, same plotting problems as before for mag units, using…
carleyjmartin Feb 14, 2023
5bfb11d
minor changes, will not be working on further
carleyjmartin Feb 15, 2023
e8e4c87
commit code, not finished
carleyjmartin Feb 17, 2023
4426ea7
including elevation in the filtering
carleyjmartin Feb 21, 2023
96b39ec
nightshade for geo only, options given to plot terminator for magneti…
carleyjmartin Feb 21, 2023
77fed60
finish off docs
carleyjmartin Feb 22, 2023
ac9b9e4
mod line
carleyjmartin Feb 22, 2023
1272a92
ball and stick options for fan plots, include addition for azimuth ca…
carleyjmartin Mar 1, 2023
f90044c
keyword for setting interferometer offset
carleyjmartin Mar 1, 2023
65d01a1
fix points plotting below low lat value on axis for map plots
carleyjmartin Mar 23, 2023
e4439d1
Merge pull request #296 from SuperDARN/ehn/boxcar-filter
carleyjmartin Mar 24, 2023
19a3c14
Merge branch 'develop' into ehn/tdiff-correction
carleyjmartin Mar 24, 2023
d1882d1
Merge branch 'develop' into ehn/terminator
carleyjmartin Mar 24, 2023
437557e
Merge pull request #298 from SuperDARN/ehn/single-beam
carleyjmartin Mar 24, 2023
2bac084
Merge pull request #290 from SuperDARN/ehn/tdiff-correction
carleyjmartin Mar 24, 2023
e417389
Merge branch 'develop' into ehn/terminator
carleyjmartin Mar 24, 2023
b11083f
Merge branch 'develop' into ehn/ball-and-stick
carleyjmartin Mar 24, 2023
4583d0d
do partial record check before hemisphere
carleyjmartin Apr 21, 2023
16a486f
use nvec field to check if vectors exist to plot before
carleyjmartin Apr 21, 2023
dcc0d3b
Merge pull request #311 from SuperDARN/fix/grid-hemi
carleyjmartin Apr 24, 2023
52887a7
data out of order bug fix
carleyjmartin Apr 28, 2023
a0fe474
Update README.md
carleyjmartin Apr 28, 2023
e3c066d
Merge pull request #313 from SuperDARN/fix/timestamp-ordering-bug
carleyjmartin May 4, 2023
d869730
Fixed function descriptions in projections.py
billetd May 15, 2023
fde7181
Update pydarn/plotting/projections.py
billetd May 15, 2023
35a73ab
Add descriptions of date and coastline parameters
billetd May 15, 2023
8a2031f
Merge pull request #315 from SuperDARN/fix/projections_comments
carleyjmartin May 15, 2023
d1a82ca
Merge pull request #309 from SuperDARN/fix/map_lowlat_vectors
carleyjmartin May 19, 2023
795980c
Merge pull request #303 from SuperDARN/ehn/terminator
carleyjmartin May 19, 2023
0e7e913
remove citations warning on import, fix depreciation warnings in RTP …
carleyjmartin Jun 1, 2023
a067f1e
remove defunct warning message
carleyjmartin Jun 1, 2023
133fab7
this change was out of scope, so putting back and doing in another pr
carleyjmartin Jun 1, 2023
304b7ea
make citations module, remove defunct const.py
carleyjmartin Jun 9, 2023
ce3b51a
remove citations warning, add print statments for citations and ackno…
carleyjmartin Jun 9, 2023
70dda3d
typo
carleyjmartin Jun 9, 2023
971cf84
new plot_coords_time method to plot the lat or lon along a beam in th…
carleyjmartin Jun 12, 2023
b93ca69
add coord plot option to summary plots
carleyjmartin Jun 12, 2023
0e0241b
set default colormap for elevation to inferno
carleyjmartin Jun 12, 2023
be7e20a
replace colormap in fan plot, fix grid not showing up
carleyjmartin Jun 12, 2023
f8a064b
fix colormap depreciation
carleyjmartin Jun 13, 2023
1995fbf
remove grid line fix
carleyjmartin Jun 13, 2023
63c7ffd
consolidate colormap data to one module for ease of import handling
carleyjmartin Jun 13, 2023
f6892d7
expose potential vmin vmax
w2naf Jun 15, 2023
6129d8d
map rtp proofish of concept
PrestonXPitzer Jun 19, 2023
a5dd1f8
fixed param bugs
PrestonXPitzer Jun 19, 2023
a29dd22
basis for plotting down, not finished
carleyjmartin Jun 19, 2023
6629c79
cleaned up stuff
PrestonXPitzer Jun 21, 2023
48bfbc2
iq sample plotting working as required
carleyjmartin Jun 21, 2023
2b8d250
add phase option plot
carleyjmartin Jun 21, 2023
9955d73
allow IQ time seires plots to link with the RTP time series plots
carleyjmartin Jun 21, 2023
9fda89d
Update pydarn/plotting/rtp.py
carleyjmartin Jun 22, 2023
c4fade7
Update pydarn/plotting/rtp.py
carleyjmartin Jun 22, 2023
dfe079a
overview and single record plots working
carleyjmartin Jun 23, 2023
df75f71
tidy and flake8
carleyjmartin Jun 23, 2023
4359766
docstrings
carleyjmartin Jun 23, 2023
fbc0cd1
add iq plots to documentation
carleyjmartin Jun 23, 2023
f952996
Merge pull request #332 from SuperDARN/ehn/elevation-inferno
carleyjmartin Jun 23, 2023
0e4b52c
Fixed usage of axes object in fan.py
RemingtonRohel Jun 23, 2023
66a5237
freq channel handling
carleyjmartin Jun 23, 2023
c4379d6
removed checks for read_dmap
carleyjmartin Jun 23, 2023
92a4710
watermark off os default
carleyjmartin Jun 26, 2023
27fbbcb
default nave line and axis color to blue
carleyjmartin Jun 26, 2023
26821be
standardize plotting outputs, flake8
carleyjmartin Jun 27, 2023
57ddb92
modification lines and bug fixes
carleyjmartin Jun 28, 2023
c427abe
update documentation
carleyjmartin Jun 28, 2023
917fd48
fixed positions for radar labels
carleyjmartin Jun 28, 2023
e71d18c
read in coastlines if cartopy not installed, needs tidying
carleyjmartin Jun 29, 2023
18fcee5
projections working for premade coastlines, some giving nans
carleyjmartin Jun 30, 2023
1e3338d
make pot min and max amend the contour level creation, add contour_sp…
carleyjmartin Jun 30, 2023
af64bd7
set potmin and max for when user sets contour levels
carleyjmartin Jun 30, 2023
e961a3a
grid plotting quivers fixed, made a general utils class and moved a f…
carleyjmartin Jul 13, 2023
dc0fdcd
adding cls
carleyjmartin Jul 13, 2023
070baec
new range estimation, move gsmr eqn to gsmr_bristow
carleyjmartin Jul 25, 2023
06757c1
Merge pull request #342 from SuperDARN/ehn/citations
carleyjmartin Jul 25, 2023
c99c539
slant range/2, warning added for bristow eqn sqrt, reflection replace…
carleyjmartin Jul 26, 2023
45510cf
geographic outlines in file, projections amended if cartopy not detected
carleyjmartin Aug 1, 2023
0e8f153
Merge branch 'develop' into ehn/premade-coastlines
carleyjmartin Aug 1, 2023
d87bc67
Merge pull request #344 from SuperDARN/ehn/radar_label_psns
carleyjmartin Aug 4, 2023
9df41b6
PEP8 compliance
PrestonXPitzer Aug 9, 2023
c99c8f0
Minor fix for ax in projections.py
RemingtonRohel Aug 11, 2023
7994d4c
Merge branch 'develop' into fix/fov_on_axis
carleyjmartin Aug 16, 2023
3306b8e
Merge pull request #336 from PrestonXPitzer/feature-map-rtp
carleyjmartin Aug 16, 2023
2be7d34
use bmoff and direction of bmsep
carleyjmartin Aug 16, 2023
ce51370
fix winding order in fov plots
carleyjmartin Aug 16, 2023
f9b8ea4
grid is true
carleyjmartin Aug 21, 2023
9b66ac7
Merge pull request #339 from SuperDARN/fix/fov_on_axis
carleyjmartin Aug 21, 2023
57eb37f
Merge branch 'develop' into ehn/ball-and-stick
carleyjmartin Aug 21, 2023
1e50d64
Merge pull request #304 from SuperDARN/ehn/ball-and-stick
carleyjmartin Aug 21, 2023
3e7795b
rework for definition of center variable change, psi -ve to +ve, mod …
carleyjmartin Aug 21, 2023
9adbb66
Merge branch 'develop' into ehn/psi-correction
carleyjmartin Aug 21, 2023
b81c220
mod line
carleyjmartin Sep 14, 2023
a797a04
Merge branch 'develop' into ref/rtp-warnings
carleyjmartin Oct 6, 2023
e5741f6
Merge pull request #328 from SuperDARN/ref/rtp-warnings
carleyjmartin Oct 6, 2023
df62130
Merge pull request #340 from SuperDARN/dep/read-dmap-checks
carleyjmartin Oct 6, 2023
85ec74e
Merge pull request #341 from SuperDARN/ehn/summary-plot-defaults
carleyjmartin Oct 6, 2023
a7570e2
Merge branch 'develop' into ehn/iq_plotting
carleyjmartin Oct 6, 2023
b6f911b
Merge branch 'develop' into ehn/latitude-time-plots
carleyjmartin Oct 6, 2023
0e8c65e
Merge pull request #345 from SuperDARN/map_cbar
carleyjmartin Oct 6, 2023
014079f
Merge branch 'develop' into fix/geo_grid_quivs
carleyjmartin Oct 6, 2023
bcdd0e2
Merge pull request #347 from SuperDARN/fix/geo_grid_quivs
carleyjmartin Oct 6, 2023
23f4f1a
Merge branch 'develop' into ehn/standardize_plot_return
carleyjmartin Oct 6, 2023
fc67f94
Merge branch 'develop' into ehn/premade-coastlines
carleyjmartin Oct 6, 2023
e849d1b
Merge pull request #350 from SuperDARN/ehn/premade-coastlines
carleyjmartin Oct 20, 2023
fe87f61
resolving merge conflicts
carleyjmartin Oct 20, 2023
adedf09
allow user to choose which section of data to plot in latitude
carleyjmartin Oct 30, 2023
6912875
added some parameters to map and pwr plot return values
carleyjmartin Oct 30, 2023
4ac0a20
Merge pull request #331 from SuperDARN/ehn/latitude-time-plots
KhanalKrishna Nov 11, 2023
d5840ee
pre-release checklist
carleyjmartin Nov 13, 2023
c71a5c7
update and add to testing
carleyjmartin Nov 14, 2023
3ad3ea8
include new required read the docs config file
carleyjmartin Nov 14, 2023
1b15ad3
amend config file to make docs work
carleyjmartin Nov 14, 2023
c5bf57d
update documentation
carleyjmartin Nov 14, 2023
bdc340e
docs typo
carleyjmartin Nov 14, 2023
b6b2863
update requirements and setup config
carleyjmartin Nov 21, 2023
fdc1738
update zenodo
carleyjmartin Nov 21, 2023
3689cb2
Several small changes as part of code review.
RemingtonRohel Nov 21, 2023
3055f4c
suggestions from code review
carleyjmartin Nov 22, 2023
c44969e
standard plot returns and cmap choice added
carleyjmartin Nov 22, 2023
3549ec7
Merge pull request #356 from SuperDARN/ehn/new-gsmr-eqn
carleyjmartin Nov 23, 2023
2a92b41
Merge pull request #353 from SuperDARN/ehn/psi-correction
carleyjmartin Nov 23, 2023
509789a
Merge branch 'develop' into release/4.0
carleyjmartin Nov 23, 2023
98d81b4
Merge branch 'develop' into ehn/standardize_plot_return
carleyjmartin Nov 23, 2023
4db88b3
plot return dict for coord time plots
carleyjmartin Nov 23, 2023
74e95f3
Merge pull request #343 from SuperDARN/ehn/standardize_plot_return
carleyjmartin Nov 23, 2023
c72f5b8
Merge branch 'develop' into release/4.0
carleyjmartin Nov 23, 2023
525532f
update docs
carleyjmartin Nov 23, 2023
4849721
bug fix in maps, code tidying after recent merges
carleyjmartin Nov 28, 2023
0ed3ea5
fix bug in fitted velocity in map files below HMB
carleyjmartin Nov 30, 2023
ae0cb2c
finish requested bug fix for maps
carleyjmartin Dec 7, 2023
f118c6a
Merge pull request #338 from SuperDARN/ehn/iq_plotting
carleyjmartin Dec 14, 2023
e3eaa2d
Merge branch 'develop' into release/4.0
carleyjmartin Dec 14, 2023
78b05bb
Major refactor of acf.py
RemingtonRohel Dec 15, 2023
32900c2
New time of flight range estimation.
RemingtonRohel Dec 15, 2023
037427c
Changes ACF phase plotting to plot in degrees.
RemingtonRohel Dec 15, 2023
4b9ed24
Fixed bug with plot_blank=False ylim determination.
RemingtonRohel Dec 18, 2023
457bc35
Merge pull request #359 from SuperDARN/acf_plot_refactor
carleyjmartin Dec 18, 2023
dca8a54
Merge branch 'develop' into release/4.0
carleyjmartin Dec 18, 2023
f6ce1ce
add options for TOF in rtp
carleyjmartin Dec 21, 2023
75ba848
dont use time of flight to calculate distance
carleyjmartin Dec 21, 2023
fc3afc9
fix for line color bug in rtp
carleyjmartin Dec 21, 2023
b850be9
doc string for line color
carleyjmartin Dec 21, 2023
da4385d
filter setting doc string
carleyjmartin Dec 21, 2023
049d5a8
fix geographic grid bug
carleyjmartin Dec 21, 2023
f0df35c
amend zenodo
carleyjmartin Dec 21, 2023
d4d129c
installation updates docs
carleyjmartin Dec 21, 2023
a1049d4
last read over of documentation
carleyjmartin Dec 21, 2023
77fbe11
Merge pull request #360 from SuperDARN/time_of_flight_range
carleyjmartin Dec 22, 2023
060db06
Merge branch 'develop' into release/4.0
carleyjmartin Dec 22, 2023
de884e1
Update mkdocs.yml
carleyjmartin Dec 22, 2023
c5cd8d2
grid bug refix
carleyjmartin Jan 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
# sphinx:
# configuration: docs/conf.py
mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
77 changes: 41 additions & 36 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"creators":[
"creators": [
{
"name": "SuperDARN Data Visualization Working Group"
},
Expand All @@ -8,67 +8,72 @@
"name": "Martin, C.J.",
"orcid": "0000-0002-8278-9783"
},
{
"affiliation": "Virginia Tech",
"name": "Shi, X.",
"orcid": "0000-0001-8425-8241"
},
{
"affiliation": "University of Saskatchewan",
"name": "Schmidt, M.T.",
"orcid": "0000-0002-3265-977X"
"name": "Rohel, R.A.",
"orcid": "0000-0003-2208-1553"
},
{
"affiliation": "Lancaster University",
"name": "Day, E. K.",
"orcid": "0000-0002-0169-6201"
"affiliation": "Virginia Tech",
"name": "Kunduri, B.S.R.",
"orcid": "0000-0002-7406-7641"
},
{
"affiliation": "The University Centre in Svalbard",
"name": "Bland, E.C.",
"orcid": "0000-0002-0252-0400"
"affiliation": "Virginia Tech",
"name": "Pitzer, P."
},
{
"affiliation": "University of Alabama",
"name": "Khanal, K.",
"orcid": "0000-0003-3927-7501"
"orcid": "0000-0003-3927-7501"
},
{
"affiliation": "University of Saskatchewan",
"name": "Billett, D.D.",
"orcid": "0000-0002-8905-8609"
"affiliation": "Virginia Tech",
"name": "Shi, X.",
"orcid": "0000-0001-8425-8241"
},
{
"affiliation": "University of Scranton",
"name": "Frissell, N.",
"orcid": "0000-0002-8398-4222"
},
{
"affiliation": "SANSA",
"name": "Hiyadutuje, A.",
"orcid": "0000-0002-3391-8737"
},
{
"affiliation": "Virginia Tech",
"name": "Kunduri, B.S.R.",
"orcid": "0000-0002-7406-7641"
"name": "Chakraborty, S.",
"orcid": "0000-0001-6792-0037"
},
{ "affiliation": "University of Scranton",
"name": "Tholley, F."
{
"affiliation": "Dartmouth College",
"name": "Thomas, E. G.",
"orcid": "0000-0001-8036-8793"
},
{
"affiliation": "University of Scranton",
"name": "Frissell, N.",
"orcid": "0000-0002-8398-4222"
"affiliation": "University of Newcastle",
"name": "Waters, C. L.",
"orcid": "0000-0003-2121-6962"
},
{
"affiliation": "Virginia Tech",
"name": "Coyle, S.",
"orcid": "0000-0003-1730-2753"
"affiliation": "University of Saskatchewan",
"name": "Billett, D.D.",
"orcid": "0000-0002-8905-8609"
},
{
"affiliation": "University of Saskatchewan",
"name": "Rohel, R.A.",
"orcid": "0000-0003-2208-1553"
"name": "Galeshuck, D."
},
{
"affiliation": "University of Saskatchewan",
"name": "Kolkman, T.J.",
"orcid": "0000-0001-9759-9045"
"name": "Detwiller, M."
},
{
"affiliation": "University of Saskatchewan",
"name": "Krieger, K.J.",
"orcid": "0000-0002-3678-4201"
}]
}
"name": "Schmidt, M.T.",
"orcid": "0000-0002-3265-977X"
}
]
}
39 changes: 21 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,24 @@ Python data visualization library for the Super Dual Auroral Radar Network (Supe

## Changelog

## Version 3.1.1 - Patch Release!

This patch release includes:
- **Bug fix** `hdw` repository installation issues resolved
- Inclusion of ICE and ICW in `hdw` repository and superdarn_radars module

Most recent minor release (3.1.0) changes listed below:
- Full Cartopy coastline plotting options for all spatial plots
- **NEW** `coastline` keyword in method calls
- Full Cartopy integration for plotting in geographic coordinates for grid and fan plots
- Completed polar coordinate convection maps including reference vector and many customization options
- Improved ACF plotting
- New `HALF_SLANT` range estimation for RTP
- **Bug fix** Multiple fan plots now available on one axis
- **Bug fix** `lowlat` keyword now available for geographic coordinate plots
- **Bug fix** Colorbars now extend/don't extend as required
along with many other minor improvements and bug fixes!
## Version 4.0 - Major Release!

This major release includes:
- **NEW** IQ level data plotting
- **NEW** Latitude and longitude y-axis in RTP
- **NEW** Ball and stick plots
- **NEW** Map file variable time series plotting
- **NEW** Terminator plotting
- Coastlines available in magnetic coordinate spatial plots without Cartopy
- More flexibility in fan plots - single beams/ range gate range options
- TDiff correction for elevation data available
- Boxcar filtering available for data before plotting
- Corrections to geolocation algorithms
- Standardized plot return values across all plots
- **Bug fix** Radar position labels no longer overlap
- **Bug fix** Warning use refactored
- **Bug fix** Multiple bug fixes for data handling and plotting in grid plots
- **Bug fix** Multiple bug fixes for the aesthetics of convection maps


## Documentation
Expand Down Expand Up @@ -61,7 +62,9 @@ plt.show()

[summary plot](docs/imgs/summary_clyb2.png)

For more information and tutorials on pyDARN please see the [tutorial section](https://pydarn.readthedocs.io/en/latest/index.html)
For more information and tutorials on pyDARN please see the [tutorial section](https://pydarn.readthedocs.io/en/latest/index.html).

We also have a [Jupyter notebook](https://zenodo.org/record/7005203) with many examples to support our recent [publication](https://doi.org/10.3389/fspas.2022.1022690).

## Getting involved

Expand Down
70 changes: 70 additions & 0 deletions docs/dev/developing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!--Copyright (C) 2023 SuperDARN Canada, University of Saskatchewan
Author(s): Carley Martin
Modifications:

Disclaimer:
pyDARN is under the LGPL v3 license found in the root directory LICENSE.md
Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.

This version of the GNU Lesser General Public License incorporates the terms
and conditions of version 3 of the GNU General Public License, supplemented by
the additional permissions listed below.
-->

# Quick Guide to Developing

Once you have decided on an issue that you would like to develop, or have decided to develop your own feature, you can follow the rough guidelines below to develop your feature.
Each developer has different preferences on how they develop, text editors, OS and style. All are valid and you can use whatever method you wish to achieve the development of a new feature. Below is a quick run-through of how I (Carley) develop a new feature using a basic text editor and command line directly as a branch of the main repository.
It is not required, but probably useful if you have a relatively good knowledge and some experience of writing code in python - however, any style or efficiency issues can be picked up by the testers and fixed then!

Firstly, if you don't have the repository cloned, find a suitable location where you would like the repo and clone:
```
git clone https://github.com/SuperDARN/pydarn.git
```
The default branch is `develop` so your repository will already be showing the development branch. If you have the repository clones already, make sure to pull any new changes to the develop branch:
```
cd pydarn
git pull origin develop
```
Now, we want to make a new 'branch' of the repository where only the changes you are making will be present and it won't interfere with anyone else developing.
```
git checkout -b ehn/new-feature-name
```
This command will create a new branch with the name 'ehn/new-feature-name' and move to that new branch.

You can now change any code in the new branch and it will not effect the development branch. You can add a whole new module - make sure you add anything you wish to call using pyDARN to the `__init__.py` file.

I suggest that you install and run the code frequently during development to check that everything is running as expected.
To do this make a virtual environment, install the branch of pyDARN and run some testing code you have developed.
```
python3 -m virtualenv (or venv if 3.10+) venv-feature-name
source venv-feature-name/bin/activate
cd pydarn (make sure you are in the pydarn git repository)
pip3 install .
python3 your_testing_code.py
```

!!! Note
If repeatedly testing, make sure to uninstall pydarn before reinstalling to pick up the changes.
`pip3 uninstall pydarn`

If you wish to push finished or partially finished code to the repository on GitHub so others can see and test:
```
git status
git add .
git commit -m 'commint message here - what did you change, what's new ect.'
git push origin ehn/new-feature-branch
```

You can then continue developing, or if you have completed the feature, make a [pull request](dev/PR.md)!

# Tips to Keep in Mind

- If making a whole new module, read up on how to structure and have the module accessible to the rest of the code: [library structure](https://docs.python-guide.org/writing/structure/)
- Make a short piece of code that tests your feature - this is helpful for you to test as you develop but also helpful to show testers how they can use your new feature.
- Make sure that the code does not interfere with, change or break another part of the code base - this means you need to test anything peripheral to the code you have added too.
- Write up some documentation! Documentation can be found in the docs directory and is written in markdown.
- [Kwargs](https://realpython.com/python-kwargs-and-args/) - very useful to pass keyword arguments through various methods.
- [Enum](https://realpython.com/python-kwargs-and-args/) is extremely helpful for when a keyword has multiple options to choose from (not just True, False).
- pyDARN has implemented a standard return dictionary, so make sure that if you develop a new plot that you format your plot return the same as all others.
Binary file added docs/imgs/CTP_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/ball_and_stick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/ctp_equator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/ctp_pole.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/filtered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/iq1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/iq2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/iq3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/iq4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/map_ts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/unfiltered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ If you have any questions or concerns please submit an **Issue** on the SuperDAR
- [Axes Setup](user/axis.md)
- [Ranges, Coords and Projs](user/coordinates.md)
- [Range-Time plots](user/range_time.md)
- [Coordinate-Time plots](user/coord_time.md)
- [Time-Series plots](user/time_series.md)
- [Summary plots](user/summary.md)
- [FOV plots](user/fov.md)
Expand All @@ -28,14 +29,16 @@ If you have any questions or concerns please submit an **Issue** on the SuperDAR
- [Convection Map Potential plots](user/map.md)
- [Power plots](user/power.md)
- [ACF plotting](user/acf.md)
- [IQ Plotting](user/iq.md)
- [Filtering data](user/filters.md)
- [Logging](user/logging.md)
- [pyDARN Team](dev/team.md)
- [Communication Guidelines](dev/communication.md)
- [Copyrighting and Licensing](dev/copyright_license.md)
- Workflow
- [Projects](dev/projects.md)
- [Issues](dev/issues.md)
- [Branches](dev/branching.md)
- [Developing](dev/developing.md)
- [Unit Testing](dev/pytest.md)
- [Pull Requests](dev/PR.md)
- [Testing](dev/testing.md)
Expand Down
32 changes: 17 additions & 15 deletions docs/user/axis.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
# Axes Setup

For spatial plots (FOV, Fan, Grid), pyDARN allows users to choose between Polar and
For some spatial plots (FOV, Fan, Grid), pyDARN allows users to choose between Polar and
Geographic axes using the `projs` keyword and `Projs` module.
Convection maps do not allow for geographic projects due to lack of interest.
Convection maps do not allow for geographic projections due to lack of interest.

## Projs.POLAR

| Option | Action |
| ---------------------------- | ----------------------------------------------------------------- |
| lowlat=(int) | Lower Latitude boundary for the polar plot (degree) (default: 30) |
| hemisphere=(pydarn.Hemisphere) | Hemisphere of the radar (default: Hemisphere.North) |
| coastline=(bool) | Uses Cartopy to add outlines fo the coastlines below data |
| Option | Action |
| ------------------------------ | ----------------------------------------------------------------------------------- |
| lowlat=(int) | Lower Latitude boundary for the polar plot (degree) (default: 30) |
| hemisphere=(pydarn.Hemisphere) | Hemisphere of the radar (default: Hemisphere.North) |
| coastline=(bool) | Uses Cartopy to add outlines to the coastlines below data |
| nightshade=(int) | Uses the value given to calculate and show where on the plot the Earth is in shadow |


This choice will return an `ax` object and a value of None for `ccrs`.
This choice will return an `ax` object and a value of None for the Cartopy `ccrs` (coordinate reference system).

## Projs.GEO

**REQUIRES CARTOPY INSTALLATION**

| Option | Action |
| ---------------------------- | ----------------------------------------------------------------- |
| lowlat=(int) | Lower Latitude boundary for the polar plot (degree) (default: 30) |
| hemisphere=(pydarn.Hemisphere) | Hemisphere of the radar (default: Hemisphere.North) |
| coastline=(bool) | Uses Cartopy to add outlines fo the coastlines below data |
| grid_lines=(bool) | Uses Cartopy to plot grid lines |
| Option | Action |
| ------------------------------ | ----------------------------------------------------------------------------------- |
| lowlat=(int) | Lower Latitude boundary for the polar plot (degree) (default: 30) |
| hemisphere=(pydarn.Hemisphere) | Hemisphere of the radar (default: Hemisphere.North) |
| coastline=(bool) | Uses Cartopy to add outlines fo the coastlines below data |
| grid_lines=(bool) | Uses Cartopy to plot grid lines |
| nightshade=(int) | Uses the value given to calculate and show where on the plot the Earth is in shadow |

This choice will return an `ax` object and a Cartopy `ccrs` object.
This choice will return an `ax` object and a Cartopy `ccrs` object (coordinate reference system).

## Custom Axes
pyDARN does not currently support use of custom axes to read in and plot on. This means
Expand Down
Loading