tjturnage / cloud-radar-server

Radar server in the cloud for NOAA computing project
MIT License
2 stars 2 forks source link

Define and use a time shift to consistently alter placefiles and graphics #14

Closed tjturnage closed 5 months ago

tjturnage commented 6 months ago

The RadarSimulator class in app.py includes a "make_simulation_times" method that defines:

event_start_time -- the start time of the event that is being used for the simulation. This is based on user inputs. playback_start_time -- 2 hours prior to the actual current time. simulation_time_shift -- the difference between event/playback start times used to time-shift placefiles and graphics

tjturnage commented 5 months ago

Time shift has been defined as the difference between current time minus 2 hours minus actual event start time. This is shared with other methods to apply a consistent time shift across the board that starts the simulation playback ~2 hours prior to the current actual time.