-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix report quality flag tables (#602)
* initial attempt * vertical middle * fix text * unique flags filter, pdf works * rot parbox raggedright * val results table test * tabu for the win * fix preprocessing total discard line * clarify discard data lines * remove undefined data string from preprocessing * unneeded total * hopefully clarify data_validation_pre * endless screaming * edits for clarity * Update solarforecastarbiter/reports/templates/data_resampling_preamble Co-authored-by: Tony Lorenzo <atlorenzo@email.arizona.edu> * fix tests, older report compat * fix section titles * whatsnew * maybe fix the latex issues * maybe fix latex issue w/ tabu * move validation and resampling down a level Co-authored-by: Tony Lorenzo <atlorenzo@email.arizona.edu>
- Loading branch information
1 parent
69d7a5d
commit c943b9b
Showing
14 changed files
with
300 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
solarforecastarbiter/reports/templates/data_resampling_postamble
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<p> | ||
Users may wish to fix the data issues by having new or missing data uploaded. | ||
The metrics computed in this report will remain unchanged, however, a user may | ||
generate a new report after the data provider submits new data. | ||
Users may address data issues by uploading new, corrected, or missing data. | ||
The metrics computed in this report will remain unchanged unless a user elects | ||
to recompute the report. Alternatively, a user may generate a new report. | ||
</p> |
35 changes: 18 additions & 17 deletions
35
solarforecastarbiter/reports/templates/data_resampling_preamble
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
<p>The Solar Forecast Arbiter's preprocessing applies the following | ||
<p> | ||
The Solar Forecast Arbiter's preprocessing algorithms applied the following | ||
operations to the data: | ||
|
||
</p> | ||
<ol> | ||
<li>Apply the <a href="#data-validation">data validation tests</a> and exclude | ||
the matched data.</li> | ||
<li>For deterministic forecasts with interval lengths that are longer than | ||
the observations interval lengths, | ||
<ol> | ||
<li>Resample the observations to the forecast using the mean.</li> | ||
<li>Remove resampled observation data if more than 10% of the | ||
points in the resampled interval are missing. For example, if 1-minute | ||
observations are resampled to 60-minute means, then a 60 minute period must | ||
have no more than 6 minutes of missing data.</li> | ||
</ol> | ||
<li>Remove times that do not exist in both the resampled observations, | ||
the forecasts, and, if selected, the reference forecasts. | ||
</li> | ||
<li>Drop or fill missing forecast and reference forecast data points according to the report's forecast fill method selection.</li> | ||
<li>Apply the <a href="#data-validation-resampling">data validation tests</a> specified with <em>discard before resample</em> == True to the observation data and discard | ||
the matched data. This procedure is typically used to exclude erroneous observation data. | ||
</li> | ||
<li>Resample the observation data to the forecast interval length using the mean.</li> | ||
<li>Apply the <a href="#data-validation-resampling">data validation tests</a> specified with <em>discard before resample</em> == False to the observation data and discard | ||
the resampled intervals where the percentage of matched points exceeds <em>resample threshold percentage</em>. | ||
This procedure is typically used to exclude intervals that contain valid but undesirable data, such as the hours of sunrise/sunset or hours that are mostly clear. | ||
This step also discards intervals where the percentage of points discarded before resampling exceeds the <em>resample threshold percentage</em>. | ||
</li> | ||
<li>Align the time series of the resampled, filtered observations, the forecast, and, if selected, the reference forecast. | ||
Discard intervals that do not exist in all time series.</li> | ||
</ol> | ||
The table below summarizes the data preprocessing results. | ||
<p> | ||
The <a href="#data-preprocessing-results-table">table of data preprocessing results</a> | ||
summarizes the number of points matched by each of these operations. | ||
</p> |
15 changes: 9 additions & 6 deletions
15
solarforecastarbiter/reports/templates/data_validation_post_text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
<p>These intervals were removed from the raw time series before | ||
resampling and realignment. For more details on the data validation | ||
results for each observation, please see the observation page linked | ||
to in the table above.</p> | ||
<p>Data providers may elect to reupload data to | ||
<p> | ||
For more details on the data validation results for each observation, | ||
please see the observation pages linked to in the | ||
<a href="#observations-and-forecasts">observations and forecasts table</a>. | ||
</p> | ||
<p> | ||
Data providers may elect to reupload data to | ||
fix issues identified by the validation toolkit. The metrics computed | ||
in this report will remain unchanged, however, a user may generate a | ||
new report after the data provider submits new data. The online | ||
version of this report verifies that the data was not modified after | ||
the metrics were computed.</p> | ||
the metrics were computed. | ||
</p> |
Oops, something went wrong.