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 /datasets/modulefiles/conda_env
or
source activate /datasets/modulefiles/conda_env
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
- 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 master!)
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
NSRDB
WIND
rechunk
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
Hashes for NREL_rex-0.2.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d6a71d7fee65314033dd286bf23ffcda17046877e119a14b4745481be968f7 |
|
MD5 | 64ff993bc90685bd04bf585c373b776e |
|
BLAKE2b-256 | a98fe5316165b03b83e4477b6f6e95f83d861b57204854f167553a4101c7533f |