Dynamic Forms & Formsets in Django

by on August 6, 2017

In working on a Django web app recently, I ran across the problem of creating programatically-created forms. Creating regular forms in Django is a piece of cake: from django import forms class NameForm(forms.Form): your_name = forms.CharField(label=’Your name’, max_length=100) Creating many forms is equally easy, once the initial form class has been defined: from django.forms import […]

Processing sub-bottom profiling data in Python

by on November 17, 2016

In addition to processing bathymetric data, my research on lakes requires sub-bottom profiling, or the collection of low-energy seismic data collected similarly to bathymetric data. The system we use is the SyQwest HydroBox, which, due to many hardware and software limitations, has been particularly frustrating. Still, when it does work properly, the HydroBox data has […]

qosm: Open Street Map tiles in QGIS

by on March 11, 2016

There was once a time in QGIS where getting Open Street Map basemaps was tricky. ArcGIS long since solved this problems with ready-made basemaps available with a few clicks, but in QGIS there was the OpenLayers plugin, which was a rough go to use. In the first GIS short course I taught, this was the […]

DFLite: The Quick & Easy Python DataFrame

by on March 10, 2016

The data frame was a concept I first came across in R, where it is a fundemental component of data analysis. Never having done much data analysis in Python, I came across a situation where I needed a data frame but didn’t know about the pandas implementation, so I went about writing my own DataFrame […]

WP Facebook Like Send & Open Graph Meta powered by TutsKid.com.