Commit 6daa030b authored by Qusai Al Shidi's avatar Qusai Al Shidi 💬
Browse files

Running write_imf_from_omni now returns the omni data also

parent 9140d574
......@@ -56,6 +56,11 @@ period.
see `swmfpy.io.write_imf_input()` and `swmfpy.web.get_omni_data()`
**Returns**:
- `(dict)` - Dictionary of omni data.
**Examples**:
Using this function is simple:
......
......@@ -41,6 +41,9 @@ def write_imf_from_omni(time_from, time_to, filename='IMF.dat', **kwargs):
**kwargs:
see #swmfpy.io.write_imf_input() and #swmfpy.web.get_omni_data()
Returns:
(dict): Dictionary of omni data.
Examples:
Using this function is simple:
```python
......@@ -63,3 +66,4 @@ def write_imf_from_omni(time_from, time_to, filename='IMF.dat', **kwargs):
'bx', 'by_gse', 'bz_gse', 'vx_gse', 'vy_gse', 'vz_gse',
'density', 'temperature']
io.write_imf_input(omni_data, filename, column_keys=column_keys, **kwargs)
return omni_data
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment