def fc_file(fcout, step): fc = {} fc['date'] = fcout['date'] keys = [fcout['exp'], fcout['type'], fcout['date'], ewok.jediformat(step)] fname = '.'.join(keys) fc['filename'] = os.path.join(fcout['datadir'], fname) return fc
def r2d2_obsfile(conf, date): sdate = ewok.jediformat(date) r2d2keys = ['fv3jedi', conf['source'], sdate, 'nc'] r2d2file = '.'.join(r2d2keys) return r2d2file
def r2d2_anfile(conf, date): sdate = ewok.jediformat(date) r2d2keys = [conf['exp'], 'qg', conf['type'], sdate, 'nc'] r2d2file = '.'.join(r2d2keys) return r2d2file
def r2d2_obsfile(conf, date): sdate = ewok.jediformat(date) r2d2keys = [conf['source'], 'qg', sdate, conf['obs type'], 'obs', 'nc'] r2d2file = '.'.join(r2d2keys) return r2d2file