Commit 90865fc4 authored by Carl Schreck's avatar Carl Schreck
Browse files

Switched dates

parent e308ef2a
cjs @ 07297550
Subproject commit 0729755082d7c9a853796cd17f6ab5e15b67a675
......@@ -8,7 +8,7 @@ __license__ = "BSD-3.0"
import datetime
import os
import tarfile
import cjs # '~carl/lib-py'
from cjs import cjs # '~carl/lib-py'
cjs.tstamp('Here we go!')
# These are some parameters that could be useful to have up top
......
......@@ -12,11 +12,12 @@ import shutil
import urllib.request
from urllib.error import URLError
import tarfile
import cjs # '~carl/lib-py'
from cjs import cjs # '~carl/lib-py'
cjs.tstamp('Here we go!')
# These are some parameters that could be useful to have up top
day = datetime.datetime.now() - datetime.timedelta(3)
# day = datetime.datetime.now() - datetime.timedelta(3)
day = datetime.datetime.now()
local_dir = f'{os.getenv("FTP_DIR")}/monitor/sfcplot/{day.strftime("%Y%m/")}'
if not os.path.exists(local_dir):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment