Welcome to the cloud file system utilities!
cloud-fs is a generalized file-system handler that will dynamically determine if files are local or on the cloud (currently AWS) and perform basic file-systm operations.
Installing cloud_fs
Option 1: Install from PIP or Conda (recommended for analysts):
-
- Create a new environment:
conda create --name cloud_fs python=3.7
-
- Activate directory:
conda activate cloud_fs
-
- Install cloud_fs:
-
-
pip install NREL-cloud_fs
or conda install nrel-cloud_fs --channel=nrel
-
Option 2: Clone repo (recommended for developers)
- from home dir,
git clone git@github.com:NREL/cloud_fs.git
-
- Create
cloud_fs
environment and install package -
- Create a conda env:
conda create -n cloud_fs
- Run the command:
conda activate cloud_fs
- cd into the repo cloned in 1.
- prior to running
pip
below, make sure the branch is correct (install from main!) - Install
cloud_fs
and its dependencies by running:pip install .
(orpip install -e .
if running a dev branch or working on the source code)
- Create a conda env:
- Create