Skip to content

Instantly share code, notes, and snippets.

View giswqs's full-sized avatar

Qiusheng Wu giswqs

View GitHub Profile
@giswqs
giswqs / build-conda-package
Last active March 2, 2021 02:02
Building a conda package and uploading it to Anaconda Cloud
#!/bin/bash
# change the package name to the existing PyPi package you would like to build and adjust the Python versions
pkg='whitebox'
array=( 3.5 3.6 3.7 )
echo "Building conda package ..."
cd ~
conda skeleton pypi $pkg
cd $pkg
@giswqs
giswqs / meta.yaml
Created April 14, 2020 12:26
meta.yaml for ipyfilechooser
{% set name = "ipyfilechooser" %}
{% set version = "0.3.4" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 705a8a0d36b87414a72ab81a0327d3201a85e8f68ba1c70aa4f0250e1192a0db
@giswqs
giswqs / meta.yaml
Created April 25, 2020 15:15
meta.yaml for geeadd
{% set name = "geeadd" %}
{% set version = "0.4.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 51461dae6ff7ffe3854519ef5abed715d3730a1580e9e8a9e14c4bb773e1bc93
@giswqs
giswqs / meta.yaml
Created May 3, 2020 20:18
meta.yaml for ndvi2gif
{% set name = "ndvi2gif" %}
{% set version = "0.0.2" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 5464a4f326f95b1dcd987641dffeac221ad9bc4bb9f762e39f890ad7aa8ad58a
@giswqs
giswqs / gist.ipynb
Created May 17, 2020 21:39
testing/gist.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@giswqs
giswqs / 11_export_image.ipynb
Created May 21, 2020 04:35
download sentinel-2 image
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@giswqs
giswqs / image_overlay.ipynb
Created May 23, 2020 15:44
geemap image overlay
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@giswqs
giswqs / conver_js_ipynb.ipynb
Created May 25, 2020 18:44
convert GEE JavaScripts to Jupyter notebooks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@giswqs
giswqs / NDVI.ipynb
Created June 13, 2020 01:06
Calcuate NDVI and export images from Earth Engine
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{% set name = "mss" %}
{% set version = "5.1.0" %}
package:
name: "python-mss"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: cc5d52540bca12dc8d355e8379597736ffcb2df7dc293ba095557fa4856e9423