Skip to content

Commit

Permalink
add script to create conda environment with MetPy 1.4 for SWPC use case
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Dec 30, 2022
1 parent 41c97e4 commit a7dd34c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions internal/scripts/docker_env/scripts/swpc_metpy_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! /bin/sh

################################################################################
# Environment: swpc_metpy.v5
# Last Updated: 2022-12-28 (mccabe@ucar.edu)
# Notes: Adds MetPy version with support for geospatial_gradient
# Python Packages:
# metpy==1.4
#
# Other Content: None
################################################################################

# Conda environment to create
ENV_NAME=swpc_metpy.v5

# Conda environment to use as base for new environment
BASE_ENV=py_embed_base.v5

conda create -y --clone ${BASE_ENV} --name ${ENV_NAME}
conda install -y --name ${ENV_NAME} -c conda-forge metpy==1.4

0 comments on commit a7dd34c

Please sign in to comment.