This file contains 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
/* | |
* 21-sensorboard_slave.ino | |
* Wesley T. Honeycutt; 2021 | |
* | |
* License: GPL-3.0 | |
* | |
* This code is for the "CONEX Sensor Deployment" with the OU School of Architecture. | |
* | |
* This program controls a small breakout board (CO2x sensorboard_slave) with an Arduino nano | |
* controller. This breakout board is attached to a modified sensorboard (CO2x sensorboard) from |
This file contains 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
#!/bin/usr/python3 -B | |
# -*- coding: utf-8 -*- | |
''' | |
This is an example script written by Wesley T. Honeycutt for Sam Davis | |
For help with arguments, use terminal command: | |
python3 processor.py --help |
This file contains 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
#!/usr/bin/python | |
''' | |
This code is adapted by Wesley T. Honeycutt from: | |
Module: read_and_map_tropomi_no2.py | |
========================================================================================== | |
Disclaimer: The code is for demonstration purposes only. Users are responsible to check for | |
accuracy and revise to fit their objective. | |
Author: Justin Roberts-Pierel, 2015 |
This file contains 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
#!/usr/bin/python3 | |
# If you don't have the required package use: | |
# sudo -H pip3 install sentinelsat | |
import sentinelsat | |
# Enter user information here. | |
# Use s5pguest for Sentinel 5 data | |
# If you need a geojson file, try playing with https://geojson.io/ |
This file contains 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
#include <string> | |
#include <stdio.h> | |
#include <gtk/gtk.h> | |
GtkApplication *app; | |
GtkWidget *window; | |
GtkWidget *button_box; | |
GtkWidget *button; | |
GtkCssProvider *provider; | |
GList *listrunner; |
This file contains 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
// Includes | |
#include <fstream> | |
#include <numeric> // for accumulate | |
#include <string> // for string | |
#include <vector> // for vector | |
using std::string; | |
using std::vector; | |
#include "opencv2/opencv.hpp" | |
using namespace cv; |
This file contains 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
#! /usr/bin/python3 | |
""" | |
Sort contoured video frames into directories based on ISR's findings. | |
""" | |
import csv | |
import os | |
import shutil |
This file contains 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
65 | 133 | |
---|---|---|
249 | 262 | |
340 | 356 | |
978 | 988 | |
1588 | 1619 | |
1600 | 1635 | |
1656 | 1674 | |
2353 | 2378 | |
2357 | 2378 | |
2606 | 2638 |
This file contains 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 glob | |
import subprocess | |
for fff in glob.glob("/media/storage1/Moving_Images/TV/*/*/*"): | |
show = fff.split("/media/storage1/Moving_Images/TV/")[1].split("/")[0] | |
seas = fff.split("/media/storage1/Moving_Images/TV/")[1].split("/")[1].split("Season_")[1] | |
epis = fff.split("/media/storage1/Moving_Images/TV/")[1].split("/")[2].split("-")[0] | |
test = fff.split("/media/storage1/Moving_Images/TV/")[1].split("/")[2].split("-")[1:] | |
titl = ''.join(test).split(".mp4")[0] |
This file contains 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
# Copyright (c) 2014 Adafruit Industries | |
# Author: Tony DiCola | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# |
NewerOlder