|
| parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description=, add_help=True) |
|
| nargs |
|
| type |
|
| str |
|
| help |
|
| float |
|
| default |
|
| args = parser.parse_args('-ifile iss.2013067.0308.063527.L0.12933.20130308205743.hico_pos_vel_quat.csv -efile /home/rhealy/ocsswn/run/var/hico/finals.data -lfile /home/rhealy/ocsswn/run/var/modis/leapsec.dat -boresight -0.9957 0.0268 -0.0128'.split()) |
|
string | ifile = ''.join(args.ifile) |
|
string | earth_orient_file = ''.join(args.efile) |
|
string | leap_sec_file = ''.join(args.lfile) |
|
| boresight = args.boresight |
|
| rootgrp = Dataset('test_hico.nc','w') |
|
| navigation = rootgrp.createGroup("navigation") |
|
| senz = navigation.createVariable('sensor_zenith','f4',('scan_lines','samples',)) |
|
| solz = navigation.createVariable('solar_zenith','f4',('scan_lines','samples',)) |
|
| sena = navigation.createVariable('sensor_azimuth','f4',('scan_lines','samples',)) |
|
| sola = navigation.createVariable('solar_azimuth','f4',('scan_lines','samples',)) |
|
| lon = navigation.createVariable('longitude','f4',('scan_lines','samples',)) |
|
| lat = navigation.createVariable('latitude','f4',('scan_lines','samples',)) |
|
| units |
|
| valid_min |
|
| valid_max |
|
| long_name |
|
| metadata = rootgrp.createGroup("metadata") |
|
| hico = metadata.createGroup("HICO") |
|
| calibration = hico.createGroup("Calibration") |
|