Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: donglai96
- Language: Python
- Default Branch: main
- Size: 27.9 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
ORIENT
This is the final version of ORIENT.
Installation
I suggest use conda to manage the environment,
conda create --name orient python=3.8
Activate the env and then first install the build package for developing purpose.
pip install build
Download the code
git clone https://github.com/donglai96/ORIENT.git
Build the code
cd ORIENT
python -m build
pip install dist/ORIENT-1.0-py3-none-any.whl # or any other name created by last command
Model
The default model folder name is 'RB_Model', please contact dma96@atmos.ucla.edu for the latest model(including relativistic eflux > 1 MeV models). The model file can also be found at https://zenodo.org/record/6299967.
Example code
``` import ORIENT as orient
from datetime import datetime
starttime = datetime(2018,8,15) endtime = datetime(2018,9,15) input_time = datetime(2018,9,1,3)
eflux1 = orient.eflux.model.ElectronFlux(starttime, endtime,instrument = 'mageis',channel = 16) finalframe, Xinputtotal = eflux1.getflux(dstsource='omni', alsource='omni', swsource='omni',useomni = True,usetraj = False,getinputtime = inputtime) eflux1.makeplot(normmax = 10**4)
```
Usage - Command Line Interface Recommended for Community Coordinated Modeling Center (CCMC)
For automated pipeline execution and production use, use the command-line script:
```bash
Basic usage
python examples/runORIENT.py --starttime 2013-06-01 --inputtime 2013-06-01 --inputhour 3 --endtime 2013-06-02 --energylevels "50,235"
Multiple energy levels with MLT plots
python examples/runORIENT.py --starttime 2013-06-01 --inputtime 2013-06-01 --inputhour 12 --endtime 2013-06-05 --energylevels "50,235,597,909" --getmltflux true --output_dir ./results
Using different data sources
python examples/runORIENT.py --starttime 2013-06-01 --inputtime 2013-06-01 --inputhour 3 --endtime 2013-06-02 --energylevels "235" --dstsource kyoto --alsource alCB --swsource ace ```
Command Line Options:
--start_time: Model initialization start time (YYYY-MM-DD)--input_time: Input time for flux prediction (YYYY-MM-DD)--input_hour: Hour for prediction (0-23)--end_time: End time for analysis (YYYY-MM-DD)--energy_levels: Comma-separated energy levels: "50,235,597,909" (keV)--dst_source: DST data source (omniorkyoto)--al_source: AL data source (omnioral_CB)--sw_source: Solar wind data source (omniorace)--get_mlt_flux: Generate MLT plots (trueorfalse)--output_dir: Output directory for plots and data
Note: This command-line interface is used by the Community Coordinated Modeling Center (CCMC) for automated execution of ORIENT model requests.
Examples
The examples are in the example/ folder as jupyter notebook.
Model name
instrument : mageis, channel: 3, 11, 14, 16 , corresponding energy: 50 keV, 235 keV, 597 keV, 909 keV
instrument : rbsp channel:1 .1.8 MeV Put the RB_model folder under the same dir
CCMCteststorm
This example show a one month with multi storms. It also include MLT visulization
CCMCtestrecent_storm
When not using OMNI data (i.e. The data period we want to check is too close to the current time), we can change the source of the input parameter
DST source
support 'kyoto' and 'omni'
AL source
support 'omni' and 'alCB', the ALCB is the AL index model from CU Boulder, an example can also be found in another repo
solarwind source
support 'omni' and 'ace'
To do
Add orbit and can compare with e.g. Arase mission and Van Allen Probe on orbit. The Van Allen Probe part has finished, but it requires original orbit data which is not included.
Owner
- Name: Donglai Ma
- Login: donglai96
- Kind: user
- Company: UCLA
- Repositories: 3
- Profile: https://github.com/donglai96
Space Physics PhD student in UCLA
GitHub Events
Total
- Push event: 4
- Pull request event: 4
- Fork event: 1
Last Year
- Push event: 4
- Pull request event: 4
- Fork event: 1
Dependencies
- astropy *
- matplotlib *
- mechanize *
- pandas *
- pyspedas *
- scipy *
- astropy *
- matplotlib *
- mechanize *
- pandas *
- pyspedas *
- scipy *
- adwaita-icon-theme 40.1.1
- appnope 0.1.2
- argon2-cffi 21.3.0
- argon2-cffi-bindings 21.2.0
- asttokens 2.0.5
- atk-1.0 2.36.0
- attrs 21.4.0
- backcall 0.2.0
- beautifulsoup4 4.11.1
- blas 1.0
- bleach 4.1.0
- bottleneck 1.3.4
- brotli 1.0.7
- c-ares 1.18.1
- ca-certificates 2022.4.26
- cairo 1.16.0
- cffi 1.15.0
- cycler 0.11.0
- dbus 1.13.18
- debugpy 1.5.1
- decorator 5.1.1
- defusedxml 0.7.1
- entrypoints 0.4
- epoxy 1.5.4
- executing 0.8.3
- expat 2.4.4
- fontconfig 2.13.1
- freetype 2.11.0
- fribidi 1.0.10
- gdk-pixbuf 2.42.6
- gettext 0.21.0
- giflib 5.2.1
- glib 2.69.1
- gobject-introspection 1.68.0
- graphite2 1.3.14
- grpcio 1.42.0
- gtk3 3.24.21
- h5py 3.6.0
- harfbuzz 2.8.1
- hdf5 1.12.1
- hicolor-icon-theme 0.17
- icu 68.1
- importlib_resources 5.2.0
- ipykernel 6.9.1
- ipython 8.3.0
- ipython_genutils 0.2.0
- ipywidgets 7.6.5
- jedi 0.18.1
- jpeg 9e
- jsonschema 4.4.0
- jupyter 1.0.0
- jupyter_client 7.2.2
- jupyter_console 6.4.3
- jupyter_core 4.10.0
- jupyterlab_pygments 0.1.2
- jupyterlab_widgets 1.0.0
- krb5 1.19.2
- lcms2 2.12
- libblas 3.9.0
- libcblas 3.9.0
- libcurl 7.82.0
- libcxx 12.0.0
- libedit 3.1.20210910
- libev 4.33
- libevent 2.1.12
- libffi 3.4.2
- libgfortran 5.0.0
- libgfortran5 11.1.0
- libiconv 1.16
- liblapack 3.9.0
- libllvm11 11.1.0
- libnghttp2 1.46.0
- libopenblas 0.3.18
- libpng 1.6.37
- libpq 12.9
- librsvg 2.50.7
- libsodium 1.0.18
- libssh2 1.10.0
- libtiff 4.2.0
- libwebp 1.2.2
- libwebp-base 1.2.2
- libxml2 2.9.12
- libxslt 1.1.34
- llvm-openmp 12.0.0
- llvmlite 0.38.0
- lz4-c 1.9.3
- matplotlib-inline 0.1.2
- mistune 0.8.4
- munkres 1.1.4
- nbclient 0.5.13
- nbconvert 6.4.4
- nbformat 5.3.0
- ncurses 6.3
- nest-asyncio 1.5.5
- ninja 1.10.2
- ninja-base 1.10.2
- notebook 6.4.11
- nspr 4.33
- nss 3.74
- numba 0.55.1
- openssl 1.1.1o
- pandocfilters 1.5.0
- pango 1.48.7
- parso 0.8.3
- pcre 8.45
- pexpect 4.8.0
- pickleshare 0.7.5
- pip 21.2.4
- pixman 0.40.0
- prometheus_client 0.13.1
- prompt-toolkit 3.0.20
- prompt_toolkit 3.0.20
- ptyprocess 0.7.0
- pure_eval 0.2.2
- pycparser 2.21
- pygments 2.11.2
- pyqt 5.15.2
- pyrsistent 0.18.0
- python 3.8.13
- python-dateutil 2.8.2
- python-fastjsonschema 2.15.1
- python_abi 3.8
- pyzmq 22.3.0
- qt 5.15.2
- qtconsole 5.3.0
- qtpy 2.0.1
- readline 8.1.2
- scikit-learn 1.0.2
- send2trash 1.8.0
- setuptools 61.2.0
- six 1.16.0
- soupsieve 2.3.1
- sqlite 3.38.3
- stack_data 0.2.0
- tbb 2021.5.0
- tensorflow-deps 2.8.0
- terminado 0.13.1
- testpath 0.5.0
- threadpoolctl 2.2.0
- tk 8.6.11
- traitlets 5.1.1
- typing_extensions 4.1.1
- wcwidth 0.2.5
- webencodings 0.5.1
- wheel 0.37.1
- widgetsnbextension 3.5.2
- xz 5.2.5
- zeromq 4.3.4
- zlib 1.2.12
- zstd 1.4.9