National Renewable Energy Laboratory's (NREL's) REsource eXtraction tool: rex
Project description
What is rex?
rex stands for REsource eXtraciton tool.
rex enables the efficient and scalable extraction, manipulation, and computation with NRELs flagship renewable resource datasets such as: the Wind Integration National Dataset (WIND Toolkit), the National Solar Radiation Database (NSRDB), the Ocean Surface Wave Hindcast (US Wave) Data, and the High-resolution downscaled climate change data (Sup3rCC).
To get started accessing NREL’s datasets, see the primer on NREL Renewable Energy Resource Data or the installation instructions.
You might also want to check out the basic Resource Class that can be used to efficiently query NREL data, or our various example use cases.
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
- Basic rex install:
pip install NREL-rex
or conda install nrel-rex --channel=nrel
- Install for users outside of NREL that want to access data via HSDS or S3 as per the instructions here:
pip install NREL-rex[hsds] for more performant access of the data on HSDS with slightly more setup as per this hsds example. Note that the highest version of Python currently supported by hsds is Python 3.11.
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
rex command line tools
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.4.2.tar.gz
.
File metadata
- Download URL: nrel_rex-0.4.2.tar.gz
- Upload date:
- Size: 152.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1c9163f8f02949454e4d8ec360e82b14c59c8418aa712a088d67a88036016400
|
|
MD5 |
405fbe3bb2c4122d4a58677466aca746
|
|
BLAKE2b-256 |
dfd13eebb16d7ca38c013ad40014aa0aea9c234446d4c4ef5666fe5e15ca3356
|
Provenance
The following attestation bundles were made for nrel_rex-0.4.2.tar.gz
:
Publisher:
publish_to_pypi.yml
on NREL/rex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
nrel_rex-0.4.2.tar.gz
-
Subject digest:
1c9163f8f02949454e4d8ec360e82b14c59c8418aa712a088d67a88036016400
- Sigstore transparency entry: 230544836
- Sigstore integration time:
-
Permalink:
NREL/rex@2f1a224358aa4f23518843ae72e0a40df167b7e3
-
Branch / Tag:
refs/tags/v0.4.2
- Owner: https://github.com/NREL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publish_to_pypi.yml@2f1a224358aa4f23518843ae72e0a40df167b7e3
-
Trigger Event:
release
-
Statement type:
File details
Details for the file nrel_rex-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: nrel_rex-0.4.2-py3-none-any.whl
- Upload date:
- Size: 177.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2081ccf5ddb05ef1cd9eaec4d9897d91f8da5818c33d5761d8308e6466812bae
|
|
MD5 |
4b00ce315805bd97c9693569ebcf08a0
|
|
BLAKE2b-256 |
529859c46ffa5a502ed3bea2c1104bbee4d8270e977f05415286ec35877998bc
|
Provenance
The following attestation bundles were made for nrel_rex-0.4.2-py3-none-any.whl
:
Publisher:
publish_to_pypi.yml
on NREL/rex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
nrel_rex-0.4.2-py3-none-any.whl
-
Subject digest:
2081ccf5ddb05ef1cd9eaec4d9897d91f8da5818c33d5761d8308e6466812bae
- Sigstore transparency entry: 230544839
- Sigstore integration time:
-
Permalink:
NREL/rex@2f1a224358aa4f23518843ae72e0a40df167b7e3
-
Branch / Tag:
refs/tags/v0.4.2
- Owner: https://github.com/NREL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publish_to_pypi.yml@2f1a224358aa4f23518843ae72e0a40df167b7e3
-
Trigger Event:
release
-
Statement type: