-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change "time" value for averaged quantities to midpoint of averaging period #869
Conversation
Requesting @fvitt take a look at the updated WACCM use case namelists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions
<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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> | |
<mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 73 </mfilt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed.
@@ -67,7 +67,7 @@ | |||
<!-- History Streams --> | |||
|
|||
<mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 30 </mfilt> | |
<mfilt> 1, 30, 120, 240, 240, 480, 365, 73, 73 </mfilt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed.
@@ -118,7 +118,7 @@ | |||
'BRO:B', 'NO3:B', 'DTCORE:B', 'DTV:B', 'TTGW:B','OMEGA:B' </fincl3> | |||
<!-- Daily Average --> | |||
<fincl4> | |||
'PS', 'PSL', 'U', 'V', 'T', 'Z3', 'PHIS','FRONTGF:I', 'OMEGA' | |||
'PS', 'PSL', 'U', 'V', 'T', 'Z3', 'PHIS','FRONTGF', 'OMEGA' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move 'FRONTGF'
to fincl6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved.
</fincl8> | ||
</fincl7> | ||
<!-- Instantaneous every 5 days --> | ||
<fincl8>'FRONTGF'</fincl8> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set the 8th entry of nhtfrq
to -120
and mfilt
to 73 in this use case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
@@ -146,8 +146,8 @@ | |||
|
|||
<!-- History Files --> | |||
|
|||
<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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> | |
<mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 73 </mfilt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed.
@@ -42,8 +42,8 @@ | |||
|
|||
<!-- History Files --> | |||
|
|||
<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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 365 </mfilt> | |
<mfilt> 1, 5, 20, 40, 120, 240, 365, 73, 73 </mfilt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed.
@@ -136,7 +136,7 @@ | |||
'SAD_ICE', 'SAD_LNAT', 'SAD_SULFC', 'T', 'TREFHT', 'TTGW', 'U', | |||
'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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should move 'FRONTGF'
to fincl4 which should be designated as 'I'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved and changed.
@@ -78,7 +78,7 @@ | |||
'Z3', 'T', 'TIon', 'TElec', 'e', 'U', 'V', 'OMEGA', 'UI', 'VI', 'WI', 'ElecColDens', 'PHIM2D', 'PS', | |||
'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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'FRONTGF'
should be moved to fincl4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved and changed
@@ -114,7 +114,7 @@ | |||
'QRL_TOT', 'PSL', 'HNO3_STS', 'HNO3_NAT', 'HNO3_GAS', 'NO_Aircraft', 'NO_Lightning', | |||
'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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'TCLY', 'TOTH', 'UIONTEND', 'VIONTEND', 'DiTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', | |
'TCLY', 'TOTH', 'UIONTEND', 'VIONTEND', 'DTCORE', 'CLDLIQ', 'CLDICE', 'CONCLD', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
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