semvec/pypi-packages huggingface dataset:
iri90 1.1.1
IRI90 from Python, clean and flexible ionospheric model.
Requires Python: >= 3.6
Keywords: ionosphere,thermosphere

[![Build Status](https://travis-ci.org/scivision/iri90.svg?branch=master)](https://travis-ci.org/scivision/iri90)
[![Coverage Status](https://coveralls.io/repos/github/scivision/iri90/badge.svg?branch=master)](https://coveralls.io/github/scivision/iri90?branch=master)
[![Build status](https://ci.appveyor.com/api/projects/status/4h8pm345hscdpyf7?svg=true)](https://ci.appveyor.com/project/scivision/iri90)
[![PyPi version](https://img.shields.io/pypi/pyversions/iri90.svg)](https://pypi.python.org/pypi/iri90)
[![PyPi formats](https://img.shields.io/pypi/format/iri90.svg)](https://pypi.python.org/pypi/iri90)
[![PyPi Download stats](http://pepy.tech/badge/iri90)](http://pepy.tech/project/iri90)


# IRI90: International reference ionosphere in Python

> IRI-90 provides **monthly mean values** for magnetically quiet
> conditions at non-auroral latitudes in the **altitude range 50km to
> 2000km**.

However, IRI90 is often used as an initialization for conditions at
auroral latitudes, understanding the caveats.

![example IRI output](.github/demoiri.png)

## Install

```sh
pip install iri90
```
or for the latest development version:

```sh
python -m pip install -e .
```

## Usage

This IRI90 Python module is as small and clean as possible to enable your custom IRI90 applications.

```python
import iri90

iono = iri90.runiri(dtime, altkm, latlon, f107, f107s, ap=p.ap)
```

`iono` is an xarray.DataArray indexable by species, altitude, etc. and includes metadata.

### Altitude profile

density and temperature:
```sh
python AltitudeProfile.py
```

## Notes

Optional: If you want to work with just the original Fortran code:
```sh
cd bin
cmake ../src
cmake --build .
```

### References

[Fortran Code](http://download.hao.ucar.edu/pub/stans/iri/iri90.f)
microbarometer 0.1.0
Read SEED microbarometer data and plot.
Requires Python: >= 3.6
Keywords: weather,microbarometer

[![Build Status](https://travis-ci.com/scivision/microbarometer.svg?branch=master)](https://travis-ci.com/scivision/microbarometer)
[![Coverage Status](https://coveralls.io/repos/github/scivision/microbarometer/badge.svg?branch=master)](https://coveralls.io/github/scivision/microbarometer?branch=master)
[![Build status](https://ci.appveyor.com/api/projects/status/rw1e6a967kg499eu?svg=true)](https://ci.appveyor.com/project/scivision/microbarometer)

# Microbarometer read/plot from Python

Easy Python program for reading and plotting SEED microbarometer data.
Uses ObsPy.


## Install

    python -m pip install -e .

If you have trouble installing PROJ.4, try

    conda install cartopy


## Usage

```python
import microbarometer as mb

data = mb.load('myfile.asc')
```

### Data format

ObsPy is mostly for MiniSEED, and wasn't able to read the particular `.seed` files we had.
An alternative method is to convert SEED to SAC format:

1. Download
   [rdseed utility](http://ds.iris.edu/ds/nodes/dmc/software/downloads/rdseed/).
   The executable `rdseed.rh6.linux_64` worked for me on Ubuntu as well.
2. extract executable. For Ubuntu:
   ```sh
   tar xf rdseedv*.tar.gz rdseedv*/rdseed.rh6.linux_64
   mv rdseedv*/rdseed* rdseed
   ```
3. convert SEED to SAC, for example to write SAC ASCII (readable by Pandas)
   ```sh
   ../rdseed -f myfile.seed -o 6 -d
   ```
Other output formats are possible via the `-o` option.


## Notes

To get help:
```sh
./rdseed -h
```

channel BDO is "Bottom Pressure" in Pascals.

* Convert SEED to SAC (readable by ObsPy, MatSAC, etc.):
  ```sh
  ./rdseed -f myfile.seed -d
  ```
* List time range of data with `-t` option:
  ```sh
  ./rdseed -f myfile.seed -t
  ```
* Read SEED headers (extensive metadata):
  ```sh
  ./rdseed -f myfile.seed -s
  ```