Skip to content

Instantly share code, notes, and snippets.

@rsignell-usgs
Created March 22, 2021 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsignell-usgs/07004ce709c082ff72d1578885a6f402 to your computer and use it in GitHub Desktop.
Save rsignell-usgs/07004ce709c082ff72d1578885a6f402 to your computer and use it in GitHub Desktop.
coastsat environment file
name: coastsat
channels:
- conda-forge
dependencies:
- python=3.7
- earthengine-api=0.1.236
- google-api-python-client==1.12.8
- gdal=2.3.3
- ipykernel
- pandas=0.24.2
- geopandas=0.4.1
- numpy
- matplotlib
- pillow
- pytz
- scikit-image
- scikit-learn
- shapely
- scipy
- astropy
- spyder
- notebook
@rsignell-usgs
Copy link
Author

Try this for installing coastsat:

  1. Install/set up Python using miniconda following the IOOS instructions (but skipping the environment creation step)
  2. activate the base environment conda activate base
  3. install mamba: conda install mamba
  4. Download the above environment file
  5. do mamba env create -f environment.yml to create the coastsat environent
  6. from the base environment, type: jupyter lab
  7. clone the coastsat repo git clone https://github.com/kvos/CoastSat.git
  8. open the example notebook in that repo, switch to the coastsat kernel, and run the notebook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment