Skip to content

Instantly share code, notes, and snippets.

Lela lelap

Block or report user

Report or block lelap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lelap
lelap / gist:ed02822f3654da3505ad
Last active Aug 29, 2015
Useful davinci image processing scripts
View gist:ed02822f3654da3505ad
Useful davinci image processing scripts - All from Christensen, 2010 Remote Sensing Lab, ASU
1) a = read(“filename”)
Read in a file into array ‘a’
Examples:
t = read(“Atlanta_AST_11_25_2006_surface_temp.vic")
Reads the 830 pixel by 700 pixel by 1-band temperature image into ‘t’
em = read(“Atlanta_AST_11_25_2006_emissivity.vic")
Reads the 830 pixel by 700 pixel by 5-band emissivity image into ‘em’
@lelap
lelap / gist:e8d7be9074e4bc9b388a
Last active Aug 29, 2015
Davinci example import and process ASTER Level 1B imagery
View gist:e8d7be9074e4bc9b388a
Davinci http://davinci.asu.edu/ is a NASA-funded flight code software package used as a data processing tool, developed at Arizona State University by the Mars Space Flight Facility development team. Davinci providing powerful numeric data manipulation and spectral analytical tools and has a robust suite of tools designed to mosaic, normalize, register, and blend large datasets . The core of Davinci is a free, open-source C-like interactive and scripting language that relies on a math engine developed in C. Davinci has a variety of vector-oriented features that make working with large, complicated datasets much easier. Davinci is available as a prebuilt binary for all major operating systems (Windows, Mac, and Linux).
This is an example of bringing in ASTER L1B data and processing through Davinci. The data can then be displayed in JMARS - a Java-based GIS optimised for imagery.
Follow the directions to get Davinci installed and running first: http://davinci.asu.edu/index.php?title=Download_Davinci
Acce
@lelap
lelap / gist:8cadc556e7a1b0a62746
Created Jul 31, 2015
davinci image processing basic examples
View gist:8cadc556e7a1b0a62746
Davinci http://davinci.asu.edu/ is a NASA-funded flight code software package used as a data processing tool, developed at Arizona State UNiversity by the Mars Space Flight Facility development team. Davinci providing powerful numeric data manipulation and spectral analytical tools and has a robust suite of tools designed to mosaic, normalize, register, and blend large datasets . The core of Davinci is a free, open-source C-like interactive and scripting language that relies on a math engine developed in C. Davinci has a variety of vector-oriented features that make working with large, complicated datasets much easier. Davinci is available as a prebuilt binary for all major operating systems (Windows, Mac, and Linux).
This is a basic example to test Davinci. This is based closley on GLG 490/598 remote sensing lab exercises developed by the PI of the ASU MSFF and Davinci - Dr. Philip Christensen, from 2010.
Follow the directions to get Davinci installed and running first: http://davinci.asu.edu/index.php
@lelap
lelap / HighSeas_2014.html
Last active Aug 29, 2015
High Seas Example of ArcGIS JS API map
View HighSeas_2014.html
<!--
This example is based on the work for the first iteration of the Ocean Health Index website built by Radical Media here: http://www.oceanhealthindex.org/Countries. Radical utelized ArcGIS Server to server the HighSeas and basemap data and ArcGIS Javascript API to build their interactive map. This is an example to demonstrate ArcGIS API functionality
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--The viewport meta tag is used to improve the presentation and behavior of the samples
on iOS devices-->
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
@lelap
lelap / EEZs_2014.html
Last active Aug 29, 2015
EEZs Example of ArcGIS JS API map
View EEZs_2014.html
<!--
This example is based on the work for the first iteration of the Ocean Health Index website built by Radical Media here: http://www.oceanhealthindex.org/Countries. Radical utelized ArcGIS Server to server the EEZ and basemap data and ArcGIS Javascript API to build their interactive map. This is an example to demonstrate ArcGIS API functionality
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--The viewport meta tag is used to improve the presentation and behavior of the samples
on iOS devices-->
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
View .vimrc
" Make Vim more useful
set nocompatible
" Use the OS clipboard by default (on versions compiled with `+clipboard`)
" Set color scheme!
colorscheme candy
set clipboard=unnamed
" Enhance command-line completion
set wildmenu
" Allow cursor keys in insert mode
set esckeys
@lelap
lelap / 0_reuse_code.js
Created Jan 31, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.