National Renewable Energy Laboratory's (NREL's) REsource eXtraction tool: rex
Project description
The REsource eXtraction (rex) tool
rex command line tools
Using Eagle Env / Module
If you would like to run rex on Eagle (NREL’s HPC) you can use a pre-compiled conda env:
conda activate /datasets/modulefiles/conda_env
or
source activate /datasets/modulefiles/conda_env
or module:
module use /datasets/modulefiles
module load rex
NOTE: Loading the rex module can take several minutes
Installing rex
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 https://github.com/NREL/rex.git
enter github username
enter github password
- Install reV environment and modules (using conda)
cd into reV repo cloned above
cd into bin/$OS/
run the command: conda env create -f rex.yml. If conda can’t find any packages, try removing them from the yml file.
run the command: conda activate rex
prior to running pip below, make sure the branch is correct (install from master!)
cd back to the rex repo (where setup.py is located)
install pre-commit: pre-commit install
run pip install . (or pip install -e . if running a dev branch or working on the source code)
- Check that rev was installed successfully
From any directory, run the following commands. This should return the help pages for the CLI’s.
rex
NSRDB
WIND
rechunk
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
Hashes for NREL_rex-0.2.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 686ae247e0af1366c1f39706aa4ed422aeab6f5fdbdb777ac4b8df409bc3649d |
|
MD5 | d326335026f4b8bcbb8a9549961b0d60 |
|
BLAKE2b-256 | 72f0d1a2ac8748ee862550f33f6d3b80d9f9306672d5ee8c20f564879eccf285 |