Skip to content

Instantly share code, notes, and snippets.

View OneGneissGuy's full-sized avatar
🎯
Focusing

John Franco Saraceno OneGneissGuy

🎯
Focusing
View GitHub Profile
@OneGneissGuy
OneGneissGuy / proc_lisst.py
Created August 10, 2016 05:01
Process a matlab .mat file generated by proc_lisst.m
# -*- coding: utf-8 -*-
"""
:DESCRIPTION:code to process LISST VC data
:REQUIRES:
:TODO:
:AUTHOR: John Franco Saraceno
:ORGANIZATION: U.S. Geological Survey, United States Department of Interior
@OneGneissGuy
OneGneissGuy / proc_lisst.m
Created August 9, 2016 18:12
Script to process LISST binary data files
%code to batch process and invert binary lisst data
f_directory = 'C:\Users\saraceno\Documents\MATLAB\LISST\recachelisstdata';
datafile_ext = '*.dat';
zscfile = 'office_zsc_1145_110712.asc';
fac_zscfile = 'factory_zsc_1145.asc';
ringareafile = 'Ringarea_1145.asc';
instrument_data = 'InstrumentData.txt';
VCC = 4972;
type = 3;
random_shape = 1;
@OneGneissGuy
OneGneissGuy / SM_data.py
Last active August 1, 2016 15:40 — forked from mikshila/SM_data.py
Code for managing soil moisture data
# -*- coding: utf-8 -*-
"""
:DESCRIPTION:Code for managing soil moisture data
:REQUIRES:
:TODO:More error handling
:AUTHOR: John Franco Saraceno
:ORGANIZATION: U.S. Geological Survey, United States Department of Interior
:CONTACT: saraceno@usgs.gov
:VERSION: 1.0
Fri Jul 29 18:48:40 2016