Change "time" value for averaged quantities to midpoint of averaging period#869
Change "time" value for averaged quantities to midpoint of averaging period#869peverwhee wants to merge 7 commits into
Conversation
|
Requesting @fvitt take a look at the updated WACCM use case namelists |
| <avgflag_pertape> 'A', 'I', 'I', 'A', 'A', 'A', 'I' </avgflag_pertape> | ||
| <nhtfrq> 0, -1, -24, -24, -120, -24, -120 </nhtfrq> | ||
| <mfilt> 1, 24, 7, 7, 10, 365, 10 </mfilt> |
There was a problem hiding this comment.
| <avgflag_pertape> 'A', 'I', 'I', 'A', 'A', 'A', 'I' </avgflag_pertape> | |
| <nhtfrq> 0, -1, -24, -24, -120, -24, -120 </nhtfrq> | |
| <mfilt> 1, 24, 7, 7, 10, 365, 10 </mfilt> | |
| <avgflag_pertape> 'A', 'I', 'I', 'A', 'A', 'A', 'A', 'I' </avgflag_pertape> | |
| <nhtfrq> 0, -1, -24, -24, -120, -24, -24, -120 </nhtfrq> | |
| <mfilt> 1, 24, 7, 7, 10, 365, 365, 73 </mfilt> |
There was a problem hiding this comment.
changed, though I did not add the extra average history tape and instead changed the existing tape numbers in the finclx variables.
| @@ -87,7 +87,7 @@ | |||
| <!-- History Streams --> | |||
|
|
|||
| <mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> | |||
There was a problem hiding this comment.
| <mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> | |
| <mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 73 </mfilt> |
| @@ -67,7 +67,7 @@ | |||
| <!-- History Streams --> | |||
|
|
|||
| <mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> | |||
There was a problem hiding this comment.
| <mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> | |
| <mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 73 </mfilt> |
| <!-- Daily Average --> | ||
| <fincl4> | ||
| 'PS', 'PSL', 'U', 'V', 'T', 'Z3', 'PHIS','FRONTGF:I', 'OMEGA' | ||
| 'PS', 'PSL', 'U', 'V', 'T', 'Z3', 'PHIS','FRONTGF', 'OMEGA' |
| </fincl8> | ||
| </fincl7> | ||
| <!-- Instantaneous every 5 days --> | ||
| <fincl8>'FRONTGF'</fincl8> |
There was a problem hiding this comment.
Set the 8th entry of nhtfrq to -120 and mfilt to 73 in this use case.
|
|
||
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> | ||
| <nhtfrq> 0, -24, -6, -3, -1, 1, -24,-120,-240 </nhtfrq> | ||
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> |
There was a problem hiding this comment.
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> | |
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 73 </mfilt> |
|
|
||
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> | ||
| <nhtfrq> 0, -24, -6, -3, -1, 1, -24,-120,-240 </nhtfrq> | ||
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> |
There was a problem hiding this comment.
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> | |
| <mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 73 </mfilt> |
| 'UTGWORO', 'UTGWSPEC', 'V', 'VERT', 'VTGWORO', 'VTGWSPEC', 'Z3', 'O2_1S', 'O2_1D', 'NOX', 'NOY', | ||
| 'CLOX', 'CLOY', 'BROX', 'BROY', 'TCLY', 'TOTH', 'QJOULE', 'UIONTEND', 'VIONTEND', | ||
| 'DTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', 'FRONTGF:I', 'BUTGWSPEC', 'BTAUE', 'BTAUW', 'BTAUN', 'BTAUS', 'TAUE', | ||
| 'DTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', 'FRONTGF', 'BUTGWSPEC', 'BTAUE', 'BTAUW', 'BTAUN', 'BTAUS', 'TAUE', |
There was a problem hiding this comment.
Should move 'FRONTGF' to fincl4 which should be designated as 'I'
There was a problem hiding this comment.
moved and changed.
| 'PED_CONDUCTANCE', 'HALL_CONDUCTANCE', 'ED1', 'ED2', 'O', 'O2', 'H', 'NO', 'CO2', 'N', 'O1D', | ||
| 'Op2P', 'Op2D', 'Op', 'Np', 'N2p', 'O2p', 'NOp', 'QJOULE', 'SIGMAHAL', 'SIGMAPED', 'SolIonRate_Tot', | ||
| 'Z3GM', 'OpDens', 'EDens' | ||
| 'Z3GM', 'OpDens', 'EDens', 'FRONTGF' |
There was a problem hiding this comment.
'FRONTGF' should be moved to fincl4
There was a problem hiding this comment.
moved and changed
| 'QRS_AUR', 'QRS_CO2NIR', 'QRS_EUV', 'SAD_ICE', 'SAD_LNAT', 'SAD_SULFC', 'TREFHT', | ||
| 'VERT', 'VTGWORO', 'VTGWSPEC', 'O2_1S', 'O2_1D', 'NOX', 'NOY', 'CLOX', 'CLOY', 'BROX', 'BROY', | ||
| 'TCLY', 'TOTH', 'UIONTEND', 'VIONTEND', 'DTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', 'FRONTGF:I', | ||
| 'TCLY', 'TOTH', 'UIONTEND', 'VIONTEND', 'DiTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', |
There was a problem hiding this comment.
| 'TCLY', 'TOTH', 'UIONTEND', 'VIONTEND', 'DiTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', | |
| 'TCLY', 'TOTH', 'UIONTEND', 'VIONTEND', 'DTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', |
Overview
Per #159 - this PR changes the "time" variable in a history file with averaged (and/or min/max/stdev quantities) to be the midpoint of the averaging period (basically, the average of the time_bounds variable).
Side affects of the above/related changes in this PR (all implemented):
Tests performed locally
Related to: ESCOMP/CTSM#2019
closes #159