Skip to content

Instantly share code, notes, and snippets.

View mattmakesmaps's full-sized avatar

Matthew Kenny mattmakesmaps

View GitHub Profile
Survey Selected: brown_island_sja_nelson_1997
Logfile Location: csv_logtest.csv
Source Geodatabase: E:\Temp\WDNR_CitrixWorking\Archive\MVA_Catalog_ks_2.13.mdb
Feature Class: E:\Temp\WDNR_CitrixWorking\Archive\MVA_Catalog_ks_2.13.mdb\SurveyPoint
Log Generated: 20130307_0925
TABLE: SurveyPoint
SurveyID,SurveyNM,FullCit,StartDT,EndDT,SurveyZone,SurveyFREQ,DataScale,has_Map,StudyID,is_ExtDel,DataConID,Shape
brown_island_sja_nelson_1997,Interannual variance in a subtidal eelgrass community,"Nelson, T. A. 1997. Interannual variance in a subtidal eelgrass community. Aquatic Botany 56: 245-252.","WARNING: ""StartDT"" Missing Value.",1992-07-30 00:00:00,sub,"WARNING: ""SurveyFREQ"" Missing Value.",site,No,brown_island_sja_nelson_et_al_1997,No,nelson_t_spu,<geoprocessing describe geometry object object at 0x08120BE0>
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 1 column, instead of 13. in line 6.
Survey Selected: brown_island_sja_nelson_1997
Logfile Location: csv_logtest.csv
Source Geodatabase: E:\Temp\WDNR_CitrixWorking\Archive\MVA_Catalog_ks_2.13.mdb
Feature Class: E:\Temp\WDNR_CitrixWorking\Archive\MVA_Catalog_ks_2.13.mdb\SurveyPoint
Log Generated: 20130307_0925
TABLE: SurveyPoint
SurveyID,SurveyNM,FullCit,StartDT,EndDT,SurveyZone,SurveyFREQ,DataScale,has_Map,StudyID,is_ExtDel,DataConID,Shape
brown_island_sja_nelson_1997,Interannual variance in a subtidal eelgrass community,"Nelson, T. A. 1997. Interannual variance in a subtidal eelgrass community. Aquatic Botany 56: 245-252.","WARNING: ""StartDT"" Missing Value.",1992-07-30 00:00:00,sub,"WARNING: ""SurveyFREQ"" Missing Value.",site,No,brown_island_sja_nelson_et_al_1997,No,nelson_t_spu,<geoprocessing describe geometry object object at 0x08120BE0>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9">
<!--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">
<title>Page through records</title>
@mattmakesmaps
mattmakesmaps / GIS_Internship_130409.mkd
Last active December 16, 2015 00:29
RIDOLFI GIS Internship

GIS Internship

Overview

RIDOLFI Inc. is a Seattle-based environmental engineering and consulting firm and is offering a paid GIS Internship for the summer of 2013. Responsibilities include a variety of tasks such as: data development, map creation, spatial analysis, and programmatic workflow automation. In addition to GIS support, current projects are focused in the following service lines:

  • Environmental services
  • Natural resource management
  • Sustainability
  • Environmental data quality and chemistry
@mattmakesmaps
mattmakesmaps / garbageclass.py
Created April 19, 2013 17:09
Garbage in, Garbage out?
class tester(object):
def __init__(self, val):
self.val = val
print 'created in %s' % self.val
def __del__(self):
print 'deleted'
cache = {}
def f1():
@mattmakesmaps
mattmakesmaps / gist:5623239
Last active December 17, 2015 14:19
dicking around with sudobangbang. looking at different implementations of sean gillies proposed `__geo_interface__` https://gist.github.com/sgillies/2217756
>>> from shapely.geometry import mapping, shape
>>> from shapely.geometry import Point
# Create a class that has a __geo_interface__
>>> class MattPoint(object):
... __geo_interface__ = {'type': 'Point', 'coordinates': (0.0, 0.0)}
...
>>> myPoint = MattPoint()
>>> myPoint.__geo_interface__
{'type': 'Point', 'coordinates': (0.0, 0.0)}
@mattmakesmaps
mattmakesmaps / README.md
Last active December 18, 2015 04:29
Coffee flavor profiles by brew method.

This d3 visualization represents Scott Rao's great graph depicting the relationship between different coffee brew methods and flavor profiles.

Brew methods to the left have the Most Body, Least Flavor Clarity, while brew methods to the right have the Least Body, Most Flavor Clarity. Larger circles represent a greater range in filter porosity.

Specifically, this is based on, via, and ripped off from.

@mattmakesmaps
mattmakesmaps / README.md
Last active December 18, 2015 10:39 — forked from mbostock/.block
@mattmakesmaps
mattmakesmaps / README.md
Last active December 18, 2015 16:59
Dynamically processed stream gauge data.

This visualization depicts a dynamic representation of stream flow in Cubic Feet per Second, "CFS", for three stream gauge stations in Washington State. A locally run python script is executed via Cron-job every hour, on the hour. The script is designed to query data from the USGS Instantaneous Values REST Web Service and format it for use in d3.

These data are then committed to github via a machine user account on the local machine. This visualization, stored as a gist, points to this periodically updated dataset.

Why do this? I wanted to learn the workflow for processing remote data on a local machine, with the end point of exposing it automatically via github. You could easily perform the data processing for this visualization using pure JS, but there are other use cases. What if, for example, you w

MVA Application - Divergent Files Review

Overview

This document is designed to present a basic overview of files contained within the larger WDNR Marine Spatial Planning (MSP) codebase, that were modified for the purposes of the WDNR Marine Vegetation Atlas (MVA). Additionally, newly created files, specific to the MVA, will be reviewed.