Skip to content

Commit

Permalink
Merge pull request #25 from KCollins/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
KCollins authored Nov 12, 2024
2 parents 69e0566 + 8ba03b7 commit 04a9a11
Show file tree
Hide file tree
Showing 7 changed files with 81,601 additions and 212 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

[0.2.0] - 2024-11-09
[0.2.0] - 2024-11-12
--------------------
* Added logging
* Fixed documentation bugs
Expand Down
27 changes: 0 additions & 27 deletions README.md

This file was deleted.

49 changes: 49 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
conjugate_map
=============

|PyPI version| |DOI| |Documentation Status|

Files and scripts relating to geomagnetic conjugate map. Run in Binder
here: |Binder|

There are two example notebooks available:

- ``MWE.ipynb``: Minimal working example demonstrating conjugate calculations.

- ``ConjugateMap.ipynb``: More in-depth examples using COMNAP, Madrigal
and other databases to produce animated maps with plotly express.


The following functions are imported from ``conj_calc.py``:

- ``conjugate_map.findconj()`` : function to compute conjugate points for a given location at a given time and date.

- ``conjugate_map.conjcalc()`` : function to take in a dataframe and add columns for all stages of calculating conjugate points.

- ``conjugate_map.calc_mlat_rings()`` : function to calculate magnetic graticules for a given latitude and datetime.


You can read the documentation for each function by running, e.g.,
``help(calc_mlat_rings)``.

Installation
------------

To install from pypi: ``pip install conjugate-map``

To install from source: Clone git repo and run
``python -m pip install .`` from top level of directory.

Testing
-------

To test locally, run ``python -m unittest`` from top level of directory.

.. |PyPI version| image:: https://badge.fury.io/py/conjugate-map.svg
:target: https://badge.fury.io/py/conjugate-map
.. |DOI| image:: https://zenodo.org/badge/651410906.svg
:target: https://zenodo.org/doi/10.5281/zenodo.10056623
.. |Documentation Status| image:: https://readthedocs.org/projects/conjugate-map/badge/?version=latest
:target: https://conjugate-map.readthedocs.io/en/latest/?badge=latest
.. |Binder| image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/KCollins/conjugate_map/HEAD?labpath=notebooks%2FMWE.ipynb
Loading

0 comments on commit 04a9a11

Please sign in to comment.