ASM #428 Updated SATPRE file header to correct reftime.
Change-Id: I1ed89cd9010af085a0e3a9725af182c0cd1b5204 Former-commit-id:d0f4df4ad9
[formerlyd0f4df4ad9
[formerly e51a12ae977528eb85d2c59505ac5be92d945cfe]] Former-commit-id:1aa970164f
Former-commit-id:9c9ddaba6a
This commit is contained in:
parent
b5c93d06e6
commit
47e1a3627f
2 changed files with 2 additions and 8 deletions
|
@ -81,6 +81,7 @@ import com.raytheon.viz.mpe.ui.rsc.MPEFieldResourceData.MPEFieldFrame;
|
|||
* Sep 17, 2013 16563 snaples Updated createFrameImage to handle trace precip
|
||||
* properly when mapping to screen.
|
||||
* Mar 10, 2014 17059 snaples Added case for Prism data for unit conversion correction.
|
||||
* Mar 19, 2014 17109 snaples Removed code that added an hour to SATPRE, the base file reference time has been adjusted.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -326,12 +327,6 @@ public class MPEFieldResource extends
|
|||
timeToLoad.setTime(currTime.getRefTime());
|
||||
timeToLoad.add(Calendar.HOUR, -i);
|
||||
|
||||
if (displayField == DisplayFieldData.satPre) {
|
||||
// SATPRE MPE file time stamp is the start time of the hour
|
||||
// i.e. a 12z -13z product has a time stamp of 12z.
|
||||
timeToLoad.add(Calendar.HOUR, -1);
|
||||
}
|
||||
|
||||
XmrgFile file = MPEDisplayManager.getXmrgFile(displayField,
|
||||
timeToLoad.getTime());
|
||||
try {
|
||||
|
|
|
@ -57,6 +57,7 @@ import com.raytheon.uf.edex.database.plugin.PluginFactory;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Sep 8, 2009 snaples Initial creation
|
||||
* Feb 15, 2013 1638 mschenke Moved DataURINotificationMessage to uf.common.dataplugin
|
||||
* Mar 19, 2014 17109 snaples Removed code that adds 1 hour to grid reftime, was not needed.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -229,8 +230,6 @@ public class SatPrecipFileBuilder {
|
|||
// this get the reftime of the record
|
||||
grReftime = gr.getDataTime().getRefTime();
|
||||
long millis = grReftime.getTime();
|
||||
// convert 1 hour to milliseconds to add to time.
|
||||
millis += 60 * 60 * 1000;
|
||||
grReftime.setTime(millis);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue