Getting Started#

Installing this Package#

First, clone the repository,

$ git clone https://github.com/rice-solar-physics/pydrad.git
$ cd pydrad

To install pydrad and all of the needed dependencies,

$ pip install .

Testing#

If you’d like to run the tests, you can install the additional development dependencies,

$ pip install -e .[tests,docs]

and run the tests,

$ pytest pydrad

If you would like to run the tests using a local copy of HYDRAD,

$ pytest --hydrad-dir=/path/to/hydrad

If you do not specify a path to a particular version of HYDRAD, it will be automatically downloaded from GitHub in order to run the tests. Note that running the tests is not necessary if you just want to use pydrad.

Additional Resources#

A description of the HYDRAD code is available on its Github repository,

Below are a few papers describing the HYDRAD code,

  • Bradshaw and Mason [BM03a]

  • Bradshaw and Mason [BM03b]

  • Bradshaw and Klimchuk [BK11]

  • Bradshaw and Cargill [BC13]

  • Reep et al. [RBCW19]