You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%%capture
!sudoaptupdate
!sudoaptupgrade-y
!sudoaptinstall-ybuild-essentialcmakelibcurl4-gnutls-devlibnetcdf-devgdal-binlibgdal-devlibfftw3-devlibpcre3-devliblapack-devlibblas-devlibglib2.0-devghostscriptghostscript-xgraphicsmagickffmpegxdg-utils# clone gmt from source
!gitclone--depth50https://github.com/GenericMappingTools/gmt# cmake everything
!cmake/content/gmt# build and install
!cmake--build . --targetinstall# just for the paranoics (answer should be )/usr/local/bin/gmt
!whichGMT# install pygmt and geopandas with pip%%capture
!pipinstallpygmtgeopandas# %load_ext autoreload# %autoreload 2# install antarctic_plots with pip%%capture
!pipinstallantarctic_plotsfromantarctic_plotsimportprofilefromantarctic_plotsimportfetch
Added folder /binder with environment.yml. This automatically re-builds binder with each PR with the pinned packages in the above file.
I haven't figured out how to have conda install optional dependencies, so tqdm is included for pooch[progress], and the following are included for xarray[io]:
cfgrib=0.9.10.1
rasterio=1.3.2
cftime=1.6.1
zarr=2.12.0
pydap=3.2.2
scipy=1.6.1
h5netcdf=1.0.2
netcdf4=1.6.0
After lots of attempts, the following commit had the successful environment.yml file: c88a23c
Description of the desired feature:
Choose between Google Colab or Binder
Binder
searches repo for either
requirements.txt
orenvironment.yml
to build a Docker image..yml
would be good since it uses conda to install, solves issues associate with Reconfigure PyGMT / GMT install #17 and Reconfigure GeoPandas / GDAL install #19automatically include in Jupyter-Book RTD webpage.
follow this to use
conda
andpip
follow this to use with just
conda
follow this to use with just
pip
tutorial
Colab
!pip install
or!apt-get install
Above only recognized v0.0.1 of antarctic_plots
Other things
Are you willing to help implement and maintain this feature?
Yes
The text was updated successfully, but these errors were encountered: