From d64998ffcb1a0b9d6b37503a4d92f81f14bbc4c9 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 30 Jun 2022 09:23:39 -0500 Subject: [PATCH 1/3] remove bulk of packages --- binder/environment.yml | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/binder/environment.yml b/binder/environment.yml index 4e185c72..c90c5d55 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -2,39 +2,13 @@ name: erad-2022-dev channels: - conda-forge dependencies: + - python=3.9 - jupyter-book - numpy - scipy - matplotlib - - pandas - - xarray>=0.12.2 - - tqdm - - dask-gateway -# data science stuff - - boto - - boto3 - - blas - - liblapacke -# geospatial - - proj4 - cartopy - - geopandas - - netcdf4 - - h5py - - h5netcdf -# geoscience-related - - metpy - - satpy -# jupyter-related - - ipyleaflet - - pip -# radar + - pandas + - xarray - wradlib - - coincbc - - pip: - - sphinx-pythia-theme - - git+https://github.com/ARM-DOE/pyart.git - - git+https://github.com/openradar/PyDDA.git - - nexradaws - - cdsapi - - git+https://github.com/CSU-Radarmet/CSU_RadarTools.git + - arm_pyart From f6d037d2aac60a181bf05cf95135ff3465754580 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 30 Jun 2022 09:59:42 -0500 Subject: [PATCH 2/3] remove postbuild command --- binder/postBuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/binder/postBuild b/binder/postBuild index 90516695..2ea95531 100644 --- a/binder/postBuild +++ b/binder/postBuild @@ -25,6 +25,4 @@ bash /home/jovyan/binder/install_baltrad_rave_gmap.sh bash /home/jovyan/binder/install_baltrad_drqc.sh bash /home/jovyan/binder/install_baltrad_short_course.sh cp /home/jovyan/binder/kernel.json $CONDA_PREFIX/share/jupyter/kernels/python3/. - -bash /home/jovyan/binder/provision.sh # End \ No newline at end of file From 23f2e4b8038cd463a7b9cf7bba50ffea38984af7 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 30 Jun 2022 10:18:01 -0500 Subject: [PATCH 3/3] add kernel.json --- binder/kernel.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 binder/kernel.json diff --git a/binder/kernel.json b/binder/kernel.json new file mode 100644 index 00000000..c8168d15 --- /dev/null +++ b/binder/kernel.json @@ -0,0 +1,12 @@ +{ + "argv": [ + "/srv/conda/envs/notebook/bin/python", + "-m", + "ipykernel_launcher", + "-f", + "{connection_file}" + ], + "display_name": "Python 3", + "language": "python", + "env": {"LD_LIBRARY_PATH":":/srv/conda/envs/notebook/lib:/srv/conda/envs/notebook/hlhdf/lib:/srv/conda/envs/notebook/rave/lib:/srv/conda/envs/notebook/beamb/lib:/srv/conda/envs/notebook/bropo/lib:/srv/conda/envs/notebook/baltrad-wrwp/lib"} +} \ No newline at end of file