Skip to content

Commit

Permalink
Merge pull request #166 from SuperDARN/release/2.1
Browse files Browse the repository at this point in the history
Release/2.1
  • Loading branch information
mts299 authored Jun 10, 2021
2 parents edda5c3 + 7f33ba9 commit 2e39949
Show file tree
Hide file tree
Showing 48 changed files with 2,130 additions and 309 deletions.
30 changes: 15 additions & 15 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"name": "Schmidt, M.T.",
"orcid": "0000-0002-3265-977X"
},
{ "affiliation": "University of Scranton",
"name": "Tholley, F."
},
{
"affiliation": "University of Scranton",
"name": "Frissell, N.",
"orcid": "0000-0002-8398-4222"
},
{
"affiliation": "University of Saskatchewan",
"name": "Billett, D.D.",
Expand All @@ -18,11 +26,6 @@
"name": "Martin, C.J.",
"orcid": "0000-0002-8278-9783"
},
{
"affiliation": "University of Saskatchewan",
"name": "Huyghebaert, D.",
"orcid": "0000-0002-4257-4235"
},
{
"affiliation": "The University Centre in Svalbard",
"name": "Bland, E.C.",
Expand All @@ -33,6 +36,11 @@
"name": "Burrell, A.G.",
"orcid": "0000-0001-8875-9326"
},
{
"affiliation": "Virginia Tech",
"name": "Coyle, S.",
"orcid": "0000-0003-1730-2753"
},
{
"affiliation": "University of Saskatchewan",
"name": "Detwiller, M.H."
Expand All @@ -44,11 +52,8 @@
},
{
"affiliation": "University of Saskatchewan",
"name": "Krieger, K."
},
{
"affiliation": "University of Saskatchewan",
"name": "Peters, D.GO."
"name": "Huyghebaert, D.",
"orcid": "0000-0002-4257-4235"
},
{
"affiliation": "SRI International",
Expand All @@ -63,10 +68,5 @@
{
"affiliation": "University of Saskatchewan",
"name": "Roberston, C.R."
},
{
"affiliation": "Virginia Tech",
"name": "Sterne, K.T.",
"orcid": "0000-0002-1076-0009"
}]
}
77 changes: 77 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in pyDARN and
DAWG a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
* Please see [communication guidelines](https://pydarn.readthedocs.io/en/latest/dev/communication/) for more examples

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

[PyDARN/DAWG leaders/chairs](https://superdarn.github.io/dawg/about) (please see [DAWG charter](https://superdarn.github.io/dawg/documents/DAWG_Charter/) on pyDARN/DAWG leaders) are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

[PyDARN/DAWG leaders/chairs](https://superdarn.github.io/dawg/about) have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, README edits, readthedocs edits,
issues, and other contributions that are not aligned to this Code of Conduct or the scope of pyDARN,
or to ban temporarily or permanently any contributor for other behaviors that
they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within pyDARN spaces and in public spaces
when an individual is representing the pyDARN/DAWG or its community. Examples of
representing pyDARN or DAWG include: using an official pyDARN name or logo,
publishing work in an official journal or conference, posting via an official website or online conference,
or acting as an appointed representative at an online or offline conference or workshop.
Representation of pyDARN may be further defined and clarified by pyDARN maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the [pydarn team lead at or contacting
the DAWG chairs](https://superdarn.github.io/dawg/about). All complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The pyDARN team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Please see [communication guidelines](https://pydarn.readthedocs.io/en/latest/dev/communication/) and [reporting guidelines](https://pydarn.readthedocs.io/en/latest/dev/communication/#disputes-procedure) for more information.

pyDARN developers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by [DAWG chairs](https://superdarn.github.io/dawg/about).

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,30 @@
[![License: LGPL v3](https://img.shields.io/badge/License-LGPLv3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/superdarn/pydarn)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4558130.svg)](https://doi.org/10.5281/zenodo.4558130)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3727269.svg)](https://doi.org/10.5281/zenodo.3727269)

Python data visualization library for the Super Dual Auroral Radar Network (SuperDARN).

**WARNING!**
This is the `develop` branch that is not DOI'd yet, please click on the above DOI to get the most recently released pyDARN version.

## Changelog

## Version 2.0.1 - Release!
## Version 2.1 - Release!


pyDARN release v2.0.1 includes the following features:
- Integration with pyDARNio to read files
- Updates to Hardware utility
- **Fan Plots** with transparent fix
pyDARN release v2.1 includes the following features:
- Updates to Fan plots
- Updates to FOV plots
- **NEW** Grid Plot
- **NEW** Ground-Scatter Mapped Range option for Range-Time plots
- **Statistical Power Plots**
- Slant range option for plotting
- getting beam/gate geographic/geomagnetic locations
- **NEW** `Coords` enumerator for selecting coordinate system
- updated documentation

!!! Warning
`slant` option in `plot_range-time` and `plot_summary` is deprecated now uses `coords`

## Documentation

pyDARN's documentation can found [here](https://pydarn.readthedocs.io/en/latest)
Expand Down Expand Up @@ -54,7 +60,7 @@ 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/master/)
For more information and tutorials on pyDARN please see the [tutorial section](https://pydarn.readthedocs.io/en/latest/)

## Getting involved

Expand All @@ -66,4 +72,4 @@ Here are some ways to get started:
- **Answer questions**: if you want to try your hand at answering some pyDARN questions, or adding to the discussion, look at pyDARN's [issues](https://github.com/SuperDARN/pydarn/issues) and filter by labels.
- **Become a developer**: if you want to practice those coding skills and add to the library, look at pyDARN [issues](https://github.com/SuperDARN/pydarn/issues) and filter by milestone's to see what needs to get done right away.

Please contact the leading developer, Marina Schmidt (marina.t.schmidt@gmail.com), if you would like to become a member of the team!
Please read [pyDARN team](https://pydarn.readthedocs.io/en/latest/dev/team) on how to join the pyDARN team.
69 changes: 69 additions & 0 deletions docs/dev/branching.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!--Copyright (C) 2021 SuperDARN Canada, University of Saskatchewan
Author(s): Marina Schmidt
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.
-->


## Branching

In git, "branches" are used to make changes to the code without affecting the main codebase or the work of other developers. Once the changes on a new branch have been [tested](testing.md) and [reviewed](code_review.md) in a ["pull request"](PR.md), the new branch is merged into the main codebase.

## Getting Started

!!! Note
Before you start writing new code, please create a new issue to describe what you are planning to do, and "assign" the issue to yourself. This lets other developers know what you are working on. See [issues](issues.md)

1. Clone the pydarn repo:

git clone git@github.com:SuperDARN/pydarn.git

It is recommended by GitHub to create a [SSH key](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)

2. Change to the `pydarn` folder

cd pydarn

* Update the code

git fetch
git pull origin master

* Decide what branch to break off from:
* HOTFIX: a fix that needs to be in master ASAP then branch from `master`
* Documentation: existing main documentation with an update then branch from `master`
* New Documentation: documentation that doesn't exist in the main documentation then branch from `develop`
* New code/fix that can wait for a release then branch from `develop`
* Removing legacy code then branch from `develop`
* Code based on another branch then branch from that branch name

git checkout <branch name>

* Decide on the new branch name. It is recommended to use the following Prefixes:
* HOTFIX/ : a bug that needs to be fixed ASAP and pushed to `master`
* FIX/ : a bug fix that can wait to be released
* EHN/ : an enhancement or new feature to the `develop` code
* DOC/ : new or updating existing documentation
* DEP/ : deprecating code from the codebase

git checkout -b <prefix/><branch name>

* Now you have created your own branch locally. Make the modifications to the code on this branch, and then run the following commands to commit the changes:

git add <file changed>
git commit -m <brief description of the change>

* Now "push" the changes to GitHub:

git push origin <branch name>

* Repeat the above commands above as you work on the code changes
* Once you have completed, documented, and tested your code then you can create a pull request, see [pull request](PR.md)
13 changes: 13 additions & 0 deletions docs/dev/communication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Communication Guidelines

pyDARN is under the Data Analysis Working Group that has set up guidelines on [communication](https://superdarn.github.io/dawg/documents/communication-guidelines/) to encourage a positive collaborative environment.
Please follow these guidelines when commenting and reviewing code on GitHub.

Also please read workflow documentation on issues and [pull requests](PR.md) to communicate effectively for collaborative work.

## Disputes Procedure

If members have a dispute that violates the communication guidelines, and creates a negative environment in the pyDARN community, please follow this procedure to resolve the conflict:
1. Please try resolve the matter between each member offline.
2. If the dispute cannot be resolved, or the environment has become toxic and overwhelming, please contact the [lead developer for pyDARN](https://pydarn.readthedocs.io/en/latest/).
3. If the dispute cannot be resolved, involves the lead developer, or breaches the [DAWG charter](https://superdarn.github.io/dawg/documents/DAWG_Charter/) please contact the [chairs of DAWG](https://superdarn.github.io/dawg/about/).
Loading

0 comments on commit 2e39949

Please sign in to comment.