Verified Commit 3667a2ca authored by Marco Kurzynski's avatar Marco Kurzynski
Browse files

output_path now uses input directory

parent f5bef8a2
......@@ -519,7 +519,7 @@ def main(directory, output_dir=None, record_range=None, excluded_records=None, s
if output_dir is not None:
output_path = os.path.realpath(output_dir)
else:
output_path = os.getcwd()
output_path = directory
if not os.path.isdir(output_path):
logger.info('Creating directory: {0}'.format(output_path))
......@@ -634,16 +634,16 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser(
description='Generate cal val plots for IBB and NBB. The first record is record 1\n\n' \
'environment variables:\n' \
f"{' IDNBB' : <24}(defaults to 'S')\n" \
f"{' IDIBB' : <24}(defaults to 'T')\n" \
f"{' NBEMFL' : <24}(defaults to 'nbb-emis.asc')\n" \
f"{' IBEMFL' : <24}(defaults to 'ibb-emis.asc')\n" \
f"{' CAVFAC2' : <24}(defaults to '39.0')\n" \
f"{' WTNB' : <24}(defaults to '0.811 0.189 0.0')\n" \
f"{' TOSNB' : <24}(defaults to '0.0 0.0 0.0')\n" \
f"{' WTIB' : <24}(defaults to '0.811 0.0945 0.0945')\n" \
f"{' TOSIB' : <24}(defaults to '0.0 0.0 0.0')\n" \
f"{' NRNGS' : <24}(defaults to '1')\n\n" \
f"{' IDNBB' : <24}NBB Scene ID (defaults to 'S')\n" \
f"{' IDIBB' : <24}IBB Scene ID (defaults to 'T')\n" \
f"{' NBEMFL' : <24}NBB Emissivity File (defaults to 'nbb-emis.asc')\n" \
f"{' IBEMFL' : <24}IBB Emissivity File (defaults to 'ibb-emis.asc')\n" \
f"{' CAVFAC2' : <24}BB Cavity Factor (defaults to '39.0')\n" \
f"{' WTNB' : <24}NBB Apex, Bottom and Top weightings (defaults to '0.811 0.189 0.0')\n" \
f"{' TOSNB' : <24}NBB Apex, Bottom and Top offsets (defaults to '0.0 0.0 0.0')\n" \
f"{' WTIB' : <24}IBB Apex, Bottom and Top weightings (defaults to '0.811 0.0945 0.0945')\n" \
f"{' TOSIB' : <24}IBB Apex, Bottom and Top offsets (defaults to '0.0 0.0 0.0')\n" \
f"{' NRNGS' : <24}Read number of ranges (defaults to '1')\n\n" \
f"{' C1_MLTFILE' : <24}MLT output filename for channel 1 (defaults to 'bbcal_YYMMDD.mlt1')\n" \
f"{' C1_LOGFILE' : <24}Log output filename for channel 1 (defaults to 'bbcal_YYMMDD.lo1')\n" \
f"{' C1_SUMFILE' : <24}Sum output filename for channel 1 (defaults to 'bbcal_YYMMDD.sum1')\n" \
......
Markdown is supported
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