title: Python Time 'Lag' Effect in URL
body: <p>My server's timezone and the data that I have fetched via the following span two consecutive hours. Once the hour changes, the hour that python syntax is getting is not found on the server that is providing the content, since the server jumps to the next hour while the data is not processed yet. In case you are wondering the data in question is weather model data in .grib2 format.</p>
  
  <p>I have the following code now:</p>
  
  <pre><code># /usr/bin/python 
  import time 
  # Save your URL to a variable: 
  url = time.strftime("http://nomads.ncep.noaa.gov/pub/data/nccf/nonoperational/com/hrrr/para/hrrr.%Y%m%d/hrrr.t%Hz.wrfnatf04.grib2") 
  # Save that string to a file: 
  with open('hrrr/hrrrf4.txt', 'a') as f: f.write(url+'\n')
  </code></pre>
  
  <p>Is there a way to 'lag' the &amp;H variable in the above URL one hour, or another method that will delay it to ensure a smooth data processing for all desired hours?</p>
  
  <p>Thank you for taking the time to answer my question. </p>