{"id":34852167,"url":"https://github.com/earthlab/earth-analytics-python-env","last_synced_at":"2025-12-25T19:26:40.931Z","repository":{"id":41755610,"uuid":"132847711","full_name":"earthlab/earth-analytics-python-env","owner":"earthlab","description":"A conda environment and docker container to support using earth and environmental data in Python. ","archived":false,"fork":false,"pushed_at":"2025-05-19T22:47:36.000Z","size":186,"stargazers_count":84,"open_issues_count":7,"forks_count":1481,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-19T23:23:54.725Z","etag":null,"topics":["anaconda","earth-analytics","python"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/earthlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-10T04:16:59.000Z","updated_at":"2025-05-19T22:47:40.000Z","dependencies_parsed_at":"2022-07-18T08:13:09.568Z","dependency_job_id":"67cd08aa-0858-482d-a40c-6d72f90c9f14","html_url":"https://github.com/earthlab/earth-analytics-python-env","commit_stats":{"total_commits":143,"total_committers":11,"mean_commits":13.0,"dds":0.3496503496503497,"last_synced_commit":"46ca895f97d0b4f0ae6a291b789a31108722d2aa"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/earthlab/earth-analytics-python-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fearth-analytics-python-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fearth-analytics-python-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fearth-analytics-python-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fearth-analytics-python-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earthlab","download_url":"https://codeload.github.com/earthlab/earth-analytics-python-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fearth-analytics-python-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28035491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anaconda","earth-analytics","python"],"created_at":"2025-12-25T19:26:40.382Z","updated_at":"2025-12-25T19:26:40.921Z","avatar_url":"https://github.com/earthlab.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Earth Analytics Python Conda Environment\n\n[![Build Status](https://travis-ci.com/earthlab/earth-analytics-python-env.svg?branch=master)](https://travis-ci.com/earthlab/earth-analytics-python-env)\n[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/38a49nccgpl1metv?svg=true)](https://ci.appveyor.com/project/mbjoseph/earth-analytics-python-env)\n[![DOI](https://zenodo.org/badge/132847711.svg)](https://zenodo.org/badge/latestdoi/132847711)\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/earthlab/earth-analytics-binder/master)\n[![](https://images.microbadger.com/badges/image/earthlab/earth-analytics-python-env.svg)](https://microbadger.com/images/earthlab/earth-analytics-python-env \"EA-Environment Docker Stats\")\n![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/earthlab/earth-analytics-python-env?style=plastic)\n\nWelcome to the Earth Analytics `Python` Environment Repository! Here you will find a conda environment that can be installed on your computer using a `.yaml` file. You will also find a docker image that can be used to actually run the environment in a containerized environment.\n\n\n## Contributors:\n\n* Leah A. Wasser (@lwasser)\n* Filipe fernandes (@ocefpaf)\n* Tim Head (@betatim)\n* Chris Holdgraf (@choldgraf)\n* Max Joseph  (@mbjoseph)\n* Martha Morrissey\n\n## Getting started with the Conda Environment\n\n### 1. Install the Earth Lab Conda Environment on your Local Computer.\n\nTo begin, install `git` and `conda` for Python 3.x (we suggest 3.6).\n\nInstalling git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git\n\nInstalling miniconda: https://docs.conda.io/en/latest/miniconda.html\n\nAbout Conda Environments: https://conda.io/docs/user-guide/tasks/manage-environments.html\n\n### Tutorial On Setup\nIf you want a more detailed tutorial on setting up this environment using miniconda, \nplease visit our learning portal: https://www.earthdatascience.org/workshops/setup-earth-analytics-python/\n\nWe recommend installing everything using the with `conda-forge` channel. \n\n### Quick Start: Setup Your Environment\n\nThe tutorial above will provide you with more detailed setup instructions.\nBut here are the cliff notes:\n\nTo begin, install the environment using:\n\n`conda env create -f environment.yml`\n\nThis will take a bit of time to run. \n\n* Also note that for the code above to work, you need to be in the directory where the `environment.yml` file lives so CD to that directory first\n\n`$ cd earth-analytics-python-env`\n\n\n### Update Your EA Environment from the YAML File\n\nYou can update your environment at any time using:\n\n`conda env update -f environment.yml`\n\nTo manage your conda environments, use the following commands:\n\n#### View envs installed\n`conda info --envs`\n\n#### Activate the environment that you'd like to use\n\n[Conda 4.6 and later versions (all operating systems):](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)\n```\nconda activate earth-analytics-python\n```\n\nThe environment name is `earth-analytics-python` as\ndefined in the `environment.yml` file.\n\n## Docker Build\n\n[![Docker Automated build](https://img.shields.io/docker/automated/earthlab/earth-analytics-python-env.svg)](https://hub.docker.com/r/earthlab/earth-analytics-python-env/)\n\nTo run a docker container you need to do the following:\n\n1. [Install docker](https://docs.docker.com/install/) and make sure it is running.\n\n2. Build the docker image on your compute locally. Be patient - this will take a bit of time.\nRun the following lines to build the docker image locally:\n\n```\ncd earth-analytics-python-env\ndocker build -t earthlab/earth-analytics-python-env .\ndocker run -it -p 8888:8888 earthlab/earth-analytics-python-env\n\n```\n\n3. Run the image.\n\nTo run your earth-analytics image, use the following code:\n\n`docker run --hostname localhost -it -p 8888:8888 earthlab/earth-analytics-python-env`\n\nNOTE: `earthlab/earth-analytics-python-env` is the name of this image as built above. To\nview all images on your computer, type\n`docker images --all`\n\nOne you run your image, you will be given a URL at the command line. Paste that puppy\ninto your browser to run jupyter with the earth analytics environment installed!!\n\n## Updating the Earth Analytics Environment\n\nIf you wish to update the earth analytics environment, do the following.\n\n1. make a **PR** with changes to master\n1. An code admin will **merge** the PR into the master branch\n1. Check \u0026 wait till [Dockerhub](https://hub.docker.com/r/earthlab/earth-analytics-python-env/tags/) has built the image for the merging of the **PR** you can see builds in progress, [here](https://hub.docker.com/r/earthlab/earth-analytics-python-env/builds/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthlab%2Fearth-analytics-python-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearthlab%2Fearth-analytics-python-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthlab%2Fearth-analytics-python-env/lists"}