Skip to content
Snippets Groups Projects
Commit c26f5d7c authored by Bruce Flynn's avatar Bruce Flynn
Browse files

rename to viirs_scan_bytes

parent 9536b0d5
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
"""
Write a NetCDF file containing size in bytes of VIIRS scans.
"""
import os
import numpy as np
import netCDF4
......@@ -49,7 +52,7 @@ def read_data_from_rdr(filepath):
if __name__ == '__main__':
import argparse
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('viirs_rdr')
args = parser.parse_args()
destpath = os.path.basename(args.viirs_rdr) + '.size.nc'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment