Instuctions TBD
https://github.com/OPERA-Cal-Val/DSWx-SCP-validation-generation
A .env
file should have the following information:
PLANET_API_KEY='<API_KEY>'
ES_USERNAME='<JPL USERNAME>'
ES_PASSWORD='<JPL PASSWORD>'
In your ~/.netrc
, place earthdata login credentials:
machine urs.earthdata.nasa.gov
login <username>
password <password>
It is recommended to install mamba
in the user's base environment to speed up the installation process:
conda install -c conda-forge mamba
From this repo:
mamba env create -f environment.yml
conda activate dswx_val
After activatating
python -m ipykernel install --user --name dswx_val
-
Create a branch from dev and create a pull request.
-
Do you development.
-
Make sure to run before you commit:
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --ClearMetadataPreprocessor.enabled=True --inplace *.ipynb
This will clear ouput and metadata (including when you executed your notebook) for easier version control.
-
Have another member review.
-
Make sure to clear your outputs for better version control.