Skip to main content

A Python package for visualizing output from the Enlil code.

Project description

https://img.shields.io/pypi/v/enlilviz.svg https://img.shields.io/travis/SWxTREC/enlilviz.svg Documentation Status

A Python package for visualizing the output from the Enlil solar wind code.

Features

Read in Enlil data files into an xarray dataset for analysis:

import enlilviz as ev

run = ev.read_enlil2d('wsa_enlil.latest.suball.nc')

evo = ev.read_evo('evo.earth.nc')

Plot time series and slices with the data:

import enlilviz.plotting as evplot

evplot.TimeSeries(run, 'Earth', 'den')

evplot.LongitudeSlice(run, 'den')

evplot.LatitudeSlice(run, 'vel')

You can also generate common figures that are pre-arranged:

forecaster = evplot.ForecasterPlot(run)
forecaster.save()

Or iterate through the entire time series to make a movie:

for plot in iter(forecaster):
    plot.save()

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

enlilviz-0.2.0.tar.gz (27.0 kB view hashes)

Uploaded source

Built Distribution

enlilviz-0.2.0-py3-none-any.whl (17.1 kB view hashes)

Uploaded py3

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