! Ferret script to plot Wetstar and HS2 Fluorometry measuruments together. ! (See http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2008/msg00354.html) ! Automatically generated by: ! /home/cvs/DPforSSDS/cimt/wetstar.pl at Mon Nov 21 16:06:41 2011 on elvis.shore.mbari.org as ssdsadmin. ! ! Mike McCann ! MBARI 4 Sept 2008 ! Set up window and viewports for the 2 plots set window/aspect=0.5 set window/size=0.7 define view/xlim=0:1/ylim=0:1 v1 define view/xlim=0:1/ylim=0:1 v2 ! Access the currently deployed Wetstar and HS2 instrument data through OPeNDAP use "http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m2/current_netCDFs/wetstar.nc" use "http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m2/current_netCDFs/hs2.nc" ! Set time period for the last 7 days set region/t="15-Nov-2011 00:06":"22-Nov-2011 00:06" ! Plot the Wetstar data with lables (except for right-hand axis), then unlabel what we don't want set view v1 plot/set/axes=1,1,1,0 fluorescence[d=1] go remove_logo go unlabel `($labnum_dset)` go unlabel `($labnum_dods)` ppl title " " ppl ylab "Wetstar Fluorescence(V)" ppl plot ! Plot the HS2 fl676 data in red with vertical axis limits set view v2; plot/set/axes=0,0,0,1/nolab/color=2/vlimits=0:0.02 fl676 ppl axlabp 0,1 ppl ylab "@P2HS2 fl676(NFU)" ! Note: must run with -script option (will not work as stdin to ferret) ppl plot ! Save the plot as a GIF image frame/file="/mbari/ssdsdata/deployments/m2/current_last7_gifs/Fluorometers.gif"