Skip to main content

Zenodo DOI Travis-CI Coverage Build status Python versions (PyPI) Distribution format (PyPI) Maintainability PyPi Download stats

MSISE-00 in Python and Matlab

NRL MSISE-00 atmospheric model for Python ≥ 3.6, also accessible via Matlab. Valid from altitude z = 0..1000 km.

The plot immediately below shows a slice at 200km on a world-wide grid. The yellow ball represents the sun footprint on Earth.

MSIS global time animation

This plot is from Matlab calling the Python MSISE00:

MSISE00 Matlab

Install

This process is used for the Python and Matlab access to MSIS.

And then:

pip install -e .

Examples

MSISE00 can be used from the command line, as an imported module, and even from Matlab.

import module

import msise00
from datetime import datetime

atmos = msise00.rungtd1d(time=datetime(2013, 3, 31, 12), altkm=150., glat=65., glon=-148.)

atmos is an xarray.Dataset containing all the simulation output values. atmos is 4-D: (time, altitude, lat, lon), and indexed like atmos['N2']

Command Line

Write NetCDF4 output (HDF5 compatible) with command line argument -w filename.nc.

Altitude Profile

at a single time:

msis00 -t 2017-08-21T20:48 -c 40 -90

Alt. profile time-range

with hourly time step:

msis00 -t 2017-08-21 2017-08-22 -c 40 -90

Grid: time,lat,lon

This example takes several minutes, and generates the plots in the README:

msis00 -t 2016-09-20 2016-09-21

A single time lat/lon can be plotted:

msise00 -t 2017-01-02T12

Matlab

Matlab ≥ R2014b can interface directly with most Python modules, for example:

atmos = py.msise00.run(time,altkm,glat,glon)

Reference

  • Original fortran code
  • 1200+ citations 2002 paper

Release files for msise00 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for msise00 1.2.2
File Size Uploaded
msise00-1.2.2.tar.gz 4.0 MB Details

Release files / msise00-1.2.2.tar.gz

Download URL msise00-1.2.2.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
dd03e591237549cba9267d75878a4054b98c6cf1a4edd1e45ac364819b65dd1c
BLAKE2b-256 checksum
How to use checksums
4d4aba9237544f13917967eb0d26f1713cffb89c3078052c68f1ccf21ed8e630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.7.0

Release history Release notifications | RSS feed

1.11.1

2 release files

1.11.0

2 release files

1.10.1

1 release file

1.10.0

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.0

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.1

1 release file

1.6.0

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0.2

1 release file

1.3.0.1

1 release file

1.3.0

1 release file

This release

1.2.2 This release

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.3

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page