Skip to content

tjc181/czo-timeseries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time series plot generator

Requested by Brandon Forsythe

Generate time series plot on a 7-day rolling window from data in database tables SC_TwinBridge_stream and SC_TwinBridge_meteo.

SC_TwinBridge_stream.gp is a gnuplot recipe for plotting SC_TwinBridge_stream data from columns TmStamp, SW_Depth_m, and WaterTemp_C.

SC_TwinBridge_meteo.gp is recipe for plotting SC_TwinBridge_meteo data from columns TmStamp, AirTemp_C, Rel_Hum, and Rain_mm_Tot.

genplot.sh pulls CSV data from http://www.czo.psu.edu/SQL_Query3.php via form posting using curl. The resulting CSV data are then used by the above gnuplot recipes to produce PNG formatted images.

genplot.sh takes two optional arguments. This is quick and dirty so no real argument processing is performed at this time -- if argument 2 is needed, argument 1 is required.

Usage: genplot.sh [(program directory) output directory]

Program directory is the absolute or relative path to the genplot.sh program. This directory contains the GNUplot recipes.

Output directory is the directory where generated images are placed.

About

GNUplot time series data from CZO Twin Creek site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors