<commit_before># Set GIS Satellite data! :)

# 15 after scan produced at 45 after
# 45 after scan produced at 15 after

import mx.DateTime, sys

#ftp://gp16.ssd.nesdis.noaa.gov/pub/GIS/GOESwest/GoesWest1V3501745.tif

now = mx.DateTime.gmt()

cycle = int(sys.argv[1])

if cycle == 15:
    now += mx.DateTime.RelativeDateTime(minute=0)
else:
    # was minute=30
    now += mx.DateTime.RelativeDateTime(minute=0,hours=-1)

print now.strftime( sys.argv[2] )<commit_msg>improve timestamp logic for what we download<commit_after>'''
Fuzzy math to get the right timestamp

if 15, we want 00
if 45, we want 30
'''
import datetime
import sys

gmt = datetime.datetime.utcnow()

cycle = int(sys.argv[1])

if cycle == 15:
    gmt = gmt.replace(minute=0)
else:
    gmt -= datetime.timedelta(hours=1)
    gmt = gmt.replace(minute=30)

print gmt.strftime( sys.argv[2] )
{'fraction_non_alphanumeric': 0.13114754098360656, 'fraction_numerical': 0.05035128805620609, 'mean_word_length': 4.059171597633136, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6470920', 'n_tokens_mistral': 350, 'n_tokens_neox': 315, 'n_words': 85}