calculating utc dates with yest

2007-11-01
2012-09-03
  • Gerry Creager

    Gerry Creager - 2007-11-01

    I've been using yest (very successfully!) to help create input namelist files to run my weather models all the way up 'til when we start getting ready for the change back from DST to standard time. Is there a way to tell yest to just use UTC instead of the regular date function? I know I want to do a 96 hour forecast, but when I tell yest to calculate 96 hours from "now" in utc, it's still thinking in terms of CDT.

    TIA, Gerry

     
    • Kimball Hawkins

      Kimball Hawkins - 2007-11-02

      NOTE: The "--timezone" option was added in Release 2.7.0.4 (was the primary reason for the release). If you download and install the latest version, you'll have the option.

      Kimball

       
    • Kimball Hawkins

      Kimball Hawkins - 2007-11-01

      You can specify the output timezone with the "--tz" (or --timezone) option:
      yest --tz=UTC +:96

      Is this what you were talking about?

      Kimball

       
      • Gerry Creager

        Gerry Creager - 2007-11-01

        Excellent! Thanks! I missed that... That'll help my scripting a bunch, since I can edit what I'd used successfully, rather than re-craft the time functions!

        gerry

         
    • Kimball Hawkins

      Kimball Hawkins - 2007-11-01

      Great! I'm glad you're using yest.

      Kimball

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks