Skip to content

Instantly share code, notes, and snippets.

View erinconv's full-sized avatar

Eisinhower Rincon erinconv

  • INRS
  • Quebec
View GitHub Profile
@erinconv
erinconv / installing_gdal.md
Created December 5, 2024 19:53 — forked from jeremejazz/installing_gdal.md
Installing Gdal with Anaconda

Installing GDAL with Anaconda

Here are steps to install GDAL in Anaconda with python bindings.

  1. Download and Install Anaconda (or Miniconda for minimal setup) For Windows a shortcut to anaconda prompt will be created in the start menu which should open command prompt with conda activated. In Linux you will be asked to make conda automatically start whenever bash starts. You can also activate it manually.
  2. (Optional. You can skip this if you want to only use base) Create a Conda environment with python.
conda create -n geospatial python=3.9
@erinconv
erinconv / compile_netcdf.md
Last active July 26, 2023 22:26
Here I show you how to build and compile netCDF-C, C++ and Fortran libraries.

Compiling netCDF-C, C++ and Fortran libraries

# Go to the dependencies root folder
mkdir ${HOME}/dependencies
cd ${HOME}/dependencies
# Create a new folder to store the source code
mkdir downloads
# Add the root folder as environment variable
export DEPENDENCIES=${HOME}/dependencies
@erinconv
erinconv / compile_boost.md
Last active July 26, 2023 22:41
Here I show you how to correctly compile and build the Boost library

Compiling boost

#Create the directory to hold all the dependencies
mkdir ${HOME}/dependencies
cd dependencies

# Download the source file
# You can choose any other version. This was tested to work on version 1.80.0
wget https://boostorg.jfrog.io/artifactory/main/release/1.80.0/source/boost_1_80_0.tar.gz
# Extract the files
@erinconv
erinconv / taylorDiagram.py
Created May 9, 2020 18:33 — forked from ycopin/taylorDiagram.py
Taylor diagram for python/matplotlib.
#!/usr/bin/env python
# Copyright: This document has been placed in the public domain.
"""
Taylor diagram (Taylor, 2001) implementation.
Note: If you have found these software useful for your research, I would
appreciate an acknowledgment.
"""