SWxTREC / enlilviz

A Python toolkit for Enlil solar wind visualizations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enlilviz

image

image

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()

About

A Python toolkit for Enlil solar wind visualizations.

License:MIT License


Languages

Language:Python 96.5%Language:Makefile 3.5%