Skip to main content

A Python wrapper around the NRLMSIS model.

Project description

# pymsis: A python wrapper of the NRLMSIS model

Note that the MSIS2 code is not available for commercial use without contacting NRL. See the [MSIS2 license file](MSIS2_LICENSE) for explicit details. We do not repackage any of the MSIS source code in this repository for that reason. However, we do provide utilities to easily download and extract the original source code. By using that code you agree to their terms and conditions.

## NRL Mass Spectrometer, Incoherent Scatter Radar Extended Model (MSIS)

The [MSIS model]( https://www.nrl.navy.mil/ssd/branches/7630/modeling-upper-atmosphere) is developed by the Naval Research Laboratory.

## References

Please acknowledge the University of Colorado Space Weather Technology, Research and Education Center (SWx TREC) and cite the original papers if you make use of this model in a publication.

> Emmert, J. T., Drob, D. P., Picone, J. M., Siskind, D. E., Jones, M., Mlynczak, M. G., et al. (2020). NRLMSIS 2.0: A whole‐atmosphere empirical model of temperature and neutral species densities. Earth and Space Science, 7, e2020EA001321. https://doi.org/10.1029/2020EA001321

The Original NRLMSISE-00 paper

> Picone, J. M., Hedin, A. E., Drob, D. P., and Aikin, A. C., NRLMSISE‐00 empirical model of the atmosphere: Statistical comparisons and scientific issues, J. Geophys. Res., 107( A12), 1468, [doi:10.1029/2002JA009430](https://doi.org/10.1029/2002JA009430), 2002.

## Installation

You can install pymsis from the git repository

`bash pip install git+https://github.com/SWxTREC/pymsis.git `

or to work on it locally, you can clone the repository and use an editable install

`bash git clone https://github.com/SWxTREC/pymsis.git pip install -e . `

### Remote installation

The installation is dependent on access to the NRL source code. If the download fails, of you have no internet access you can manually install the Fortran source code as follows.

  1. Download the source code

    The source code is hosted on the NRL’s website: [https://map.nrl.navy.mil/map/pub/nrl/NRLMSIS/NRLMSIS2.0/](https://map.nrl.navy.mil/map/pub/nrl/NRLMSIS/NRLMSIS2.0/) Download the NRLMSIS2.0.tar.gz file to your local system.

  2. Extract the source files

    The tar file needs to be extracted to a new msis2 directory in the base of the pymsis package.

    `bash mkdir msis2 tar -xvzf NRLMSIS2.0.tar.gz -C msis2/ `

  3. Install the Python package

    `bash pip install . `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymsis-0.1.2.tar.gz (87.2 kB view details)

Uploaded Source

File details

Details for the file pymsis-0.1.2.tar.gz.

File metadata

  • Download URL: pymsis-0.1.2.tar.gz
  • Upload date:
  • Size: 87.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pymsis-0.1.2.tar.gz
Algorithm Hash digest
SHA256 751941074f4b2f4b41698b4b4e31e5e24ce93bf86c0cb0027aff96da25007d33
MD5 0da11feff7dc277fd3e77eefa270dd00
BLAKE2b-256 dbb51c8438d96a7afbbe54ef50cdb0ae8ae3595cfe5946fc22a715ece780411c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page