an>Expand source code</span>
</summary>
<pre><code class="python">@staticmethod
def get_new_ncep_metfiles(date):
    curr = &#34;RP%s%02d.gbl&#34; % (date.year, date.month)
    if not date.month == 12:
        next = &#34;RP%s%02d.gbl&#34; % (date.year, date.month + 1)
    else:
        next = &#34;RP%s%02d.gbl&#34; % (date.year + 1, date.month - 11)

    if not date.month == 1:
        prev = &#34;RP%s%02d.gbl&#34; % (date.year, date.month - 1)
    else:
        prev = &#34;RP%s%02d.gbl&#34; % (date.year -