Skip to content
for Poker Flat Digital Meridian Spectrometer, which uses netCDF
Python MATLAB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
archive
dmsp
tests
.coveragerc
.flake8
.gitattributes
.gitignore
LICENSE
LoadMSPdata.py
PlotDMSP.m
README.md
dmsp.m
mypy.ini
pyproject.toml
setup.cfg
setup.py

README.md

image

Actions Status

PyPi version PyPi Download stats

Digital Meridian Spectrometer

For Geophysical Institute's Poker Flat Digital Meridian Spectrometer, which uses NetCDF

example of PF-DMSP data

This library is also usable from Matlab, as seen in dmsp.m.

Data sources

Install

python -m pip install -e .

Matlab

Matlab users need:

Usage

LoadMSPdata.py creates many plots.

Use as a Python module is like:

import dmsp

dat = dmsp.load('~/data/myfile.PF')

which returns xarray.Dataset

Notes

You can also graphically browse the files with the ncview program:

apt install ncview

Error: libnetcdf.so.7

if you get

ImportError: libnetcdf.so.7: cannot open shared object file: No such file or directory

try:

apt install libnetcdf-dev
python -m pip install netcdf4

or

conda install netcdf4
You can’t perform that action at this time.