This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Canvas; | |
import javax.swing.JButton; | |
import javax.swing.JFrame; | |
import javax.swing.JTextField; | |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.awt.SWT_AWT; | |
import org.eclipse.swt.browser.Browser; | |
import org.eclipse.swt.layout.GridData; | |
import org.eclipse.swt.widgets.Display; | |
import org.eclipse.swt.widgets.Shell; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CelsiusConverterGUI extends javax.swing.JFrame { | |
/** | |
* Creates new form CelsiusConverterGUI | |
*/ | |
public CelsiusConverterGUI() { | |
initComponents(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Canvas; | |
import java.awt.EventQueue; | |
import java.text.DateFormat; | |
import java.util.Date; | |
import java.util.Locale; | |
import javax.swing.JFrame; | |
/** | |
* | |
* @author Nicholas Hallahan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!isTMSstructure) { | |
imgName = imageFile.getName(); | |
} else { | |
int zoom = Integer.parseInt(resultZoomDirectory.getName()); | |
int googleRowNumber = Integer.parseInt(FileUtils.getFileNameWithoutExtension(imageFile.getName())); | |
imgName = String.valueOf( | |
(int) (Math.pow(2, zoom) - 1 - googleRowNumber)) + "." + FileUtils.getFileExtension(imageFile.getName()); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import arcpy | |
import numpy | |
import math | |
from arcpy.sa import * | |
arcpy.CheckOutExtension('Spatial') | |
arcpy.env.overwriteOutput = True | |
cwd = os.getcwd() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import arcpy | |
import numpy | |
import math | |
from arcpy.sa import * | |
arcpy.CheckOutExtension('Spatial') | |
arcpy.env.overwriteOutput = True | |
cwd = os.getcwd() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import arcpy | |
import numpy | |
import math | |
from arcpy.sa import * | |
arcpy.CheckOutExtension('Spatial') | |
arcpy.env.overwriteOutput = True | |
cwd = os.getcwd() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import arcpy | |
from arcpy.sa import * | |
arcpy.CheckOutExtension('Spatial') | |
arcpy.env.overwriteOutput = True | |
cwd = os.getcwd() | |
inputPath = cwd + "\\intermediate\\" | |
outputPath = cwd + "\\output\\" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cloud-hole-all.py | |
# Nicholas Hallahan [email protected] | |
# Sun Nov 24 2013 | |
# This script just composites bands 4,3,2 into an RGB composite tiff for all of the outputs | |
# of holy cloud imagery. | |
import os | |
import arcpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# average-rgb2.py | |
# Nicholas Hallahan [email protected] | |
# Sat Nov 30 2013 | |
import os | |
import arcpy | |
from arcpy.sa import * | |
arcpy.CheckOutExtension('Spatial') |
OlderNewer