National Renewable Energy Laboratory's (NREL's) REsource eXtraction tool: rex
Project description
rex command line tools
Using Eagle Env
If you would like to run rex on Eagle (NREL’s HPC) you can use a pre-compiled conda env:
conda activate /shared-projects/rev/modulefiles/conda/envs/rev/
or
source activate /shared-projects/rev/modulefiles/conda/envs/rev/
Installing rex
NOTE: The installation instruction below assume that you have python installed on your machine and are using conda as your package/environment manager.
Option 1: Install from PIP or Conda (recommended for analysts):
- Create a new environment:
conda create --name rex
- Activate directory:
conda activate rex
- Install rex:
pip install NREL-rex or
conda install nrel-rex --channel=nrel
NOTE: If you install using conda and want to use HSDS you will also need to install h5pyd manually: pip install h5pyd
Option 2: Clone repo (recommended for developers)
from home dir, git clone git@github.com:NREL/rex.git
- Create rex environment and install package
Create a conda env: conda create -n rex
Run the command: conda activate rex
cd into the repo cloned in 1.
prior to running pip below, make sure the branch is correct (install from main!)
Install rex and its dependencies by running: pip install . (or pip install -e . if running a dev branch or working on the source code)
- Check that rex was installed successfully
From any directory, run the following commands. This should return the help pages for the CLI’s.
rex
NSRDBX
WINDX
US-wave
Recommended Citation
Update with current version and DOI:
Michael Rossol, Grant Buster. The REsource Extraction Tool (rex). https://github.com/NREL/rex (version v0.2.43), 2021. https://doi.org/10.5281/zenodo.4499033.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file NREL-rex-0.2.91.tar.gz
.
File metadata
- Download URL: NREL-rex-0.2.91.tar.gz
- Upload date:
- Size: 134.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afdf1cfad6efbde0e521aa2e3143bc4f25ed2fbb9df4d4ba3fa7342a3580381a |
|
MD5 | e52a2f7758fb07f8c8e773f0276a80c9 |
|
BLAKE2b-256 | 7b8f9770c4f069695e28f5b4e551f34eff0845df4c0d19c9c969fd8debf1845b |
File details
Details for the file NREL_rex-0.2.91-py3-none-any.whl
.
File metadata
- Download URL: NREL_rex-0.2.91-py3-none-any.whl
- Upload date:
- Size: 161.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f94f691b83e3d98d0b6b647fd4dfcec8c865b859516da7db37e3925384e4e7 |
|
MD5 | 42150bf5ec1bab03c778243c584be6da |
|
BLAKE2b-256 | 88119ec15e3ae9ba387b70d0d19576778582aa3af3f6a3f9002cf05ad9c2e47e |