Digital Meridian Spectrometer
For Geophysical Institute's Poker Flat Digital Meridian Spectrometer, which uses NetCDF
This library is also usable from Matlab, as seen in
- 2011-present: ftp://optics.gi.alaska.edu/PKR/DMSP/NCDF/
- 1983-2010 (NetCDF 3 .PF files): http://optics.gi.alaska.edu/realtime/data/msp/pkr This link was good for years and we used this data, but in late 2018 it stopped working.
- other dates
- FTP: ftp://optics.gi.alaska.edu/PKR/DMSP
python -m pip install -e .
Matlab users need:
- Matlab ≥ R2018b
dmsppackage installed into the Python environment associated with Matlab
LoadMSPdata.py creates many plots.
Use as a Python module is like:
import dmsp dat = dmsp.load('~/data/myfile.PF')
which returns xarray.Dataset
You can also graphically browse the files with the
apt install ncview
if you get
ImportError: libnetcdf.so.7: cannot open shared object file: No such file or directory
apt install libnetcdf-dev python -m pip install netcdf4
conda install netcdf4