Skip to content

Instantly share code, notes, and snippets.

View scra88le's full-sized avatar

scra88le scra88le

  • Planet Earth
View GitHub Profile
@saketkunwar
saketkunwar / spk.js
Last active February 23, 2023 15:52
Google Earth Engine Speckle Noise Reduction
var sentinel1 = ee.ImageCollection('COPERNICUS/S1_GRD');
var poly = ee.Geometry.Polygon(
[[[-95.83648681640625, 29.561512529746743],
[-95.042724609375, 29.57345707301757],
[-95.02899169921875, 30.099989515377835],
[-95.82275390625, 30.10711788709236]]]);
var spatialFiltered = sentinel1.filter(ee.Filter.eq('instrumentMode', 'IW')).filterBounds(poly)
.filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VV'))
.select('VV');
var image = spatialFiltered.filterDate('2017-08-25', '2017-09-05').mosaic().clip(poly);
@JoshuaTPierce
JoshuaTPierce / RMD_and_GitHub.docx
Created June 7, 2017 17:21
Creating and Pushing a R-Markdown Document to Github (including graphs)
Go to github
Create new repository [don't need to initialize with the readme (can add later)]
Go to R Studio
File -> New Project -> Version Control -> Git
Ctrl+V repository URL from GitHub
File -> New -> Markdown, enter Title, etc.
In the Markdown window, change "output=html_document" to "output=github_document"
Knit the document for the first time, will prompt you to save
Save as Title.rmd
In the "git" tab of the R studio Environment window, you will notice that the knit produced:
@Mohitsharma44
Mohitsharma44 / gist:8d21bbf8efe3bf161b16353e09e99b82
Created February 1, 2017 15:28
Installing gnuradio, osmosdr and hackrf on mac using mac ports
# Unfortunately this only works with macports for now. I have installed homebrew and macports on my mac
# and use macports explicitly for gnuradio stuff and homebrew as my default package manager. So far
# my system is not broken. I'm considering it as a good sign :p
Steps:
- Install MacPorts (if you havent) following the instructions from here: https://guide.macports.org/#installing
- Install python using Homebrew: brew install python