HMI_Logo HMI Ring Diagrams
Pipeline Script Specifications

avgpsbycr

Script Version
	1.8	13 XI 2018

General Description
	Produces time averaged power spectra over a Carrington rotation
	from the power spectra of tracked ring-diagram tiles

Status
	This version has been superseded by Version 1.9
	Used for pipeline production from Nov 9, 2018 through 26 Dec 2019, including all of
	hmi.rdVavgpspec_fd05[2209-2220,2222-2223], hmi.rdVavgpspec_fd15[2209-2224], and hmi.rdVavgpspec_fd30[2209-2224]

	Included in JSOC release 9.3
	The script is in the JSOC CVS repository
	This version supersedes Version 1.7

Usage
	avgpsbycr [-test] Size CarRot
	
Arguments
	-test		If specified, the output series will be in namespace hmi_test;
			otherwise it is in hmi

	Size		The tile size of spectra to be averaged: must be 5, 15, or 30

	CarRot		The Carrington rotation number of the averaging interval

Input Data Series:
	hmi.rdVpspec_fd*

Output Data Series:
	hmi.rdVavgpspec_fd*
	hmi_test.rdVavgpspec_fd*

Modules invoked:
	datavg

Auxiliary Files used:
	~rick/hmi/notify (for addresses of email notifications)
	~rick/hmi/rings/testoptions (for test options if -test specified)
	~rick/hmi/tmpfs (optional locations for roots of temp and scratch directories)
		if not present, both default to /tmp

Fixed Parameter Values for module datavg:
	flags	-v
	mean	logP
	pkey	CMLon
	mscale	0.0005
	mzero	-11.5
	copy	"CarrRot,LatHG,LonCM,DELTA_K,DELTA_NU,D_OMEGA,Apode_f,APOD_MIN,APOD_MAX"
paramSize 5Size 15Size 30
out hmi[_test].rdVavgpspec_fd05 hmi[_test].rdVavgpspec_fd15 hmi[_test].rdVavgpspec_fd30
in hmi.rdVpspec_fd05[CarRot] hmi.rdVpspec_fd15[CarRot] hmi.rdVpspec_fd30[CarRot]
Sample commands:
	avgpsbycr 5 2161
	avgpsbycr 15 2096
	avgpsbycr 30 2096

Changes from Previous Version
	— use Carrington time closest to CR:180 if CR:180 missing for target list
	— make target list of latitudes appropriate for sample at or near midtime
	  rather than union of all
	— force use of cluster 1 for 5° tiles and check for existence of
	  appropriate qsub command

Bugs in current version

Valid HTML 4.01 Transitional HMI Ring Diagrams 16 Jan 2020, 12:39-0800