Skip to main content

Python library for reading and writing SuperDARN data

Project description

pyDARNio

License: LGPL v3 Python 3.6 GitHub release (latest by date) DOI

Python data IO library for the Super Dual Auroral Radar Network (SuperDARN).

Changelog

Version 1.1 - Release!

pyDARNio is released! Included are the following features:

  • Reading and writing of Borealis v0.6 HDF5 files
  • Bug fix with Slice interface with Borealis files
  • Bug fix on reading partial records with MAP DMAP files

Documentation

pyDARNio's documentation can found here

Getting Started

pip install pydarnio

Or read the installation guide.

If wish to get access to SuperDARN data please read the SuperDARN data access documentation. Please make sure to also read the documentation on citing superDARN and pydarn.

As a quick tutorial on using pyDARNio to read a non-compressed file:

import pydarnio

# read a non-compressed file
fitacf_file = '20180220.C0.rkn.stream.fitacf'

# pyDARNio functions to read a fitacf file
reader = pydarnio.SDarnRead(fitacf_file)
records = reader.read_fitacf()

or to read a compressed file:

import bz2
import pydarnio
# read in compressed file
fitacf_file = '20180220.C0.rkn.stream.fitacf.bz2'
with bz2.open(fitacf_file) as fp: 
      fitacf_stream = fp.read()

# pyDARNio functions to read a fitacf file stream
reader = pydarnio.SDarnRead(fitacf_stream, True)
records = reader.read_fitacf()

For more information and tutorials on pyDARNio please see the tutorial section

Getting involved

pyDARNio is always looking for testers and developers keen on learning python, github, and/or SuperDARN data visualizations! Here are some ways to get started:

  • Testing Pull Request: to determine which pull requests need to be tested right away, filter them by their milestones (v1.2.0 is currently highest priority).
  • Getting involved in projects: if you are looking to help in a specific area, look at pyDARNio's projects tab. The project you are interested in will give you information on what is needed to reach completion. This includes things currently in progress, and those awaiting reviews.
  • Answer questions: if you want to try your hand at answering some pyDARNio questions, or adding to the discussion, look at pyDARNio's issues and filter by labels.
  • Become a developer: if you want to practice those coding skills and add to the library, look at pyDARNio issues and filter by milestone's to see what needs to get done right away.

Please contact the leading developer, Marina Schmidt (marina.t.schmidt@gmail.com), if you would like to become a member of the team!

Project details


Download files

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

Files for pydarnio, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pydarnio-1.1.0-py3-none-any.whl (70.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pydarnio-1.1.0.tar.gz (61.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page